ダモンデータベース管理
379 ワード
DM 7クエリー表領域使用
select
t.name tablespace_name,
d.free_size*SF_GET_PAGE_SIZE()/1024/1024
||'M' free_space,
d.total_size*SF_GET_PAGE_SIZE()/1024/1024
||'M' total_space,
d.free_size*100/d.total_size "% FREE"
from
v$tablespace t,
v$datafile d
where
t.id=d.group_id;