Freitag, März 09, 2012

FTS Blocks im Buffer Cache

Bei Charles Hooper habe ich dieser Tage den Hinweis gefunden, dass über FTS gelesene Blocks keineswegs am MRU-Ende der LRU-Liste des Buffer Caches eingeordnet werden (wie das in 8i noch der Fall war), sondern seit mehreren Releases am mid-point der Liste. Die Dokumentation schreibt dazu:
When buffers must be read from disk, the database inserts the buffers into the middle of the LRU list. In this way, hot blocks can remain in the cache so that they do not need to be read from disk again. [...] Blocks read into the database cache as the result of a full scan of a large table are treated differently from other types of reads. The blocks are immediately available for reuse to prevent the scan from effectively cleaning out the buffer cache.
Mal wieder ein Fall, der zeigt, dass die Beschäftigung mit Oracle eine historische Wissenschaft ist, die nicht nur von Zuständen, sondern vor allem auch von Entwicklungen handelt.

Keine Kommentare:

Kommentar veröffentlichen