问题:
SQL> select * from dba_logstdby_events where rownum=1 order by event_time desc;
EVENT_TIME EVENT_TIMESTAMP CURRENT_SCN COMMIT_SCN XIDUSN XIDSLT XIDSQN EVENT STATUS_CODE
----------------- --------------------------------------------------------------------------- ----------- ---------- ---------- ---------- ---------- -------------------------------------------------------------------------------- -----------
STATUS
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24-01-11 01:53:44 24-JAN-11 01.53.44.209771 AM 16111
ORA-16111: log mining and apply setting up
处理过程:
故障分析:
1.告警日志
Mon Jan 24 01:53:43 2011
Completed: ALTER DATABASE START LOGICAL STANDBY APPLY
Mon Jan 24 01:53:44 2011
LOGSTDBY status: ORA-16111: log mining and apply setting up
Mon Jan 24 01:53:44 2011
LOGMINER: Parameters summary for session# = 1
LOGMINER: Number of processes = 3, Transaction Chunk Size = 201
LOGMINER: Memory Size = 30M, Checkpoint interval = 150M
LOGMINER: session# = 1, reader process P000 started with pid=29 OS id=9819
LOGMINER: session# = 1, builder process P001 started with pid=30 OS id=9821
LOGMINER: session# = 1, preparer process P002 started with pid=31 OS id=9823
Mon Jan 24 01:53:45 2011
LOGMINER: Begin mining logfile during dictionary load for session 1 thread 1 sequence 62, /data/arch/ATYU30STD/1_62_740805794.dbf
Mon Jan 24 01:53:45 2011
LOGMINER: Turning ON Log Auto Delete
SQL> select sequence#,first_time,next_time,dict_begin,dict_end from dba_logstdby_log order by sequence#;
SEQUENCE# FIRST_TIME NEXT_TIME DIC DIC
---------- ----------------- ----------------- --- ---
67 24-01-11 01:31:11 24-01-11 01:58:18 NO NO
2. logical接收的日志没有应用
SQL> select sequence#,first_time,next_time,dict_begin,dict_end from dba_logstdby_log order by sequence#;
SEQUENCE# FIRST_TIME NEXT_TIME DIC DIC
---------- ----------------- ----------------- --- ---
67 24-01-11 01:31:11 24-01-11 01:58:18 NO NO
SQL>
SQL> select * from v$logstdby_state;
PRIMARY_DBID SESSION_ID REALTIME_APPLY STATE
------------ ---------- ---------------------------------------------------------------- ----------------------------------------------------------------
2932590362 1 Y IDLE
SQL> select status from dba_logstdby_events where status_code != 0 and status_code != 604;
STATUS
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORA-16111: log mining and apply setting up
ORA-16128: User initiated stop apply successfully completed
ORA-16111: log mining and apply setting up
阅读(2557) | 评论(0) | 转发(0) |