Q
Problem solve Get help with specific problems with your technologies, process and projects.

Resetting rollback segments

How do I reset rollback segments? While finishing a huge insert, the extents occupied was 100. But after commit, it did not release the space it had occupied, not even after shutting down the database. I am using Oracle 8i on NT. Could you suggest anything? Thanks.


To reset your rollback segments, you will need to set the OPTIMAL parameter on your rollback segments. After your rollback segments have extended and the transactions using the rollback segments have completed, the rollback segment will shrink back to the OPTIMAL size. One can force the RBS to shrink with the following command:

ALTER ROLLBACK SEGMENT rbs_name SHRINK [TO size];

If the size is not specified, the RBS will shrink to the OPTIMAL size. If the size is specified, eg. 10K or 1M, then the RBS will shrink to that size if possible.

For More Information


Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close