QUESTION NO: 231
What will be the end result of this set of RMAN commands?
shutdown abort
startup mount
restore datafile 4 until time ?09/30/2008:15:00:00‘;
recover datafile 4 until time ?09/29/2008:15:00:00‘;
alter database open resetlogs;
A. Datafile 4 will be recovered until 9/30/2008 at 15:00 and the database will open.
B. The restore command will fail.
C. The recover command will fail.
D. The alter database open resetlogs command will fail.
E. All these commands will fail because they must be in the confines of a run block.
所有这些命令会失败,因为他们必须在运行块的限制中。
The commands will run without error until you attempt to open the database. At that time, the alter
database open resetlogs command will fail. This will be because datafile 4 and the rest of the database
will be inconsistent with each other and Oracle does not allow this. If you are going to restore and recover
an Oracle database using point-in-time recovery, you must do so with the entire database.
Answer: D
这组RMAN命令的最终结果会是怎样?
Answer: D