前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >关于 ORA-279 signalled during: alter database recover logfile

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

作者头像
星哥玩云
发布2022-08-17 20:45:43
4280
发布2022-08-17 20:45:43
举报
文章被收录于专栏:开源部署开源部署

在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

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
数据库
云数据库为企业提供了完善的关系型数据库、非关系型数据库、分析型数据库和数据库生态工具。您可以通过产品选择和组合搭建,轻松实现高可靠、高可用性、高性能等数据库需求。云数据库服务也可大幅减少您的运维工作量,更专注于业务发展,让企业一站式享受数据上云及分布式架构的技术红利!
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档