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

Answers were Sorted based on User's Feedback



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

Answer / bharath

Perform below steps

1) alter database datafile < file_id> offline;
2) alter database create datafile <file_id>;
3) recover datafile <file_id>;
4) alter database datafile <file_id> online;

Is This Answer Correct ?    13 Yes 0 No

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

Answer / mallesh

To create datafile,we need the current controlfile or buckup controlfile that recognises the new datafile that was added.
we go to mount stage and create new datafile using command
syntax:
>alter database create datafile;
>alter tablespace <tsname> add datafile '<location>' size;
>alter system switch logfile;

Is This Answer Correct ?    4 Yes 3 No

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

Answer / shiva

>alter database create datafile < path>;
> alter database recover automatic datafile < path> /<file_id>

Is This Answer Correct ?    1 Yes 0 No

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

Answer / nehru

>alter database create datafile 'old path' as 'new path' size
>recover datafile 'datafile id';

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB Administration Interview Questions

What query tells you how much space a tablespace named "test" is taking up, and how much space is remaining?

1 Answers  


what r the types of backup?

5 Answers   CSC,


What are statistics, under what circumstances they go out of date, how do you update them?

0 Answers  


Give the stages of instance startup to a usable state where normal users may access it.

1 Answers  


How many packages we have in db

1 Answers   Tesco,






What is the default port no on which sql server listens? : sql server DBA

0 Answers  


how will you see when the database was started using sql prompt?

2 Answers   IBM,


How many memory layers are in the shared pool?

3 Answers  


how to restore files with rman?

0 Answers  


what is the diffrence between core dba and apps dba?

0 Answers   Cap Gemini,


Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracle's. What database recovery options are available? Database is in archive log mode.

0 Answers   Infosys,


hi, how can i check all backups are exist to restore? I.e. i forget to take backup on one day. But now i want to check that all backups are there to restore now. I know the answer of through timestamps we know how to check. But i need any other way?

1 Answers  


Categories