Data Buffer Cache

 db_cache_advice
rem db cache advise
spool tuningstats10g.lst
set lines 300 pages 4000
column c1 heading 'Cache Size (m)' format 999,999,999,999
column c2 heading 'Buffers' format 999,999,999
column c3 heading 'Estd Phys|Read Factor' format 999.90
column c4 heading 'Estd Phys| Reads' format 999,999,999
select size_for_estimate c1,
buffers_for_estimate c2,
estd_physical_read_factor c3,
estd_physical_reads c4
from v$db_cache_advice
where name = 'DEFAULT' and
block_size = (SELECT value FROM V$PARAMETER WHERE name = 'db_block_size') and
advice_status = 'ON';

spool off



RAC  - gv$ views
rem db cache advise
spool tuningstats10g.lst
set lines 300 pages 4000
column c1 heading 'Cache Size (m)' format 999,999,999,999
column c2 heading 'Buffers' format 999,999,999
column c3 heading 'Estd Phys|Read Factor' format 999.90
column c4 heading 'Estd Phys| Reads' format 999,999,999
select inst_id,size_for_estimate c1,
buffers_for_estimate c2,
estd_physical_read_factor c3,
estd_physical_reads c4
from gv$db_cache_advice
where name = 'DEFAULT' and
block_size = (SELECT value FROM V$PARAMETER WHERE name = 'db_block_size') and
advice_status = 'ON';

spool off

  Sign in   Recent Site Activity   Terms   Report Abuse   Print page  |  Powered by Google Sites