ORA-01156 when adding standy redo log in dataguard configuration
Database version = 11.2.0.3.0 If you get following error while adding a Standby Redo Log (SRL) to a standby database in dataguard configuration: SQL> alter database add standby logfile group 3 '/logs/test/sbyredo3a.log' size 500M; alter database add standby logfile group 3 '/logs/test/sbyredo3a.log' size 500M * ERROR at line 1: ORA-01156: recovery or flashback in progress may need access to files Then it means that first you have to stop the redo apply, add the SRL and then start the redo apply. Best way to do is from dgmgrl like this: DGMGRL> connect / Connected. DGMGRL> edit database 'test' set state='APPLY-OFF'; Succeeded. SQL> alter database add standby logfile group 3 '/logs/test/sbyredo3a.log' size 500M; Database altered. DGMGRL> edit database 'CONPRO_UK' set state='APPLY-ON'; Succeeded. HTH.
Share this
Previous story
← Rejoining a Node to MySQL's InnoDB cluster
You May Also Like
These Related Stories
ORA-00274 after upgrade to 19c and trying to enable a delay on recovery for standby database.
ORA-00274 after upgrade to 19c and trying to enable a delay on recovery for standby database.
Sep 26, 2022
1
min read
Oracle Database 12c: Network Recovery in RMAN
Oracle Database 12c: Network Recovery in RMAN
Aug 14, 2013
12
min read
How to test an Oracle database upgrade using a physical standby
How to test an Oracle database upgrade using a physical standby
Sep 13, 2018
10
min read
No Comments Yet
Let us know what you think