To clean this up
- find out active rollback segment. Either by SQL or try to drop undo tablespace.
select segment_name, status from dba_rollback_segs where tablespace_name='undotbs_corrupt' and status = ‘NEEDS RECOVERY’; - shutdown database. It may take pretty long time to shutdown.
- change parameter
*.undo_management='MANUAL'
*._offline_rollback_segments=_SYSSMU10$,_SYSSMU11$,_SYSSMU12$,_SYSSMU13$,_SYSSMU14$,_SYSSMU15$,_SYSSMU16$) - bring up database
- Drop the UNDO tablespace.
- Recreate UNDO tablespace.
- shutdown database
- change parameter back to original
- bring up database
The key part is change undocumented parameter _offline_rollback_segments, this way it will allow you to drop active rollback segment.
No comments:
Post a Comment