Question: How do I find the top
tables by size in Oracle? I want to find the ten top
largest tables.
Answer: The following script will
find the top tables by size:
select
*
from (
select
owner,
segment_name,
bytes/1024/1024 meg
from
dba_segments
where
segment_type = 'TABLE'
order by
bytes/1024/1024 desc)
where
rownum <= 10;
Also see my notes on the