检查使用空间大于90%的表空间示例:
select a.tablespace_name,
totalspace,
nvl(freespace, 0) freespace,
(totalspace - nvl(freespace, 0)) used,
((totalspace - nvl(freespace, 0)) / totalspace) * 100 "%USED"
from (select tablespace_name, sum(bytes) / 1048576 totalspace
伊图教程网[www.etoow.com]
http://www.etoow.com/html/2008-04/1207106702.html
from dba_data_files
讲解如何检查使用空间大于90%的表空间
'http://www.etoow.com/html/2008-04/1207106702.html