Rollback segment datafile deleted

Somebody deleted the rollback segment datafile from the server. The database cannot be started again. We get "ORA-01545 rollback segment 'RBS01' specified not available." Sometimes, it will throw a ORA-00600 error.

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?

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

Dig Deeper on Oracle database backup and recovery



Find more PRO+ content and other member only offers, here.

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.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: