Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Re: see higher CPU usage after increase SGA
Buffer get -
Oracle has to acquire the cache buffers chains latch
Scan a buffer chain
Generate a pin for a buffer header
Release the latch
Use the buffer
Acquire the latch
Detach and release the pin
Drop the latch
Buffer is pinned count: -
Oracle has previously pinned a buffer, and not released it immediately. A pin may be held for the duration of a database call. Oracle can revisit the buffer by traversing the pin without acquiring the latch, because the presence of the pin ensures that no other session could have acquired that buffer in a conflicting fashion.
I recall an example from a couple of years ago when Mark Bobak reported 10,000 gets apparently taking a couple of CPU minutes. In fact there were also a few million 'buffer is pinned' to be accounted for as well.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated May 1st
: what is the difference between a buffer get and a buffer is pinned count?
:
:
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Wed Jun 09 2004 - 11:00:19 CDT
![]() |
![]() |