Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3333268
  • 博文数量: 815
  • 博客积分: 12898
  • 博客等级: 上将
  • 技术积分: 7883
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-25 09:57
文章分类

全部博文(815)

文章存档

2014年(1)

2011年(46)

2010年(192)

2009年(121)

2008年(70)

2007年(385)

分类: Oracle

2011-01-24 11:50:16

问题:
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

阅读(2519) | 评论(0) | 转发(0) |
0

上一篇:故障恢复图

下一篇:ORA-16116: no work available

给主人留下些什么吧!~~