Oracle表空间使用率查询
来源:互联网 发布:淘宝优惠券代理群 编辑:程序博客网 时间:2024/05/04 16:37
SELECT f.tablespace_name
, a.total "total (M)"
, f.free "free (M)"
, ROUND ( (f.free / a.total) * 100) "% Free"
FROM ( SELECT tablespace_name, SUM (bytes / (1024 * 1024)) total
FROM dba_data_files
GROUP BY tablespace_name) a
, ( SELECT tablespace_name, ROUND (SUM (bytes / (1024 * 1024))) free
FROM dba_free_space
GROUP BY tablespace_name) f
WHERE a.tablespace_name = f.tablespace_name(+)
ORDER BY "% Free";
, a.total "total (M)"
, f.free "free (M)"
, ROUND ( (f.free / a.total) * 100) "% Free"
FROM ( SELECT tablespace_name, SUM (bytes / (1024 * 1024)) total
FROM dba_data_files
GROUP BY tablespace_name) a
, ( SELECT tablespace_name, ROUND (SUM (bytes / (1024 * 1024))) free
FROM dba_free_space
GROUP BY tablespace_name) f
WHERE a.tablespace_name = f.tablespace_name(+)
ORDER BY "% Free";
阅读全文
0 0
- oracle 表空间使用率查询
- 查询Oracle表空间使用率
- oracle表空间使用率查询
- oracle表空间使用率查询
- oracle 表空间使用率查询
- Oracle表空间使用率查询
- 查询ORACLE表空间大小及使用率
- oracle表空间使用率统计查询
- oracle表空间使用率统计查询
- oracle表空间使用率统计查询
- oracle表空间使用率统计查询
- oracle表空间使用率统计查询
- oracle表空间使用率统计查询
- oracle表空间使用率统计查询
- oracle表空间使用率统计查询
- 表空间使用率查询
- 查询表空间使用率
- 查询表空间使用率
- 138.子数组之和
- lintcode(477)被围绕的区域
- 【C++】Huffman树的实现
- 框架使用类:静态函数、类名+对象句柄
- 记忆化搜索之二:集合上的动态规划,最优配对问题
- Oracle表空间使用率查询
- 归并排序
- yarn初识
- 【51Nod】1305 Pairwise Sum and Divide
- 类与类之间的关系
- RSA例子
- 在二叉查找树中插入节点
- 173.n-1webview的使用字体切换
- 异步Lambda表达式问题的探索