Rollback segment datafile deleted

Today I had a problem in Oracle 8.1.6, the following is the description:
  1. Somebody deleted the rollback segment datafile from the server.
  2. The database cannot be started again.
  3. startup mount
  4. alter database datafile 'rbs01.dbf' offline drop;
  5. alter database open;
  6. ORA-01545 rollback segment 'RBS01' specified not available.
  7. Sometimes, it will throw a ORA-00600 error.

The following is what I did, but it failed:

  1. startup nomount
  2. alter database backup controlfile to trace;
  3. re-create controlfile
  4. recover database;
  5. alter database open;
  6. ORA-00600: internal error code, arguments: [25012],[1],[2],[],[],[],[],[]
  7. select * from v$tablespace;
         TS#    NAME
         0      SYSTEM
         2      TEMP
         .....
    
  8. select file#,name from v$datafile;
         FILE#  NAME
         1      system.dbf
         3      temp01.dbf
    

I think the database has been dropped RBS tablespace, what can I do?

    Requires Free Membership to View

The problem is that even though you dropped the tablespace, Oracle is still expecting the rollback segment to be found. This is why you received the ORA-1545 error. Shut down the database. Then comment out the ROLLBACK_SEGMENTS parameter in your INIT.ORA configuration file. You should be able to start up the database without those rollback segments so that you can drop the tablespace. After you drop the tablespace, re-create it and re-create the rollback segments. Uncomment the parameter in the INIT.ORA and bounce the instance. Oracle should be using the new rollback segments with the same names.

This was first published in September 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.