select t.tablespace_name , d.file_name , d.bytes/1024/1024 "Size (MB)" , to_char((e.blocks * 8192) / 1024 / 1024, '999') "Used (MB)" , to_char(nvl(round(e.blocks / d.blocks, 4), 0) * 100, '09.99') || ' %' "pct" , t.segment_space_management , t.extent_management , d.autoextensible from dba_data_files d join ( select file_id, sum(nvl(blocks, 0)) blocks from dba_extents group by file_id ) e on d.file_id = e.file_id join dba_tablespaces t on d.tablespace_name = t.tablespace_name
속도가 좀 느림.
&
'Oracle > Administrator' 카테고리의 다른 글
Directory 관리 (0) | 2012.04.04 |
---|---|
Temporary Tablespace 관리 (0) | 2012.04.04 |
Trigger (0) | 2012.03.30 |
EM Sys 로그인 (0) | 2012.03.29 |
ASM 수동 DB 생성 (1) | 2012.03.29 |