当前位置:网站首页>RMAN-08137 主库无法删除归档文件
RMAN-08137 主库无法删除归档文件
2022-06-27 08:20:00 【cqszpx】
在主库删除归档时报如下错误
RMAN > delete archivelog until time "sysdate-7";
RMAN-08137:警告:归档日志未删除,因为备用或上游捕获进程需要它
原因是log_archive_dest_state_x设置为DEFER,但是Oracle认为只要设置了log_archive_dest_n就会认为备库存在,只是暂时不可用而已,因此不会删除归档。
可以通过设置隐含参数(动态参数)来规避这个问题,默认值是true,该参数将认为延迟存档目的地完全不可用,并且不再为这些目的地保存归档日志
在SQLplus里面修改以下参数
alter system set "
_deferred_log_dest_is_valid" = FALSE scope=both;
SQL > alter system set "
_deferred_log_dest_is_valid" = FALSE scope=both;
然后登陆RMAN下面即可清理归档日志:
RMAN> delete archivelog until time "sysdate-7"; --删除7天前的归档日志。
删除成功!

边栏推荐
- No matter how good LCD and OLED display technologies are, they cannot replace this ancient display nixie tube
- ArrayList和LinkedList的区别
- How much do you know about the cause of amplifier distortion?
- 直接修改/etc/crontab 文件内容,定时任务不生效
- MySQL about auto increment sum cannot be empty
- 【10. 差分】
- lvgl使用demo及说明2
- Preliminary understanding of C #
- 淘宝虚拟产品开店教程之作图篇
- Read datasets iteratively with xgboost
猜你喜欢

Matlab tips (18) matrix analysis -- entropy weight method

Redis的事务

No matter how good LCD and OLED display technologies are, they cannot replace this ancient display nixie tube

即构「畅直播」,全链路升级的一站式直播服务

粗读DS-TransUNet: Dual Swin Transformer U-Net for Medical Image Segmentation

Design of a solar charge pump power supply circuit

"Short video" Linxia fire rescue detachment carries out fire safety training

MySQL索引详解

L'introduction en bourse de Wild Wind Pharmaceutical a pris fin: Yu pinzeng, qui avait l'intention de lever 540 millions de RMB, a effectué un investissement P2P.

PayPal账户遭大规模冻结!跨境卖家如何自救?
随机推荐
野風藥業IPO被終止:曾擬募資5.4億 實控人俞蘠曾進行P2P投資
ArrayList和LinkedList的区别
Design of a solar charge pump power supply circuit
vim 从嫌弃到依赖(20)——global 命令
RockerMQ消息发送与消费模式
Redis配置文件详解
lvgl使用demo及说明2
MySQL lock details
If xn > 0 and X (n+1) /xn > 1-1/n (n=1,2,...), Prove that the series Σ xn diverges
第6届蓝桥杯
ZABBIX deployment instructions (server+win client + switch (H3C))
What is futures reverse documentary?
【批处理DOS-CMD命令-汇总和小结】-cmd的内部命令和外部命令怎么区分,CMD命令和运行(win+r)命令的区别,
No matter how good LCD and OLED display technologies are, they cannot replace this ancient display nixie tube
淘宝虚拟产品开店教程之作图篇
Recognize the ordering of O (nlogn)
Redis的事务
Blind survey shows that female code farmers are better than male code farmers
Associated GIS: all roads lead to ue5 City
March into machine learning -- Preface