标题: oracle怎么查看某个用户下各个表所占的空间? [打印本页] 作者: jiawang 时间: 2019-10-14 09:38 标题: oracle怎么查看某个用户下各个表所占的空间? 执行如下语句即可: select OWNER, t.segment_name, t.segment_type, sum(t.bytes / 1024 / 1024) mmm
from dba_segments t
where t.owner = '你要查询的用户'
and t.segment_type='TABLE'
group by OWNER, t.segment_name, t.segment_type
order by mmm desc;