Solved

Oracle Datafile Recovery with Missing Archive

Posted on 2006-10-31
3
1,080 Views
Last Modified: 2013-12-11
Here is what I have been able to gather so far:

A junior dba added a datafile to out 8i db. He did not notice the tablespace it was going to and it added to the RBS tablespace. Realizing his mistake it was placed in offline mode almost immediately.

All was fine for a few weeks. Today we get error messages ORA-00376 and ORA-01110 that the datafile can not be read. Looking at Enterprise manager the datafile is listed as needing recovery.

When I try and recover, it tells me the archive file required. Unfortunately, we can not find the specific archive file on our tapes.

Is there a way for me to get this datafile online without this archive? I do not believe there is any pertinent data in the datafile.
0
Comment
Question by:jim_rogers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Expert Comment

by:rbrooker
ID: 17845340
Hi,

i think your junior dba has shot you in the foot.  without that missing archive log, you will need to go back to a prior backup and roll forward as far as you can and then manually catch the database up.  archive logs record the history of transactions made against the db, if that history is not there, you cannot replay it, you cannot roll it forward.

good luck...

( and send the junior dba on a backup and recovery course, (s)he will learn how important archive logs are :)
0
 
LVL 8

Expert Comment

by:gvsbnarayana
ID: 17848378
Hi,
  Do you have any pending transactions for the few weeks? If not, I believe that the datafile will not contain any data as it is a RBS tablespace. RBS will not contain any of your data that is needed permanently except for a rollback of a transaction and read consistency.
You can drop the datafile offline and continue to run the database.
HTH
Regards,
Badri.
0
 
LVL 48

Accepted Solution

by:
schwertner earned 500 total points
ID: 17848863
Turn off Oracle (shutdown immediate). All rollback data will be processed and RBS will not be needed.
After that "startup nomount" the DB and try to offline the file:
SQL>alter database datafile '/u02/.....' offline [drop];
After that open the DB
SQL>alter database open;

0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question