How do you recover a datafile that has not been physically
been backed up since its creation and has been deleted.
Provide syntax example.
Answer Posted / 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 View All Answers
State any two functions of oracle?
What are the different types of trigger and explain its various uses and functions?
What is system global area (sga) in oracle?
How would you change old and new values in an insert, delete and update triggers?
What is a read only transaction in oracle?
What do you mean by a database transaction & what all tcl statements are available in oracle?
What is not equal to in oracle?
How to add another datafile to a tablespace?
What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?
What are the numeric comparison operations?
how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?
What is an oracle table?
What is a read write transaction in oracle?
What are the different editions of oracle?
Explain oracle 12c new features for developers?