2011年8月13日土曜日

[管理脚本] 数据文件大小

column file_name format a50

select
    tablespace_name,
    file_id,
    file_name,
    round(bytes/1024/1024) "SIZE(M)"
from
    dba_data_files
union all
select
    tablespace_name,
    file_id,
    file_name,
    round(bytes/1024/1024) "SIZE(M)"
from
    dba_temp_files
order by tablespace_name, file_id
/


0 件のコメント:

コメントを投稿