oracle怎么查看某個用戶下各個表所占的空間?
1 回答

慕標5832272
TA貢獻1966條經(jīng)驗 獲得超4個贊
執(zhí)行如下語句即可: 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;
- 1 回答
- 0 關(guān)注
- 1749 瀏覽
添加回答
舉報
0/150
提交
取消