2016 - 2024

感恩一路有你

汇编语言segment什么意思 如何查看oracle表空间已使用大小Select Segment?

浏览量:1983 时间:2021-03-13 14:08:48 作者:admin

如何查看oracle表空间已使用大小Select Segment?

用如下语句查询:

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,sum(bytes) bytes from dba_data_files group by tablespace_name) a, (select tablespace_name,sum(bytes) bytes,max(bytes) largest from dba_free_space group by tablespace_name) b where a.tablespace_name=b.tablespace_name order by ((a.bytes-b.bytes)/a.bytes) desc

查询结果:https://iknow-pic.cdn.bcebos.com/03087bf40ad162d97039cb3b16dfa9ec8b13cdc6

汇编语言segment什么意思 dseg segment什么意思 segment是什么意思啊

版权声明:本文内容由互联网用户自发贡献,本站不承担相关法律责任.如有侵权/违法内容,本站将立刻删除。