bsp;a20;
select b.file_id file_ID, b.tablespace_name tablespace_name, b.bytes Bytes, (b.bytes-sum(nvl(a.bytes,0))) used, sum(nvl(a.bytes,0)) free, sum(nvl(a.bytes,0))/(b.bytes)*100 Percent from dba_free_space a,dba_data_files b where a.file_id=b.file_id group by b.tablespace_name,b.file_id,b.bytes order by b.file_id;
文件ID号 表空间名 字节数 已使用 剩余空间 剩余百分比 --------- ------------------------------ --------- --------- --------- ---------- 1 SYSTEM 20971上一页 [1] [2] [3] 下一页
|