Sunday, November 25, 2007

Important queries on 10g performance

to get breakup of wait
-------------------
select wait_class,time_waited from v$system_wait_class order by time_waited;
pga target allocation
----------
select pga_target_for_estimate "size",
pga_target_factor "factor",
estd_extra_bytes_rw/1000000 "extra Mb r/w",
estd_overalloc_count "over allocations"
from v$pga_target_advice;
db_cache advice
---
select name,size_for_estimate, size_factor, estd_physical_reads from v$db_cache_advice;

No comments: