Dataguard switchover遇到ORA-19809和ORA-19804报错的问题处理

1、问题描述

下午社区的小伙伴提问,DG进行switchovert时报错无法进行切换

操作系统版本:windows 2012r2

数据库版本:11.2.0.4

进行切换时报错如下图所示,提示ORA-19809和ORA-19804

2、问题分析

首先是分析报错ORA-19809和ORA-19804

我这里没有windows环境,就找了套LINUX的环境,直接用oerr查看一下报错

ORA-19809报错原因如下

复制代码
[oracle@rac1 ~]$ oerr ora 19809
19809, 00000, "limit exceeded for recovery files"
//*Cause: The limit for recovery files specified by the
//        DB_RECOVERY_FILE_DEST_SIZE was exceeded.
// *Action: There are five possible solutions:
//          1) Take frequent backup of recovery area using RMAN.
//          2) Consider changing RMAN retention policy.
//          3) Consider changing RMAN archived log deletion policy.
//          4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
//          5) Delete files from recovery area using RMAN.

ORA-19804报错原因如下

复制代码
[oracle@rac1 ~]$ oerr ora 19804
19804, 00000, "cannot reclaim %s bytes disk space from %s limit"
// *Cause: Oracle cannot reclaim disk space of specified bytes from the
//         DB_RECOVERY_FILE_DEST_SIZE limit.
// *Action: There are five possible solutions:
//          1) Take frequent backup of recovery area using RMAN.
//          2) Consider changing RMAN retention policy.
//          3) Consider changing RMAN archived log deletion policy.
//          4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
//          5) Delete files from recovery area using RMAN.

报错里都提到了DB_RECOVERY_FILE_DEST_SIZE这个参数,建议是释放闪回空间。

3、问题处理

按报错指引,我建议他加大闪回空间,可以临时调大点。

调整完毕后,反馈再次尝试切换没有报错了

虽然没看到闪回空间的使用情况,估计大概率时归档大多了。

之后还是建议再检查下闪回空间并进行清理。

相关推荐
Genie cloud11 分钟前
1Panel SSL证书申请完整教程
服务器·网络协议·云计算·ssl
2401_8321319515 分钟前
Python单元测试(unittest)实战指南
jvm·数据库·python
!chen40 分钟前
linux服务器静默安装Oracle26ai
linux·运维·服务器
莫大33044 分钟前
2核2G云服务器PHP8.5+MySQL9.0+Nginx(LNMP)安装WordPress网站详细教程
运维·服务器·nginx
打工的小王1 小时前
redis(四)搭建哨兵模式:一主二从三哨兵
数据库·redis·缓存
Anarkh_Lee1 小时前
【小白也能实现智能问数智能体】使用开源的universal-db-mcp在coze中实现问数 AskDB智能体
数据库·人工智能·ai·开源·ai编程
2501_927773071 小时前
imx6驱动
linux·运维·服务器
橘子132 小时前
MySQL用户管理(十三)
数据库·mysql
Dxy12393102162 小时前
MySQL如何加唯一索引
android·数据库·mysql
hy____1232 小时前
Linux_进程间通信
linux·运维·服务器