GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  RMAN Interview Questions
Go To First  |  Previous Question  |  Next Question 
 RMAN Interview Questions  |  Question 19 of 49    Print  
Missing data file
Outline the steps for recovery of missing data file?


  
Total Answers and Comments: 1 Last Update: August 07, 2009     Asked by: shanthiavari 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 06, 2009 09:38:47   
naveen_rc Member Since: August 2009   Contribution: 13    

RE: Missing data file

Connect to RMAN and make the affected Tablespace offline immediate.



SQL> !rman target /

RMAN> sql 'ALTER TABLESPACE DATA OFFLINE IMMEDIATE';



Perform Restore and Recover of The tablespace.



RMAN> RESTORE TABLESPACE DATA;

RMAN> RECOVER TABLESPACE DATA;



Make the status online of the tablespace.



RMAN> sql 'ALTER TABLESPACE DATA ONLINE';



In this case oracle at first create and empty datafile and then apply all archived redo logs and online redo logs on the tablespace up to the current time.


Alternate way without using RMAN :



SQL> ALTER DATABASE CREATE DATAFILE 'c:oracleoradatarheacc_capture SIZE 2048m AS datafile_file51_spec;



Determine whether you entered the correct filename. If you did then check to see whether the log is missing from the operating system. If it is missing and you have a backup then restore the backup and apply the log. If you do not have a backup then if possible perform incomplete recovery up to the point of the missing log.



 
Is this answer useful? Yes | No

 Related Questions

Outline steps for recovery with missing archived redo logs? 
Latest Answer : If the database is operating in ARCHIVELOG mode, and if the only copy of an archived redo log file is damaged, then the damaged file does not affect the present operation of the database. The following situations can arise, however, depending on when ...

What is db_recovery_file_dest ? When do you need to set this value?  
Latest Answer : db_recovery_file_dest and db_recovery_file_dest_size are used to specify the location and size of the Flash Recovery Area.  These database intilization parameters help RMAN to manage the backup storage and delete the obsolete backups and the ...

Outline the steps for recovery with missing online redo logs? 

Outline the steps for recovery of missing data file?  
Latest Answer : Connect to RMAN and make the affected Tablespace offline immediate. SQL> !rman target / RMAN> sql 'ALTER TABLESPACE DATA OFFLINE IMMEDIATE'; Perform Restore and Recover of The tablespace. RMAN> RESTORE TABLESPACE DATA; RMAN> ...

How do you enable the autobackup for the controlfile using RMAN? 
Latest Answer : issue command at rman prompt.....    RMAN> configure controlfile autobackup on;also we can configure controlfile backup format......   RMAN> configure controlfile autobackup format for device type disk to    ...


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Using Oracle XML DB Repository

Using Oracle XML DB Repository Another variation on accessing and manipulating XML content stored in Oracle database is provided by Oracle XML DB repository which is an essential component of Oracle XML DB mosgoogle NOTE Oracle XML DB repository also known as XML repository is a hierarchically organ
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

XML Processing in PHP and Oracle Applications

Processing XML in PHP Oracle Applications As mentioned there are two alternatives when it comes to performing XML processing in your PHP Oracle application You can perform any required XML processing using either PHP s XML extensions or PEAR XML packages or Oracle s XML features mosgoogle In the fol
 

PHP Oracle Web Development

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax is a good starting b
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape