摘要:
查看Oracle数据库表空间大小(空闲、已使用),是否要增加表空间的数据文件1、查看表空间已经使用的百分比Sql代码select a.tablespace_name,a.bytes/1024/1024 "Sum MB",(a.bytes-b.bytes)/1024/1024 "used MB",b.bytes/1024/1024 "free MB",round(((a.bytes-b.bytes)/a.bytes)*100,2) "percent_used" from (select tablespace_name 阅读全文