Home » Server Options » Data Guard » dataguard database is out of sync - help required (11g release 2, Centos 5.5)
dataguard database is out of sync - help required [message #484115] |
Sat, 27 November 2010 08:33  |
mateenaslam
Messages: 21 Registered: November 2010 Location: Islamabad, Pakistan
|
Junior Member |
|
|
I have recently configured data guard. When ever i switch log on primary, standby database have the recent redo log files. Is means log transition service is working fine.
See same results on both primary and standby
------------------------------------------------
SQL> select max (sequence#) from v$archived_log;
MAX(SEQUENCE#)
--------------
85
------------------------------------------------
Following command give me errors on standby.
-------------------------------------------------------
SQL> alter database recover managed standby database cancel;
alter database recover managed standby database cancel
*
ERROR at line 1:
ORA-16136: Managed Standby Recovery not active
-------------------------------------------------------
I think my standby database is out of sync and i found my logs are not being applied on standby.
-------------------------------------------------------
SQL> select sequence#, applied from v$archived_log;
SEQUENCE# APPLIED
---------- ---------
54 NO
52 NO
53 NO
56 NO
55 NO
57 NO
58 NO
59 NO
60 NO
68 NO
66 NO
SEQUENCE# APPLIED
---------- ---------
65 NO
62 NO
67 NO
64 NO
63 NO
69 NO
61 NO
70 NO
72 NO
74 NO
73 NO
SEQUENCE# APPLIED
---------- ---------
71 NO
75 NO
76 NO
77 NO
78 NO
81 NO
79 NO
80 NO
82 NO
83 NO
84 NO
SEQUENCE# APPLIED
---------- ---------
85 NO
-------------------------------------------------------
can you guys tell me whats wrong ?
|
|
|
|
|
Re: dataguard database is out of sync - help required [message #484124 is a reply to message #484118] |
Sat, 27 November 2010 13:01   |
mateenaslam
Messages: 21 Registered: November 2010 Location: Islamabad, Pakistan
|
Junior Member |
|
|
Here are these parameter on primary and standby
Primary
--------------------------------
SQL> show parameters convert;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert string DGREPL/DGREPL, repl/repl
log_file_name_convert string /u01/app/oracle/oradata/DGREPL
/, /u01/app/oracle/oradata/rep
l/, /u01/app/oracle/flash_reco
very_area/DGREPL/archivelog/,
/u01/app/oracle/flash_recovery
_area/repl/archivelog/
Standby
--------------------------------
SQL> show parameters convert
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert string repl/repl, DGREPL/DGREPL
log_file_name_convert string /u01/app/oracle/oradata/repl/,
/u01/app/oracle/oradata/DGREP
L/, /u01/app/oracle/flash_reco
very_area/repl/archivelog/, /u
01/app/oracle/flash_recovery_a
rea/DGREPL/archivelog/
and i am getting following in trace log
-------------------------------------------------------------
MRP0: Background Media Recovery terminated with error 1110
Errors in file /u01/app/oracle/diag/rdbms/dgrepl/DGREPL/trace/DGREPL_mrp0_5625.trc:
ORA-01110: data file 1: '/u01/app/oracle/oradata/repl/system01.dbf'
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/u01/app/oracle/oradata/repl/system01.dbf'
Errors in file /u01/app/oracle/diag/rdbms/dgrepl/DGREPL/trace/DGREPL_mrp0_5625.trc:
ORA-01110: data file 1: '/u01/app/oracle/oradata/repl/system01.dbf'
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/u01/app/oracle/oradata/repl/system01.dbf'
-------------------------------------------------------------
are my parameters need modifications ?
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Mar 12 03:05:39 CDT 2025
|