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
Solved

Oracle Datafile Recovery with Missing Archive

Posted on 2006-10-31
3
1,077 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Query Records that don't match 8 50
Row_number in SQL 6 33
oracle collections 2 19
Oracle TRC and TRM files are taking too much space at Oracle client computer. 5 23
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

790 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