Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How do determine the origin of a CBC?
This snapshot diff on v$systat event class8 is taken on one second and represent the usual acitvity :
Delta Value Name
----- --------- ------------------------------- Diff : 2 commit cleanouts Diff : 2 commit cleanouts successfully completed Diff : 16395 consistent gets Diff : 8368 consistent gets - examination Diff : 10 db block changes Diff : 7 db block gets Diff : 1 free buffer requested Diff : 1 redo synch time Diff : 2 redo synch writes Diff : 53 shared hash latch upgrades - no wait Diff : 1 switch current to new buffer
I find this DB very instructive. we have lots of touch count and lots of gets, so who is doing the more CBC? I would have liked to know how to distinguish them and address them for the next reboot. This is the problem of the production DBA : you are granted one stop every x months to correct problems, and people expect that all problem analysed will be solved after the re-boot. But even AskTOM acknowleged that it is impossible to forecast the exact metrics of a tunning action in a complex system. So after a reboot, if the problem is still there, but due to another cause, the DBA will somehow be accounted responsible for the relative failure.
bp
From: Riyaj Shamsudeen [mailto:rshamsud_at_jcpenney.com]
Sent: Wednesday, 25 October, 2006 3:57 PM
To: Polarski, Bernard
Cc: oracle-l_at_freelists.org
Subject: Re: How do determine the origin of a CBC?
Bernard
There is no guaranteed way to know whether CBC latch contention is due to genuinely long hash chains or due to just one hot block (without changing any parameter). In either case, latch covering that chain/bucket will have contention.
If I have to guess, then I would say that you should concentrateon the block with higher touch count. If you can reduce contention for that block, then you will be relieving stress on that latch.
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Oct 26 2006 - 01:56:16 CDT
![]() |
![]() |