cloning file needs more recovery to be consistent [message #228542] |
Tue, 03 April 2007 05:58 |
laksha
Messages: 42 Registered: June 2006
|
Member |
|
|
Hi,
I clone a "production" database to "test" database using the cold backup of production database.
I create the controlfile using
CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS NOARCHIVELOG
......
startup nomount;
when i do a
alter database open resetlogs;
i get the error
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/test_db1/test/db/testdata/system01.dbf'
then I need to do
recover database using backup controlfile;
and apply the online redo log files for recovery and recover the database.
when i clone from a cold backup why do i need to recover database using online redo log files? how do i overcome this.
My understanding is that when one takes the cold backup by using shutdown immediate, all the information from online redo log files is flushed to the datafiles, and thus there is no need for online redo log files from cold backup .
Thanks in advance.
|
|
|
|
|