oracle檢查 小表空間

renjixinchina發表於2012-12-31
表控制使用比例:
select a.tablespace_name,
       (sum(a.bytes) / (count(*) * 32 * 1024 * 1024 * 1024))*100
  from dba_data_files a
 group by a.tablespace_name
 order by 2 desc;
 檢查非自增表空間
 select * from dba_data_files a where a.autoextensible<>'YES';

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-751935/,如需轉載,請註明出處,否則將追究法律責任。

相關文章