The database cannot be opened when the database undo Tablespace file is corrupted or the undo Tablespace file is missing. Both of these situations can be treated as a case-by-solution.
Scenario: Create a new undo Tablespace undotbs02 at 23:10, and switch to the undo table space. at this point, flash back to the database to 23:10. because UNDOTBS02 is used when the database is being flashed back, and the undotbs01 is used at 23:10, causes the undo table space to be missing and the database cannot be opened. (Note: Resetlogs required after flash back to database) As can be seen from the above error, UNDOTBS02 does not exist at this time, unable to open the database. the solution is simple: Create a new undo tablespace, and then point Undo_tablespace to the new undo table space. But ..... The new table space can only be performed in the database open state. so:because the Oracle system table space also has rollback segments, we can first let Oracle use the system table space to rollback segmentsOpen the database, and then you can create a new table space. New table space: Start the database.
You can create a new undo tablespace and then point the Undo_tablespace parameter to the pastNote: Be sure to change the undo_management parameter to auto
with the above steps, the database cannot be opened because of corruption or missing undo tablespace.
Summary:issues to be aware of: 1. After the database is flashed back, the ALTER DATABASE open Resetlogs is required when opening the databases; Commands to reset the reset log2. To flash back to the database, the database will be loaded but not open (flash back to the database in theMount state)3. Remember to change the undo_management parameter back. Use:alter system set Undo_management=auto scope=spfile;
The following are the steps to create a new undo tablespace using the system table space rollback segment: 1. Boot the database to Mount 2. alter system set undo_management=manual scope=spfile; --Set how undo table space is managed 3. shutdown immediate; 4. startup Then create a new undo table Space Undotbs03; 5. Modify the undo_tablespace parameter to point to the newly created undo table Space Undotbs03; * * 6. Remember to change the undo_management parameter back . alter system set undo_management=auto scope=spfile; 7. sql> alter system set undo_management=manual scope=spfile; Auto says : The tablespace is managed by Oracle (automatically assigned to different things) manual says: The block of this tablespace is managed by freelist to manage how the data is stored. < Span style= "color: #008000; line-height:28px "> 8. Open the database &NBSP; &NBSP; **&NBSP; &NBSP; 9. After opening the database, be sure to put Undo_management parameter change back. alter system set undo_management=auto scope=spfile;
Undo tablespace corruption causes database to fail open