[
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time
----------------------------------------- ------------ ----------- ------ ------
PL/SQL lock timer 3,181 3,336 1049 55.3
CPU time 2,466 40.9
latch: cache buffers chains 701 80 114 1.3
log file parallel write 3,366 64 19 1.1
library cache pin 601 32 53
]
The latch: cache buffers chains Oracle metric are used to protect a buffer list in the buffer cache. These latches are used when searching for, adding, or removing a buffer from the buffer cache. Contention on this latch usually means that there is a block that is greatly contended for (known as a hot block).
Rich Niemiec notes on latch cache buffer chains:
"Latches are like locks on memory that are very quickly activated and released by a process, and they are used to prevent concurrent access to a shared-memory structure.
If the latch is not available, then a latch-free miss is recorded. Most latch problems are related to not using bind variables (library-cache latch), redo-generation issues (redo-allocation latch), buffer-cache contention issues (cache-buffers LRU條east recently used梒hain), and hot blocks in the buffer cache (cache-buffers chain)."
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25816883/viewspace-695187/ ,如需转载,请注明出处,否则将追究法律责任。