select h.tablespace_name tablespace_name,f.autoextensible,
round(sum(nvl(p.bytes_used, 0)) / power(2, 30), 2) used_gb,
round(sum(decode(f.autoextensible, 'YES', f.maxbytes, 'NO', f.bytes)) / power(2, 30), 2) max_gb
from v$temp_space_header h, v$temp_extent_pool p, dba_temp_files f
where p.file_id(+) = h.file_id
and p.tablespace_name(+) = h.tablespace_name
and f.file_id = h.file_id
and f.tablespace_name = h.tablespace_name
group by h.tablespace_name,f.autoextensible
oracle查询临时表空间使用情况
原创
©著作权归作者所有:来自51CTO博客作者苦逼背锅侠的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
oracle 临时表空间使用情况
临时表空间
临时 表空间 -
Oracle查询表空间使用情况
如何查询分析oracle表空间
数据库 查询分析