btree percentages at 95%
Posted in 1999
Topics: Performance & Tuning
Hi all....
We have been analyzing the performance of a particular job and I was
wondering if anyone has insight into the following question.
The analysis shows that the buffers have 96% btree data and only 3%
data. Might this be a symptom of the index bug which shows up in systems
that have been migrated from 7.24 to 7.31?
The "onstat -p" shows most of my read-aheads occurring for ixda-RA and
not idx-RA.
Also, the Profile shows that the read/write buffer cache hit ratio is
good (99%) so the page vs buffer access are low.
Profile
dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
63481 91053 114009191 99.94 2473 25449 465944 99.47
isamtot open start read write rewrite delete commit
rollbk
111216550 330470 747181 107676672 135508 18757 1536
1973 0
gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
0 0 0 0 0 0 0
ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
0 0 0 3338.00 98.54 0 0
bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress seqscans
21775 0 39171673 0 0 0 3606 25690
ixda-RA idx-RA da-RA RA-pgsused lchwaits
40287 0 4299 44505 1034787
The Buffer Percentages show:
Data 3.12
Btree 96.75
Other 0.13
While you could be encountering a bug, key-only scans on Indexes could also
be the cause of your "onstat -P" values. Your Index Read-Ahead values seem
to support the latter (which, of course, is not necessarily a bad thing).
You could explain the important queries of your batch process to get a
better understanding of what's happening.
Rudy
Doug McAllister wrote:
> Hi all....
>
> We have been analyzing the performance of a particular job and I was
> wondering if anyone has insight into the following question.
> ....
>
> The Buffer Percentages show:
>
> Data 3.12
> Btree 96.75
> Other 0.13
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
You indeed have been bitten by the bug Dianne talks about, but if you upgrade
to 7.31.UC4, be prepared to set the environment variable "LRUAGE=1" to
complete the fix. In addition, a new bug is introduced in which the engine
will hang if a table is created in sysmaster database at checkpoint time.
According to my sources, 7.31.UC5 should be available any day now.
<p>HTH
<p>Milton J. Vidrine, Jr.
<br>Garden Ridge, Inc.
<p>Doug McAllister wrote:
<blockquote TYPE=CITE>Hi all....
<p>We have been analyzing the performance of a particular job and I was
<br>wondering if anyone has insight into the following question.
<p>The analysis shows that the buffers have 96% btree data and only 3%
<br>data. Might this be a symptom of the index bug which shows up in systems
<br>that have been migrated from 7.24 to 7.31?
<br>The "onstat -p" shows most of my read-aheads occurring for ixda-RA
and
<br>not idx-RA.
<p>Also, the Profile shows that the read/write buffer cache hit ratio is
<br>good (99%) so the page vs buffer access are low.
<br>Profile
<br>dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits %cached
<br>63481 91053 114009191 99.94
2473 25449 465944
99.47
<p>isamtot open start read
write rewrite delete commit
<br>rollbk
<br>111216550 330470 747181 107676672 135508
18757 1536
<br>1973 0
<p>gp_read gp_write gp_rewrt gp_del gp_alloc gp_free
gp_curs
<br>0 0
0 0
0 0
0
<p>ovlock ovuserthread ovbuff usercpu syscpu
numckpts flushes
<br>0 0
0 3338.00 98.54
0 0
<p>bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress
seqscans
<br>21775 0
39171673 0 0
0 3606
25690
<p>ixda-RA idx-RA da-RA RA-pgsused
lchwaits
<br>40287 0
4299 44505 1034787
<p>The Buffer Percentages show:
<p>Data 3.12
<br>Btree 96.75
<br>Other 0.13</blockquote>
</html>
Thanks to all who replied...
Informix tells me that 7.31.uc5 IS now available for some platforms.
Solaris 2.6, however, is not ready yet.
Unfortunately I will have to live with things the way they are now since
we are in a hard code freeze until after the "EVENT" (y2k).
"Milton J. Vidrine, Jr." wrote:
> You indeed have been bitten by the bug Dianne talks about, but if you
> upgrade to 7.31.UC4, be prepared to set the environment variable
> "LRUAGE=1" to complete the fix. In addition, a new bug is introduced
> in which the engine will hang if a table is created in sysmaster
> database at checkpoint time. According to my sources, 7.31.UC5 should
> be available any day now.
>
> HTH
>
> Milton J. Vidrine, Jr.
> Garden Ridge, Inc.
>
> Doug McAllister wrote:
>
>> Hi all....
>>
>> We have been analyzing the performance of a particular job and I was
>>
>> wondering if anyone has insight into the following question.
>>
>> The analysis shows that the buffers have 96% btree data and only 3%
>> data. Might this be a symptom of the index bug which shows up in
>> systems
>> that have been migrated from 7.24 to 7.31?
>> The "onstat -p" shows most of my read-aheads occurring for ixda-RA
>> and
>> not idx-RA.
>>
>> Also, the Profile shows that the read/write buffer cache hit ratio
>> is
>> good (99%) so the page vs buffer access are low.
>> Profile
>> dskreads pagreads bufreads %cached dskwrits pagwrits bufwrits
>> %cached
>> 63481 91053 114009191 99.94 2473 25449 465944 99.47
>>
>> isamtot open start read write rewrite delete
>> commit
>> rollbk
>> 111216550 330470 747181 107676672 135508 18757 1536
>> 1973 0
>>
>> gp_read gp_write gp_rewrt gp_del gp_alloc gp_free gp_curs
>> 0 0 0 0 0 0 0
>>
>> ovlock ovuserthread ovbuff usercpu syscpu numckpts flushes
>> 0 0 0 3338.00 98.54 0 0
>>
>> bufwaits lokwaits lockreqs deadlks dltouts ckpwaits compress
>> seqscans
>> 21775 0 39171673 0 0 0 3606 25690
>>
>> ixda-RA idx-RA da-RA RA-pgsused lchwaits
>> 40287 0 4299 44505 1034787
>>
>> The Buffer Percentages show:
>>
>> Data 3.12
>> Btree 96.75
>> Other 0.13
>