Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Help needed : Free space checking?
Hi,
platform Oracle 7.3 WG server, WinNT 4.0 SP4.
I made a (simplistic?) SQL query to check free space in tablespaces, the output seems to be ok - the same as is seen from the OEM Storage Manager. The administrators of the application need this information as they periodically delete the oldest records as the disc / tablespaces fills up.
However, if I delete several thousands of records and commits the changes, no difference in free space is seen? How is this??
The SQL query is attached below, together with some sample output.
Many thanks,
// Johan
ROUND((a.ts_bytes/1024/1024)+(dfs.bytes/1024/1024),2) "Current size (MB)", ROUND(a.ts_bytes/1024/1024,2) "Usage (MB)", ROUND(dfs.bytes/1024/1024,2) "Free (MB)", ROUND(a.ts_extent/1024/1024,2) "Max next extent (MB)"from
Tablespace Current si Usage (MB) Free (MB) Max next e ------------------------------ ---------- ---------- ---------- ---------- USER1_DATA 280 271.67 8.32 120.01 USER2_DATA 190 181.12 8.88 80.01 OTHER_DATA 20 7.1 12.9 3.12 .
![]() |
![]() |