日期:2014-05-16  浏览次数:20425 次

ORACLE中查看表空间大小和未使用表空间大小
1.查看所有表空间大小:

  Sql代码

  select tablespace_name,sum(bytes)/1024/1024 from dba_data_files group by tablespace_name;

  2.已经使用的表空间大小:

  Sql代码

  select tablespace_name,sum(bytes)/1024/1024 from dba_free_space group by tablespace_name;