当前位置:网站首页>ORA-01089 ORA-19809 ORA-19815 超过了恢复文件的限制
ORA-01089 ORA-19809 ORA-19815 超过了恢复文件的限制
2022-06-11 19:54:00 【huryer】
ORA-01089 ORA-19809 ORA-19815
问题描述
执行rman归档日志检查失败:ORA-01089
RMAN> crosscheck archivelog all;
RMAN-00601> fatal error in recovery manager
RMAN-03004> 执行命令期间出现严重错误
ORA-01089: immediate shutdown or close in progress - no operations are permitted
问题分析
# 查看错误日志详情
$ oerr ora 1089
01089, 00000, "immediate shutdown or close in progress - no operations are permitted"
// *Cause: The SHUTDOWN IMMEDIATE command was used to shut down
// a running Oracle instance, or CLOSE IMMEDIATE was used to shut down
// a pluggable database, so your operations have been
// terminated.
// *Action: Wait for the instance to be restarted, or contact your DBA.
# 检查数据库错误日志,有如下错误:
$ 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.
$ oerr ora 19815
19815, 00000, "WARNING: %s of %s bytes is %s%% used, and has %s remaining bytes available."
// *Cause: DB_RECOVERY_FILE_DEST is running out of disk space.
// *Action: One of the following:
// 1. Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
// 2. Backup files to tertiary device using RMAN.
// 3. Consider changing RMAN retention policy.
// 4. Consider changing RMAN archived log deletion policy.
// 5. Delete files from recovery area using RMAN.
解决办法
一般出现此情况时,数据库实例可能已无法处于正常打开状态,即open模式,此时需要在mount模式下进行处理:
# 启动数据库到mount状态
$ sqlplus / as sysdba
$ startup mount;
# 检查快速恢复区大小,可以考虑手工增加:db_recovert_file_dest_size
$ show parameter recovery
# 检查rman配置
$ rman target /
# 检查配置参数
RMAN> show all;
# 修改冗余保留策略:如果保留冗余过多,可以适当调低如下参数:
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
# 设置归档日志别发保留策略
RMAN> configure archivelog deletion policy to backed up 1 times to device type disk;
# 检查控制文件和实际物理文件的差别,如果手工清理过归档日志,可能存在不一致的情况;
RMAN> crosscheck archivelog all;
# 执行delete,同步控制文件的信息和实际物理文件的信息:
RMAN> delete noprompt obsolete device type disk;
RMAN> delete noprompt expired backup device type disk;
# 尝试备份数据库,以下方式将数据库备份到默认的快速恢复区,如果备份文件过大,可能导致备份失败,报错:ORA-19809
RMAN> backup database;
# 尝试备份数据库到其他目录:
RMAN> backup database format '/data/backup/db_%d_%T_%U.bak';
# 此时,一般已可以正常打开数据库:
RMAN> alter database open;
边栏推荐
- [Sichuan University] information sharing of the first and second examinations
- C#深拷贝
- In 2021, the global revenue of Indian fragrant rice was about $12530 million, and it is expected to reach $21670 million in 2028
- 30讲 线性代数第二讲 矩阵
- Module 8 operation
- 无监督图像分类《SCAN:Learning to Classify Images without》代码分析笔记(1):simclr
- Experiment report of basic mechanical experiment (II) of School of distance and continuing education, Dalian University of technology [standard answer]
- ICML 2022 𞓜 rethinking anomaly detection based on structured data: what kind of graph neural network do we need
- POJ 1458 longest common subsequence (dynamic planning exercise)
- STL application (unfinished
猜你喜欢

unity里面使用opencv,qt建立plugin(一)

vs2010链接sql2008数据库时无法打开

上海内推 | 上海期智研究院于洋老师课题组招收全职研究员

AHB2Standard_ handshake_ Bridge design

Hanging memory recursive dynamic programming (with example explanation POJ 1163)

iMeta | 南科大夏雨组纳米孔测序揭示微生物可减轻高海拔冻土温室气体排放

Usage of duck beak wire stripper

Flutter Doctor affiche les solutions que xcode n'a pas installées

Anaconda安装、Jupyter Notebook默认启动路径修改及Nbextensions插件安装

图床:PicGo+腾讯云+typora
随机推荐
【四川大学】初试复试考研资料分享
Flutter doctor 显示xcode没有安装的解决办法
3D建模有什么技巧吗?
计算926的9260次方里的字符串里有多少个926
Proficient in xmake
[Lao Wang's fallacy of brain science] Why do blind people "seem" to be more "sensitive" than normal people?
Introduction to jobrunr, a distributed background job scheduler - jaxenter
Richter's substitution principle
Experiment report of basic mechanical experiment (II) of School of distance and continuing education, Dalian University of technology [standard answer]
Golang学习笔记—基础篇
YOLOv3 Pytorch代码及原理分析(二):网络结构和 Loss 计算
RTL仲裁器设计
Interface isolation principle
[laravel series 7.5] event system
CMU 15-445 database course lesson 5 text version - buffer pool
【 aide 】 comment puis - je faire en sorte que les messages sélectionnés ci - dessous puissent être affichés après l'ouverture de l'article Wechat public number dans un navigateur externe?
Loop filtering to uncover the technical principle behind video thousand fold compression
Flutter doctor shows the solution that Xcode is not installed
Flutter--Button浅谈
图像变换 torchvision.transforms 笔记