阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

关于 ORA-279 signalled during: alter database recover logfile

225次阅读
没有评论

共计 2829 个字符,预计需要花费 8 分钟才能阅读完成。

在 RMAN 的 RECOVER 还原过程中,RMAN 界面正常,但是检查、刷新告警日志,发现告警日志里面有 ORA-279,如下所示:

 

alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16228_g6oznpbv_.arc’
Thu Feb 21 08:49:48 CST 2019
Media Recovery Log /u06/archivelog/2019_02_19/o1_mf_1_16228_g6oznpbv_.arc
Thu Feb 21 08:50:58 CST 2019
ORA-279 signalled during: alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16228_g6oznpbv_.arc’…
Thu Feb 21 08:50:59 CST 2019
alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16229_g6ozp2pv_.arc’
Thu Feb 21 08:50:59 CST 2019
Media Recovery Log /u06/archivelog/2019_02_19/o1_mf_1_16229_g6ozp2pv_.arc
Thu Feb 21 08:51:12 CST 2019
ORA-279 signalled during: alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16229_g6ozp2pv_.arc’…
Thu Feb 21 08:51:12 CST 2019
alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16230_g6ozrswb_.arc’
Thu Feb 21 08:51:12 CST 2019
Media Recovery Log /u06/archivelog/2019_02_19/o1_mf_1_16230_g6ozrswb_.arc
Thu Feb 21 08:51:39 CST 2019
ORA-279 signalled during: alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16230_g6ozrswb_.arc’…
Thu Feb 21 08:51:39 CST 2019
alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16231_g6ozsj8q_.arc’
Thu Feb 21 08:51:39 CST 2019
Media Recovery Log /u06/archivelog/2019_02_19/o1_mf_1_16231_g6ozsj8q_.arc
Thu Feb 21 08:51:54 CST 2019
ORA-279 signalled during: alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16231_g6ozsj8q_.arc’…
Thu Feb 21 08:51:54 CST 2019
alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16232_g6ozt53s_.arc’
Thu Feb 21 08:51:54 CST 2019
Media Recovery Log /u06/archivelog/2019_02_19/o1_mf_1_16232_g6ozt53s_.arc
Thu Feb 21 08:52:13 CST 2019
ORA-279 signalled during: alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16232_g6ozt53s_.arc’…
Thu Feb 21 08:52:13 CST 2019
alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16233_g6p6ojcz_.arc’
Thu Feb 21 08:52:13 CST 2019
Media Recovery Log /u06/archivelog/2019_02_19/o1_mf_1_16233_g6p6ojcz_.arc
Thu Feb 21 08:52:46 CST 2019
ORA-279 signalled during: alter database recover logfile ‘/u06/archivelog/2019_02_19/o1_mf_1_16233_g6p6ojcz_.arc’…
Thu Feb 21 08:52:46 CST 2019
alter database recover cancel
Thu Feb 21 08:52:46 CST 2019
Media Recovery Canceled
Completed: alter database recover cancel

其实这个场景下,告警日志中 ORA-279 更像是“输出消息”,而不是“错误信息”,它是在提示需要请求的归档日志才能继续恢复。以前在使用 RMAN 进行 RECOVER 时没有留意过这个细节信息。顺便记录一下。以免初次遇到这个提示信息的时候,还以为出现了什么异常或错误。

[root@DB-Server  2019_02_16]$ oerr ora 279

00279, 00000, “change %s generated at %s needed for thread %s”

// *Cause: The requested log is required to proceed with recovery.

// *Action:  Please supply the requested log with “ALTER DATABASE RECOVER

//          LOGFILE <file_name>” or cancel recovery with “ALTER DATABASE

//          RECOVER CANCEL”.

Yes, you can ignore the ORA-279s. Treat them as “messages” rather then “errors”.

You need to ensure that all archivelogs are being applied by the recovery process.

参考资料:

https://community.oracle.com/thread/638113

更多 Oracle 相关信息见 Oracle 专题页面 https://www.linuxidc.com/topicnews.aspx?tid=12

正文完
星哥玩云-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-22发表,共计2829字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中