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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Cannot shrink the undo tablespace

694243Apr 8 2009 — edited Apr 14 2009
Hello!

I have run a very long procedure, which generated 15GB undo information. Now I can see in the enterprise manager, that the undo tablespace is empty again. I tried to resize the datafile, but I receive "*ORA-03297*: file contains used data beyond requested RESIZE value". How can I shrink the tablespace without dropping and recreating it?

I tried also
purge recyclebin;
I still get ORA-03297 if I try to resize the datafile.

I wanted to try something like

ALTER TABLE xxxxx UNALLOCATE UNUSED;

or

ALTER TABLE xxxxx SHRINK SPACE;

but are there any tables that save the undo information?

Regards.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 12 2009
Added on Apr 8 2009
6 comments
3,770 views