January 2012
Intermediate to advanced
542 pages
11h 28m
English
In this recipe, we will see how to tune the use of Buffer Cache to obtain the best performance.
The following steps will demonstrate how to tune the Buffer Cache:
SYSDBA using SQL*Plus:
CONNECT / AS SYSDBA
SHOW PARAMETER CACHE_SIZE
ALTER SYSTEM SET DB_16K_CACHE_SIZE = 24M;
SELECT NAME, VALUE FROM V$SYSSTAT WHERE NAME LIKE '%buffer%';
DB_CACHE_ is enabled:
SHOW PARAMETER DB_CACHE_ADVICE
SELECT BLOCK_SIZE, SIZE_FOR_ESTIMATE, ...