cell single block physical read等待事件

kakaxi9521發表於2021-07-08

cell single block physical read等待事件

This is an Exadata wait event similar to db file sequential read and normally occurs during index lookups when the block is not in memory and must be read from the Exadata storage cell disks. These are generally considered a ‘good’ read unless the index being used is not very efficient. In this case the query will read more blocks than necessary and possibly age out other good blocks from the Exadata smart cache.


cell single block physical read 等待事件是Exadata中的等待事件,類似於 db file sequential read。 常常在需要的索引資料塊不在記憶體中,必須到Exadata的磁碟中獲取的情況。  這種通常是可以認為是“好的”讀取, 除非使用的很差的索引。 在使用差索引的情況時,查詢操作會讀取比正常情況多的資料塊,並將好的資料塊從Exadata 的快取中擠出。


Solutions

Review the ‘Cell Single Block Physical Read Latency’ metric (in Ignite Resources view on the Exadata tab) to determine latencies. If the time to read data is above 2ms, that could indicate configuration issues with the Exadata storage cell.


If there are excessive waits on this event for a specific SQL statement, tune the statement so that it reads fewer blocks. If the top objects listed in the Ignite Object tab are indexes, determine if there is a more efficient index that could be used. If the top objects are tables, Oracle is going back to the table to get more data after the index lookup completes. That may indicate criteria in the WHERE clause that is not using a column in this index. Adding that column to the index could help performance.


DML statements like INSERT, UPDATE, DELETE, etc can also wait on this event because they are being forced to update inefficient indexes. Review the Ignite Object tab to determine which indexes are being waited for. If they are inefficient, Oracle is most likely not utilizing them in other SQL statements, so consider dropping them.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21374452/viewspace-2780304/,如需轉載,請註明出處,否則將追究法律責任。

相關文章