Je vais basculer la dataguard en primary, car j'ai eu crash du primaire.
Je suit la doc oracle mais la dataguard ne veut pas devenir primaire car il reclame le denier redolog en générant l'erreur suivante :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
SQL*Plus: Release 9.2.0.4.0 - Production on Je Sep 1 15:09:38 2005
 
SQL> alter database recover managed standby database finish skip standby logfile;
 
Database altered.
 
SQL> alter database commit to switchover to physical primary with session shutdown nowait;
alter database commit to switchover to physical primary with session shutdown nowait
*
ERROR at line 1:
ORA-16139: media recovery required
 
 
SQL> alter database commit to switchover to primary;
alter database commit to switchover to primary
*
ERROR at line 1:
ORA-16139: media recovery required
Tout ce que je trouve chez oracle est que c'est un bug qui a été résolu dans la version 9.2.0.3 alors que je suis dans la version 9.2.0.4



Bug 2539160 Fixed: 9203
Physical Standby Database / Dataguard
After cancelling the recovery while the archival of the standby
redo logs have not completed, the "switchover to primary" command
will fail with ORA-16139 and the following message in the
alert log:
"Switchover: Media recovery required - standby not in limbo"


Merci à celui qui a eu déjà à affronter ce pb.