Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Query to find the table with most physica i/o

$
0
0
select table_name,total_phys_io
from (select owner ||'.'|| object_name as table_name,
sum(value) as total_phys_io from v$segment_statistics
where owner!='SYS' and object_type='TABLE'
and statistic_name in ('physica l reads','physical reads direct', 'physical writes','physical writes direct')
Group by owner ||'.'|| object_name
Order by total_phys_io desc ) where rownum <=10;

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>