惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
G
Google Developers Blog
D
Docker
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
T
The Blog of Author Tim Ferriss
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
I
InfoQ
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News

博客园 - 东方新秀

Unix系统启动时进程介绍 Oracle定期运行数据 linux下如何用脚本实现自动ftp linux shell 自动处理ftp操作探讨 linux shell 自动处理ftp操作探讨 从Oracle数据库中导出SQL脚本 crontab无法正常运行的原因分析 手工创建Oracle数据库脚本及说明(转载) 利用Crontab实现对Oracle数据库的定时备份(转载) 一个不错了健康知识网 Oracle学习之二(用游标解决数组问题) Oracle学习 国人开发的异构数据库(Java实现的数据库) 2007年7月最受关注的20篇技术文章!(转载本文,请注明出处为CSDN) 英语在线词典 oracle帮助文档 查离有效期至多只有七天的商品的商品 Oracle分页存储过程(转) oracle日期处理
Oracle求求空间使用情况
东方新秀 · 2007-07-07 · via 博客园 - 东方新秀

表空间 空间大小 使用多少空间 剩余多少空间
select ff.s tablespace_name,
       ff.b total,
       (ff.b - fr.b) usage,
       fr.b free,
       round((ff.b - fr.b) / ff.b * 100) || '%' usagep
  from (select tablespace_name s, sum(bytes) / (1024*1024) b
          from dba_data_files
         group by tablespace_name) ff,
       (select tablespace_name s, sum(bytes) / (1024 *1024) b
          from dba_free_space
         group by tablespace_name) fr
 where ff.s = fr.s

posted on 2007-07-07 14:28  东方新秀  阅读(174)  评论(0)    收藏  举报