Skip to Main Content

SQL & PL/SQL

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!

Should I SHRINK SPACE or ENABLE ROW MOVEMENT after a TRUNCATE?

PlumtreeSep 30 2008 — edited Nov 4 2008
G'Day experts !

After using TRUNCATE TABLE ... on a production DB to empty out a table with over a million rows, should I be using any of the following commands by way of cleanup and performance?

ALTER TABLE ... ENABLE ROW MOVEMENT;
ALTER TABLE ... SHRINK SPACE;

I'm wondering if Oracle's internal housekeeping (9i and 10g) takes care of shrinkage for me, or I have to do it manually.

Thanks!
Rob in Vermont

Edited by: Plumtree on Sep 30, 2008 9:37 AM
This post has been answered by Boneist on Sep 30 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 2 2008
Added on Sep 30 2008
4 comments
1,329 views