Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What is SWITCH DATABASE TO COPY command for ?

SM_308May 29 2012 — edited May 30 2012
DB version : 11.2.0.2
OS : AIX 6.1

I have done Restore and recoveries using plain commands
run {
restore database ;
recover database  ;
alter database open resetlogs ;
}
For these restores and recoveries, I never had to use
SWITCH DATABASE TO COPY
or
switch datafile <file_id> to copy;
But, I see these commands being used a lot in various restores, recoveries in the internet.

Googling and oracle Doc
http://docs.oracle.com/cd/B28359_01/backup.111/b28273/rcmsynta049.htm

gave me conflicting ideas on this.

What does this command do in layman's terms?

During restore, recovery if I don't do SWITCH , what is the impact?
This post has been answered by Talip Hakan Ozturk on May 30 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 27 2012
Added on May 29 2012
5 comments
9,839 views