core-jgi/db/maintain/Maintenance/DBA_Check.sql

8 lines
209 B
MySQL
Raw Normal View History

2006-11-17 10:06:54 +07:00
SELECT TableSpace_Name, SUM(Blocks) AS Free_Blk,
TRUNC(SUM(BYTES)/(1024*1024)) AS Free_MB,
MAX(Bytes)/(1024) AS Big_Chunk_kB, COUNT(*) AS Num_Chunks
FROM DBA_FREE_SPACE
GROUP BY TableSpace_Name
/