当前位置:网站首页>Oracle view tablespace usage
Oracle view tablespace usage
2022-06-28 08:11:00 【Record】
oracle Check tablespace usage
SELECT Upper(F.TABLESPACE_NAME) " Table space name ",
D.TOT_GROOTTE_MB " Table space size (M)",
D.TOT_GROOTTE_MB - F.TOTAL_BYTES " Used space (M)",
To_char(Round(( D.TOT_GROOTTE_MB - F.TOTAL_BYTES ) / D.TOT_GROOTTE_MB * 100, 2), '990.99')
|| '%' " Use than ",
F.TOTAL_BYTES " Free space (M)",
F.MAX_BYTES " The most massive (M)"
FROM (SELECT TABLESPACE_NAME,
Round(Sum(BYTES) / ( 1024 * 1024 ), 2) TOTAL_BYTES,
Round(Max(BYTES) / ( 1024 * 1024 ), 2) MAX_BYTES
FROM SYS.DBA_FREE_SPACE
GROUP BY TABLESPACE_NAME) F,
(SELECT DD.TABLESPACE_NAME,
Round(Sum(DD.BYTES) / ( 1024 * 1024 ), 2) TOT_GROOTTE_MB
FROM SYS.DBA_DATA_FILES DD
GROUP BY DD.TABLESPACE_NAME) D
WHERE D.TABLESPACE_NAME = F.TABLESPACE_NAME;
边栏推荐
- Cloud native: cloud computing technology is upgraded again to open an era of comprehensive cloud development
- cuda和cudnn和tensorrt的理解
- redis02——一篇终结redis的五种数据类型操作命令(可学习、复习、面试、收藏备用)
- Airflow2.1.1 summary of the pits stepped on in actual combat!!
- 新唐NUC980使用记录:自制开发板(基于NUC980DK61YC)
- 三角变换公式
- 【学习笔记】差分约束
- Update pip to the latest version
- [JS] - [throttling and anti shake function]
- Redis master-slave structure and application scenarios
猜你喜欢

At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions

Prometheus service discovery

sql分析(查询截取分析做sql优化)

SQL analysis (query interception analysis for SQL optimization)

Airflow2.1.1 summary of the pits stepped on in actual combat!!

SLAM中常用的雅克比矩阵J

图像翻译:UVCGAN: UNET VISION TRANSFORMER CYCLE-CONSISTENT GAN FOR UNPAIRED IMAGE-TO-IMAGE TRANSLATION
![[shangpinhui] project notes](/img/aa/043dd16c20348f1f80ca5e9e4ad330.png)
[shangpinhui] project notes

微内核Zephyr获众多厂家支持!
![[JS] - [DFS, BFS application] - learning notes](/img/77/6f8d4ebe1d0b3ba036aea9358de793.png)
[JS] - [DFS, BFS application] - learning notes
随机推荐
Ambari (VIII) --- ambari integrated impala document (valid for personal test)
挖财注册开户靠谱吗?安全吗?
Introduction, compilation, installation and deployment of Doris learning notes
B_ QuRT_ User_ Guide(30)
【学习笔记】模拟
PLSQL installation under Windows
Dataset filling data, and the use of rows and columns
HJ delete the character with the least number of occurrences in the string
【尚品汇】项目笔记
Soft test -- software designer -- database design of afternoon questions
GPIO configuration of SOC
Update pip to the latest version
ROS notes (09) - query and setting of parameters
asp. Net error "/" server error in the application. String or binary data would be truncated. The statement...
关于如何在placeholder中使用字体图标
Redis uses sentinel master-slave switching. What should the program do?
十大券商注册开户靠谱吗?安全吗?
Is it reliable to open a new bond registration account? Is it safe?
Do you know TCP protocol (1)?
NLP sequence can completely simulate human brain intelligence