查看数据库中指定用户下每个表占的实际空间大小

SELECT OWNER,SEGMENT_NAME,SUM(BYTES/1024/1024/1024)||'G' S FROM DBA_SEGMENTS WHERE OWNER = 'USERNAME' GROUP BY OWNER,SEGMENT_NAME ORDER BY S DESC;

posted on 2016-11-09 16:44  海子呢  阅读(297)  评论(0编辑  收藏  举报