oracle

推荐列表 站点导航

当前位置:首页 > 数据库 > oracle >

oracle查看表空间已分配和未分配空间的语句分享

来源:网络整理  作者:网络  发布时间:2020-12-09 02:47
本文给大家分享一个oracle查看表空间已分配和未分配空间的语句,大家参考使用吧...

from dba_free_space

复制代码 代码如下:


(select round(sum(bytes)/1024/1024) mbytes_alloc,tablespace_name

group by tablespace_name) a,

selectb.tablespace_name,mbytes_alloc,mbytes_free

and b.tablespace_name='USERS'

where a.tablespace_name(+)=b.tablespace_name

from(select round(sum(bytes)/1024/1024) mbytes_free,tablespace_name

/
 

group by tablespace_name) b

from dba_data_files

相关热词: oracle

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://www.juheyunku.com/sql/oracle/1642.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

oracle查看表空间已分配和未分配空间的语句分享

2020-12-09 编辑:网络

from dba_free_space

复制代码 代码如下:


(select round(sum(bytes)/1024/1024) mbytes_alloc,tablespace_name

group by tablespace_name) a,

selectb.tablespace_name,mbytes_alloc,mbytes_free

and b.tablespace_name='USERS'

where a.tablespace_name(+)=b.tablespace_name

from(select round(sum(bytes)/1024/1024) mbytes_free,tablespace_name

/
 

group by tablespace_name) b

from dba_data_files

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://www.juheyunku.com/sql/oracle/1642.shtml

相关文章

风云图片

推荐阅读

返回oracle频道首页