查询Oracle表空间占用情况及表空间操作
1、查询表空间占用情况:
SELECT a.tablespace_name as '表空间名'
,total as '表空间大小'
,free '表空间剩余大小',
,(total - free) '表空间使用大小'
,total / (1024 * 1024 * 1024) '表空间大小(G)'
,free / (1024 * 1024 * 1024) '表空间剩余大小(G)'
,(total - free)
原创
2021-03-08 11:21:52 ·
3597 阅读 ·
0 评论