当前位置:网站首页>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天前的归档日志。
删除成功!

边栏推荐
- PayPal account has been massively frozen! How can cross-border sellers help themselves?
- 什么是期货反向跟单?
- L'enquête en aveugle a montré que les femmes étaient meilleures que les hommes.
- 游戏资产复用:更快找到所需游戏资产的新方法
- Mysql-8 download, installation and configuration tutorial under Windows
- [12. maximum continuous non repeating subsequence]
- Associated GIS: all roads lead to ue5 City
- Five basic types of redis
- Futures reverse Documentary - training for traders
- [10. difference]
猜你喜欢

Mapping of Taobao virtual product store opening tutorial

【批处理DOS-CMD命令-汇总和小结】-环境变量、路径变量、搜索文件位置相关指令——set、path、where,cmd命令的路径参数中有空格怎么办

DataV轮播表组件dv-scroll-board宽度问题

Matlab tips (19) matrix analysis -- principal component analysis

Lvgl description 3 about the use of lvgl Guide

Redis installation under Linux

Read datasets iteratively with xgboost
![[batch dos-cmd command - summary and summary] - map folder to virtual disk - subst](/img/09/cd12c276392d3465dce1909d0f86a6.png)
[batch dos-cmd command - summary and summary] - map folder to virtual disk - subst

MySQL environment variable configuration tutorial

Mysql事务中MVCC理解超简单
随机推荐
闭包问题
JS EventListener
分析日志.log
Redis配置文件详解
即构「畅直播」,全链路升级的一站式直播服务
(原创)自定义Drawable
LVGL GUI GUIDER移植代码到STM32
Blind survey shows that female code farmers are better than male code farmers
MySQL about auto increment sum cannot be empty
Pin details in rust
lvgl 说明3关于lvgl guider的使用
招聘需求 视觉工程师
Helix QAC更新至2022.1版本,将持续提供高标准合规覆盖率
JVM常见的垃圾收集器
Rust async: SMOL source code analysis -executor
UE5神通--POI解决方案
2022.06.26(LC_6101_判断矩阵是否是一个 X 矩阵)
Zabbix部署说明(Server+Win客户端+交换机(H3C))
【论文阅读】Intrinsically semi-supervised methods
[12. maximum continuous non repeating subsequence]