read by other session是在Oracle Database 10g中,引入的一個新事件,此前版本,這個事件在Buffer Busy Wait中記錄。 根據(jù)文檔,這個事件的解釋如下: This event occurs when a session requests a buffer that is currently being read into the buffer cache 這個等待也就是說明數(shù)據(jù)庫存在讀的競爭,所以該等待事件通常和db file sequential read或db file scattered read 同時出現(xiàn)。 以下是一個客戶生產(chǎn)數(shù)據(jù)庫中的Top 5 Timed Events: Top 5 Timed Events Avg %Total log file sync 可通過如下SQL語句查看競爭的數(shù)據(jù)塊:SELECT p1 “file#”,p2 “block#”,p3 “class#” FROM v$session_wait WHERE event = 'read by other session'; |
|
來自: wghbeyond > 《oracle等待事件》