Size of the Database Buffer Cache (82)
Oracle supports multiple block sizes in a database. The standard block size is used for
the SYSTEM tablespace. You specify the standard block size by setting the initialization
parameter DB_BLOCK_SIZE. Legitimate values are from 2K to 32K.
Optionally, you can also set the size for two additional buffer pools, KEEP and
RECYCLE, by setting DB_KEEP_CACHE_SIZE and DB_RECYCLE_CACHE_SIZE. These
three parameters are independent of one another.
The cache has a limited size, so not all the data on disk can fit in the cache. When the
cache is full, subsequent cache misses cause Oracle to write dirty data already in the
cache to disk to make room for the new data. (If a buffer is not dirty, it does not need to
be written to disk before a new block can be read into the buffer.) Subsequent access to
any data that was written to disk results in additional cache misses.
The size of the cache affects the likelihood that a request for data results in a cache hit.
If the cache is large, it is more likely to contain the data that is requested. Increasing
the size of a cache increases the percentage of data requests that result in cache hits.
You can change the size of the buffer cache while the instance is running, without
having to shut down the database. Do this with the ALTER SYSTEM statement.
Use the fixed view V$BUFFER_POOL to track the sizes of the different cache
components and any pending resize operations.
Oracle支援多個塊值 ,標準塊大小由DB_BLOCK_SIZE指定 , 合法的值從2k至32K.
DB_KEEP_CACHE_SIZE 指定KEEP池大小 , DB_RECYCLE_CACHE_SIZE指定RECYCLE池大小
增大cache的大小, 增加了請求資料的cache命中率 , 可以使用alter system來
動態改變cache的大小, v$buffer_pool列出了cache元件的大小等資訊。[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-978185/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Mysql Key Buffer SizeMySql
- tf.data.Dataset.shuffle(buffer_size)中buffer_size的理解
- IO之核心buffer----"buffer cache"
- Oracle Cache Buffer ChainsOracleAI
- 33、buffer_cache_3(redo的產生、LRBA、buffer cache裡的等待事件)事件
- Buffer Cache以及buffer busy waits/gc相關事件AIGC事件
- 【BUFFER】Oracle buffer cache之 latch 學習記錄Oracle
- 【Cache】將常用的“小表”快取到Buffer Cache快取
- Linux Buffer/Cache 的區別Linux
- buffer與cache的區別
- MySQL innodb_buffer_pool_size 變數MySql變數
- 清理buffer/cache/swap的方法梳理
- PostgreSQL DBA(89) - Linux(Buffer vs Cache)SQLLinux
- Linux記憶體、Swap、Cache、BufferLinux記憶體
- ubuntu 命令列更改innodb_buffer_pool_sizeUbuntu命令列
- Cache 和 Buffer 的區別在哪裡?
- Cache 和 Buffer 有什麼區別?
- influxdb報錯:cache-max-memory-size exceededUX
- buffer cache深度分析及效能調整(五)
- buffer cache深度分析及效能調整(四)
- buffer cache深度分析及效能調整(六)
- 最佳化mysql之key_buffer_size設定MySql
- Linux工具效能調優系列二:buffer和cacheLinux
- Linux如何手動釋放Swap、Buffer和CacheLinux
- JDBC/MYSQL問題 : Unknown system variable 'query_cache_size'JDBCMySql
- MySQL服務端innodb_buffer_pool_size配置引數MySql服務端
- [20231023]備庫與alter system flush buffer_cache.txt
- 手動釋放Linux上的Swap、Buffer和CacheLinux
- Cache和Buffer都是快取,有什麼區別?Linux快取Linux
- Sort_Buffer_Size 設定對伺服器效能的影響伺服器
- Out of sort memory, consider increasing server sort buffer size的兩種情況IDEServer
- MySQL:MGR修改max_binlog_cache_size引數導致異常MySql
- Nginx的client_header_buffer_size和large_client_header_buffers學習NginxclientHeader
- 調整緩衝區快取記憶體(Buffer Cache)的效能(轉)快取記憶體
- 計算機buffer和cache的區別?linux運維學習知識計算機Linux運維
- 技術分享 | 調整 max-write-buffer-size 優化 pika 效能10倍的案例優化
- 效能測試必備知識(11)- 怎麼理解記憶體中的Buffer和Cache?記憶體
- 《HelloGitHub》第 82 期Github
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST