[Info-Ingres] log writes vs dual log writes

[Info-Ingres] log writes vs dual log writes

Post by Martin Bow » Fri, 24 Oct 2008 18:30:04


his is a multi-part message in MIME format.

Hi All,



We've restarted an installation after a database went inconsistent, the
database was recovered from a checkpoint. The system was restarted OK.



Since then ... without any sign of a problem in the errlog... I'm seeing
a major disparity in the log writes and dual log writes as reported in
logstat.



write complete 1 dual write complete 554524

Status: ONLINE,ECPDONE,JSWITCHDONE

Active Log(s): II_LOG_FILE,II_DUAL_LOG



The complete lack of activity on the primary log since startup is
reinforced by a simple OS check.

flourish.ingres> cd /dbsystem/II/ingres/log/

flourish.ingres> ls -l

total 2001960

-rw------- 1 ingres ingres 2048000000 Oct 14 11:16 ingres_log.l01

flourish.ingres> cd /dbdual/II/ingres/log/

flourish.ingres> ls -l

total 2001960

-rw------- 1 ingres ingres 2048000000 Oct 23 10:18 dual_log.l01



Anyone seen anything like this before?



I'm going to shutdown and rebuild my primary log file and see if that
fixes the problem.



Martin Bowes


<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi All,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>We've restarted an installation after a database went
inconsistent, the database was recovered from a checkpoint. The system was
restarted OK.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Since then … without any sign of a problem in the
errlog… I'm seeing a major disparity in the log writes and dual log
writes as reported in logstat.  <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>
 
 
 

[Info-Ingres] log writes vs dual log writes

Post by Martin Bow » Fri, 24 Oct 2008 19:09:01

his is a multi-part message in MIME format.

It did.



Interestingly, the shutdown was clean and yet cbf still said there were
uncommitted transaction in the log file.



Marty



From: XXXX@XXXXX.COM
[mailto: XXXX@XXXXX.COM ] On Behalf Of
Martin Bowes
Sent: 23 October 2008 10:30
To: XXXX@XXXXX.COM
Subject: [Info-Ingres] log writes vs dual log writes



Hi All,



We've restarted an installation after a database went inconsistent, the
database was recovered from a checkpoint. The system was restarted OK.



Since then ... without any sign of a problem in the errlog... I'm seeing
a major disparity in the log writes and dual log writes as reported in
logstat.



write complete 1 dual write complete 554524

Status: ONLINE,ECPDONE,JSWITCHDONE

Active Log(s): II_LOG_FILE,II_DUAL_LOG



The complete lack of activity on the primary log since startup is
reinforced by a simple OS check.

flourish.ingres> cd /dbsystem/II/ingres/log/

flourish.ingres> ls -l

total 2001960

-rw------- 1 ingres ingres 2048000000 Oct 14 11:16 ingres_log.l01

flourish.ingres> cd /dbdual/II/ingres/log/

flourish.ingres> ls -l

total 2001960

-rw------- 1 ingres ingres 2048000000 Oct 23 10:18 dual_log.l01



Anyone seen anything like this before?



I'm going to shutdown and rebuild my primary log file and see if that
fixes the problem.



Martin Bowes


<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
..MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>It did.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p&