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!

Is an "alter table shrink space" dangerous

755744May 5 2010 — edited May 5 2010
Hello,

I have the problem that the tables resp. tablespaces need too much space. I have delete a lot of rows but the tablespaces hasn't become smaller. I have read that I have to use the following commands:

alter table test ENABLE ROW MOVEMENT;
alter table test SHRINK SPACE;

My question: Is it dangerous to use it? And how much time it needed? The shrink command locks the table
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2010
Added on May 5 2010
4 comments
1,423 views