select tablespace_name,sum(bytes)/1024/1024/1024 GB
from dba_data_files group by tablespace_name
union all
select tablespace_name,sum(bytes)/1024/1024/1024 GB
from dba_temp_files group by tablespace_name order by GB;
FLOW_1 0.00982666015625
INDEX 0.01953125
CRHK_INDEX 0.09765625
APP_TEMP 0.390625
SYSAUX 1.595458984375
CRHK_DATA 3.41796875
USERS 3.43243408203125
UNDOTBS1 3.603515625
UNDOTBS2 4.8828125
TEMP 16.1943359375
SYSTEM 33.203125
我的环境,可以看到 system比较庞大,正在处理中:-)
select file_name,bytes/1024/1024 from dba_data_files
where tablespace_name like 'SYSTEM';
+U04/oradata/crprod/system.dbf 17100
+U03/oradata/crprod/system1.dbf 16900
这里以 SYSTEM为例子
主要参考http://www.eygle.com/archives/2005/11/
没有评论:
发表评论