Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How get rid of empty blocks ?

345144Mar 17 2003 — edited Mar 18 2003
In order to reclaim space in my schema, I tried to get rid of empty blocks for tables that have 0 rows by issuing

TRUNCATE TABLE TABLE_NAME DROP STORAGE;

Than, in order to refresh user_tables, I ran ANALYZE TABLE TABLE_NAME COMPUTE STATISTICS.

When I query user_tables for empty_blocks, I still have them all there, they have not gone. Does not Truncate work for this ? Or am I doing something wrong ? What should I do in order to reclaim space ?

Thanks


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2003
Added on Mar 17 2003
2 comments
567 views