Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to sum dba_data_files by tablespace? Help!!
Here is a script I use to get the size info.
SELECT Tablespace "Tablespace Name",
ROUND(SUM(Total_space_MB)) "Total Space MB", ROUND(SUM(Used_space_MB)) "Used Space MB", ROUND(SUM(Free_space_MB)) "Free Space MB", ROUND(((SUM(Used_space_MB) / SUM(Total_space_MB)) * 100), 2) "%Used Space",
Regards
/Rauf
Received on Tue Dec 21 2004 - 09:38:55 CST