This is a simulation situation. I have two databases production and standby. My standby database is not set up for managed recovery. I added a new datafile to my users tablespace in the production database. I took a backup of the tablespace. I made a new entry of the datafile in the standby pfile. Lastly i executed afew ALTER SYSTEM ARCHIVE LOG CURRENT; commands and backed the archived logs to the standby db. When i try to recover the standby database am getting the error below. I hope this makes sense. Basically am trying to add a new datafile and show this change in the standby database.
SQL> connect /as sysdba
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 286858140 bytes
Fixed Size 453532 bytes
Variable Size 184549376 bytes
Database Buffers 100663296 bytes
Redo Buffers 1191936 bytes
SQL> alter database mount standby database;
Database altered.
SQL> recover standby database;
ORA-00279: change 1525644 generated at 03/03/2006 12:19:52 needed for thread 1
ORA-00289: suggestion : C:\U01\APP\ORACLE\ADMIN\OKCDBST2\ARCHARCH_1_5.ARC
ORA-00280: change 1525644 for thread 1 is in sequence #5
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 1531663 generated at 03/03/2006 17:24:53 needed for thread 1
ORA-00289: suggestion : C:\U01\APP\ORACLE\ADMIN\OKCDBST2\ARCHARCH_1_6.ARC
ORA-00280: change 1531663 for thread 1 is in sequence #6
ORA-00278: log file 'C:\U01\APP\ORACLE\ADMIN\OKCDBST2\ARCHARCH_1_5.ARC' no
longer needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00283: recovery session canceled due to errors
ORA-01670: new datafile 8 needed for standby database recovery
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: 'C:\U01\ORADATA\OKCDBST1\USERS02.DBF'
ORA-01112: media recovery not started
SQL> connect /as sysdba
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 286858140 bytes
Fixed Size 453532 bytes
Variable Size 184549376 bytes
Database Buffers 100663296 bytes
Redo Buffers 1191936 bytes
SQL> alter database mount standby database;
Database altered.
SQL> recover standby database;
ORA-00279: change 1525644 generated at 03/03/2006 12:19:52 needed for thread 1
ORA-00289: suggestion : C:\U01\APP\ORACLE\ADMIN\OKCDBST2\ARCHARCH_1_5.ARC
ORA-00280: change 1525644 for thread 1 is in sequence #5
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00279: change 1531663 generated at 03/03/2006 17:24:53 needed for thread 1
ORA-00289: suggestion : C:\U01\APP\ORACLE\ADMIN\OKCDBST2\ARCHARCH_1_6.ARC
ORA-00280: change 1531663 for thread 1 is in sequence #6
ORA-00278: log file 'C:\U01\APP\ORACLE\ADMIN\OKCDBST2\ARCHARCH_1_5.ARC' no
longer needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00283: recovery session canceled due to errors
ORA-01670: new datafile 8 needed for standby database recovery
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: 'C:\U01\ORADATA\OKCDBST1\USERS02.DBF'
ORA-01112: media recovery not started