2013年6月26日 星期三

查詢資料量大的Table

select * from dba_segments s, dba_tables t
where s.owner = t.owner 
and   s.SEGMENT_NAME = t.TABLE_NAME
and   s.OWNER not in  ('SYS', 'SYSTEM')
order by bytes desc;