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

what are the diffeenes between oracle 9i,oracle 10g

2 Answers  


What is an Oracle Instance?

0 Answers  


1. How actually index will work ? 2. Why do people prefer mostly bitmap index and btree index in datawarehouse ? 3. If I use the column in aggrigate functions like max,min,count and avg and if I have a index created on that column, will it increases the performance ?

1 Answers   IBM,


Is primary key indexed by default in oracle?

0 Answers  


What are different Oracle database objects?

1 Answers  






Explain the use of file option in exp command.

0 Answers  


various types of hints and their usage

0 Answers  


What are the attributes of the cursor?

0 Answers  


Can the query output be sorted by multiple columns in oracle?

0 Answers  


How will you write a query to get a 5th rank student from a table student_report?

0 Answers  


What is an Oracle index?

0 Answers  


what is the maximum number of indexes i can create for a table? What happens if i create indexes for all the columns of a table? Will it slow down the speed of retrieval

2 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)