How to deallocate unused spaces

In general, the extents of a segment do not return to the tablespace until you drop the schema object whose data is stored in the segment (using a DROP TABLE or DROP CLUSTER statement).

A database administrator (DBA) can deallocate unused extents using the following SQL syntax:

ALTER TABLE table_name DEALLOCATE UNUSED;

你可能感兴趣的:(sql)