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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle database buffer cacheOracleDatabase
- Database Buffer Cache (79)Database
- Organization of the Database Buffer Cache (80)Database
- database buffer cache之我見Database
- Buffer Cache Size(資料緩衝區)
- buffer cache size的學習筆記筆記
- prepare statement cache size influence databaseDatabase
- How To Size the Database Smart Flash Cache (Doc ID 1317950.1)Database
- Size DatabaseDatabase
- Mysql Key Buffer SizeMySql
- Buffer Cache 原理
- cache buffer chainAI
- tf.data.Dataset.shuffle(buffer_size)中buffer_size的理解
- How To Identify a Hot Block Within The Database Buffer Cache. [ID 163424.1]IDEBloCDatabase
- database size increaseDatabase
- IO之核心buffer----"buffer cache"
- Buffer Cache Hit Ratio
- Oracle Buffer Cache原理Oracle
- CACHE BUFFER CHAINSAI
- DB_BLOCK_SIZE and DB_CACHE_SIZE in OracleBloCOracle
- page cache與buffer cache的關係
- Oracle Cache Buffer ChainsOracleAI
- linux cache and buffer【轉】Linux
- Latch: cache buffer chains (%)AI
- BUFFER CACHE尋找流程
- buffer cache logical structure!Struct
- buffer cache部分原理(LRU)
- oracle buffer cache管理機制_buffer cache dump與lru機制小記Oracle
- 【BUFFER】Oracle buffer cache之 latch 學習記錄Oracle
- buffer與cache的區別
- buffer cache基本知識點
- BUFFER CACHE 基礎知識
- [Oracle Script] Buffer Cache Hit RatioOracle
- 等待模擬-cache buffer chainAI
- Buffer cache的執行原理
- Buffer和Cache的區別
- Buffer 與 Cache 的區別
- Cache Buffer Chain Latch等待事件AI事件