ORACLE中如何查看表空间
来源:互联网 发布:涉密网络分级保护 编辑:程序博客网 时间:2024/06/09 08:19
select /*+ordered*/c.tablespace_name,round(c.all_bytes / 1024 / 1024 / 1024, 2) 现有空间,round(c.max_bytes / 1024 / 1024 / 1024, 2) 最大空间, round(c.all_bytes / 1024 / 1024 / 1024, 2) - round(b.free_bytes / 1024 / 1024 / 1024, 2) 使用空间, round(b.free_bytes / 1024 / 1024 / 1024, 2) 空闲空间from (select /*+no_merge*/ t.tablespace_name, sum(t.bytes) free_bytesfrom dba_free_space tgroup by tablespace_name) b,(select /*+no_merge*/tablespace_name, sum(t.bytes) all_bytes,sum(case when t.maxbytes >0 then maxbytes else bytes end) max_bytesfrom dba_data_files tgroup by t.tablespace_name) cwhere c.tablespace_name = b.tablespace_name(+)order by c.tablespace_name
0 0
- ORACLE中如何查看表空间
- oracle如何查看表空间
- oracle中如何查看表空间使用状况
- 如何查看oracle所有的表空间
- 如何查看oracle所有的表空间
- 如何扩展和查看Oracle表空间
- 如何查看oracle所有的表空间
- 如何查看oracle所有的表空间
- Oracle 10g 如何查看表空间及剩余空间
- oracle中查看表空间使用情况
- oracle查看表空间
- oracle 查看表空间
- oracle 查看表空间
- Oracle查看表空间
- oracle查看表空间
- oracle 查看表空间
- oracle 表空间查看
- 查看oracle表空间
- 【Android】Android的接口Interface的应用
- 为什么静态成员函数不能是const
- Linux的rc.local自启动服务
- 分解质因数
- LeetCode 8 String to Integer (atoi) (C,C++,Java,Python)
- ORACLE中如何查看表空间
- 趴一趴如何用最简单的方式从html form表单中获取到数据
- 【Deep Learning】Face Detection and Alignment
- AndFix解析——(中)
- Linux 文件打开数(fd)总结
- 判断一个字符串中的字符是否唯一
- java的三种注释
- DEVOPS的支撑服务:K8S容器管理与应用部署
- LINUX : 理解文件系统 实现挂载