APP NEWS

查看oracle数据库表空间的sql

查看oracle数据库表空间及其空间大小selectt.tablespace_name,round(sum(bytes/(1024*1024)),0)ts_sizefromdba_tablespacest,dba_data_filesdwheret.tablespace_name=d.tablespace_namegroupbyt.tablespace_name;

2015-06-28 00:000 次阅读
查看oracle数据库表空间的sql

  查看oracle数据库表空间及其空间大小

  select t.tablespace_name, round(sum(bytes / (1024 * 1024)), 0) ts_size

  from dba_tablespaces t, dba_data_files d

  where t.tablespace_name = d.tablespace_name

  group by t.tablespace_name;

关键词标签:oracle,数据库

YOU MAY ALSO LIKE

更多应用推荐

浏览应用库