oracle数据库表空间占用情况查询
SELECT
A.tablespace_name 表空间,
A.file_name 物理文件名,
A.bytes / 1024 / 1024 / 1024"当前大小(G)",
(A.bytes - b.free) / 1024 / 1024 / 1024"已使用(G)",
round(((A.bytes - b.free) / (A.bytes)) * 100,2) "使用率(%)",
case A.autoextensible when 'YES' then '是' else '否' end 是否自增,.
原创
2020-12-03 11:07:23 ·
237 阅读 ·
0 评论