查看表空間的簡要存儲狀態 無 select b.tablespace_name "表空間名", round(b.all_byte) "總空間(M)",round(b.all_byte-a.free_byte) "已使用(M)",round(a.free_byte) "剩余空間", round((a.free_byte/b.all_byte)*100)||'%' "剩余百分比" from (select table
查看表空間的簡要存儲狀態 <無> $velocityCount-->select b.tablespace_name "表空間名", round(b.all_byte) "總空間(M)", round(b.all_byte-a.free_byte) "已使用(M)", round(a.free_byte) "剩余空間", round((a.free_byte/b.all_byte)*100)||'%' "剩余百分比" from (select tablespace_name,sum(nvl(bytes,0))/1024/1024 free_byte from dba_free_space group by tablespace_name) a, (select tablespace_name,sum(nvl(bytes,0))/1024/1024 all_byte from dba_data_files group by tablespace_name) b where b.tablespace_name = a.tablespace_name(+) order by 1,5;
聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com