The LRU Algorithm and Full Table Scans (81)
When the user process is performing a full table scan, it reads the blocks of the table
into buffers and puts them on the LRU end (instead of the MRU end) of the LRU list.
This is because a fully scanned table usually is needed only briefly, so the blocks
should be moved out quickly to leave more frequently used blocks in the cache.
You can control this default behavior of blocks involved in table scans on a
table-by-table basis. To specify that blocks of the table are to be placed at the MRU end
of the list during a full table scan, use the CACHE clause when creating or altering a
table or cluster. You can specify this behavior for small lookup tables or large static
historical tables to avoid I/O on subsequent accesses of the table.
當使用者進行全表掃描時 ,讀取資料庫至buffer , 並且把他們放在lru末尾 , 以便儘快將這些資料塊
age out, 可以用cache語句將該表存在於MRU .
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-978177/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Tuning Oracle Full-table ScansOracle
- Index Full Scans和Index Fast Full ScansIndexAST
- Oracle學習系列—資料庫最佳化—Full Scans和Fast Full Index ScansOracle資料庫ASTIndex
- Fast Full Index Scans的特點!ASTIndex
- [總結]關於index range scans & INDEX (FAST FULL SCAN)IndexAST
- 收集full table / index scan sqlIndexSQL
- ERROR 1114 (HY000) The table '' is fullError
- MySQL 8.0.25 Bug 報"MY-013132 The table ...is full"MySql
- kernel: ip_conntrack: table full, dropping packet.
- Oracle Exadata的TABLE ACCESS STORAGE FULL執行計劃Oracle
- 【TUNE_ORACLE】列出走了TABLE ACCESS FULL的SQL參考OracleSQL
- mysql 記憶體表The table 'pvlogs' is full問題處理MySql記憶體
- algorithmGo
- (轉)索引掃描還是全表掃描(Index Scan Or Full Table Scan)索引Index
- 轉)索引掃描還是全表掃描(Index Scan Or Full Table Scan)索引Index
- lru
- ORA-31633: unable to create master table "SYSTEM.SYS_EXPORT_FULL_XX"ASTExport
- ERROR 1114 (HY000): The table 'test1' is full 的解決Error
- Kruskal algorithmGo
- Index Full Scan vs Index Fast Full ScanIndexAST
- Index Full Scan 與 Index Fast Full ScanIndexAST
- Expectation Maximization AlgorithmGo
- Branch and Bound AlgorithmGo
- Introduction to AlgorithmGo
- Z-algorithmGo
- 在什麼情況下用index unique scansIndex
- LRU快取快取
- INDEX FULL SCAN和INDEX FAST FULL SCAN區別IndexAST
- index full scan 和 index FAST full scan 區別IndexAST
- Index Full Scan 與 Index Fast Full Scan (Final)IndexAST
- rowid,index,INDEX FULL SCAN,INDEX FAST FULL SCAN|IndexAST
- Algorithm assignment 1Go
- Algorithm in Javascript Bubble SortGoJavaScript
- Algorithm in Javascript Bucket SortGoJavaScript
- Adaboost Algorithm StepGo
- Algorithm演算法Go演算法
- CA Data Classification algorithmGo
- 主主複製的mysql從庫 記憶體表The table 'pvlogs' is full問題處理MySql記憶體