当前位置:网站首页>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;
边栏推荐
- 【学习笔记】模拟
- Study notes 22/1/10
- asp. Net datalist to display product information and pictures
- Study notes 22/1/18
- Leetcode swing series
- HJ score ranking
- 【学习笔记】拟阵
- Do you know TCP protocol (2)?
- HJ delete the character with the least number of occurrences in the string
- Jenkins' common build trigger and hook services (V)
猜你喜欢

Prometheus monitoring (I)

SOC clock configuration

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

Three step problem of leetcode

2022巴黎时装周儿童单元6.19武汉站圆满落幕

NLP sequence can completely simulate human brain intelligence

Configuring MySQL multi instance master-slave synchronization for Linux

图像翻译:UVCGAN: UNET VISION TRANSFORMER CYCLE-CONSISTENT GAN FOR UNPAIRED IMAGE-TO-IMAGE TRANSLATION

MySQL two table connection principle (understand join buf)

Little artist huangxinyang was invited to participate in the Wuhan station of children's unit of Paris Fashion Week
随机推荐
SQL analysis (query interception analysis for SQL optimization)
sql主从复制搭建
MySQL tablespace parsing
Study notes 22/1/17
ZYNQ_ IIC read / write m24m01 record board status
Children's unit of 2022 Paris fashion week ended successfully at Wuhan station on June 19
Vagrant installation
Activity implicit jump
SOC serial port configuration
Cloud native: cloud computing technology is upgraded again to open an era of comprehensive cloud development
HJ character count
In flood fighting and disaster relief, the city donated 100000 yuan of love materials to help Yingde
设置cmd的编码为utf-8
B_ QuRT_ User_ Guide(26)
asp. Net to search products and realize paging function
【尚品汇】项目笔记
Activity隐式跳转
【学习笔记】模拟
PC端隐藏滚动条
Redis cerebral fissure