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、问题处理

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

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

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

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

相关推荐
Irene199121 小时前
Oracle:为什么 ORDER BY 能让 SUM() 变成累计?
oracle
m0_748554811 天前
golang如何实现用户订阅偏好管理_golang用户订阅偏好管理实现总结
jvm·数据库·python
wanhengidc1 天前
云手机 高振畅玩不踩坑
运维·服务器·安全·web安全·智能手机
有谁看见我的剑了?1 天前
linux 添加硬盘后系统识别不到硬盘处理
linux·运维·服务器
早日退休!!!1 天前
《数据结构选型指南》笔记
数据结构·数据库·oracle
xcLeigh1 天前
KES数据库性能优化实战
数据库·sql·性能优化·sql优化·数据性能
阿正呀1 天前
Redis怎样实现本地缓存的高效失效通知
jvm·数据库·python
yoyo_zzm1 天前
Laravel9.x新特性全解析
数据库·mysql·nginx
2501_901200531 天前
mysql如何设置InnoDB引擎参数_优化innodb_buffer_pool
jvm·数据库·python
m0_495496411 天前
mysql处理复杂SQL性能_InnoDB优化器与MyISAM差异
jvm·数据库·python