How do you recover a datafile that has not been physically
been backed up since its creation and has been deleted.
Provide syntax example.



How do you recover a datafile that has not been physically been backed up since its creation and ha..

Answer / vineet tyagi

Without Backup Of the Datafile(Excepts System/Active Undo Datafiles)

First Of All,We will take the particular datafile offline.
After that we will create same datafile with same location or another location.Then recover the datafile and online datafile.

Steps:--
1)Alter database datafile <name> offline; (Excepts System/Active undo tablespace related files)

2)Shutdown immediate/abort
3)Startup monut

4)Alter database create datafile <name> With same locatioin and same size; Or
Alter databse create datafile <name> old location to <name> new location with same size;
5)recover database/recover datafile <name>;
6)alter database open
7)alter database datafile online;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

How to export several tables together?

0 Answers  


Define oracle database

0 Answers  


How to declare a local variable?

0 Answers  


How to find the duplicate rows count from employees table in oracle?

0 Answers  


How to run create database statement?

0 Answers  






What is an Index ?

2 Answers  


List out the difference between commit, rollback, and savepoint?

0 Answers  


How to lock and unlock a user account in oracle?

0 Answers  


What are the different approaches used by Optimizer in choosing an execution plan ?

2 Answers  


Difference between open_form and call_form in oracle.

0 Answers  


In oracle there is column command, how will you explain that?

0 Answers   Aricent,


query to find the maximum no persons with same age(age colomn) from emp table

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)