SELECT t.owner, t.segment_name,SUM(bytes)/1024/1024 From dba_segments t
WHERE t.tablespace_name = 'TBS_DEFAULT'
GROUP BY t.owner,t.segment_name
ORDER BY SUM(bytes) desc;
SELECT t.owner, t.segment_name,SUM(bytes)/1024/1024 From dba_segments t
WHERE t.tablespace_name = 'TBS_DEFAULT'
GROUP BY t.owner,t.segment_name
ORDER BY SUM(bytes) desc;
转载于:https://my.oschina.net/sniperLi/blog/550900