标签:name ext type 表空间 acl ora sum space oracl
1. 查某一用户下的表
select SEGMENT_NAME,TABLESPACE_NAME,sum(BYTES/1024/1024)||‘M‘ from USER_extents where SEGMENT_TYPE=‘TABLE‘
group by SEGMENT_NAME,TABLESPACE_NAME
2.查所有的表
select SEGMENT_NAME,TABLESPACE_NAME,sum(BYTES/1024/1024)||‘M‘ from dba_extents where SEGMENT_TYPE=‘TABLE‘
group by SEGMENT_NAME,TABLESPACE_NAME
标签:name ext type 表空间 acl ora sum space oracl
原文地址:https://www.cnblogs.com/gavinYang/p/11199488.html