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

边栏推荐
- ZABBIX deployment instructions (server+win client + switch (H3C))
- JVM common garbage collector
- Time function calculation efficiency of C
- [batch dos-cmd command - summary and summary] - parameters%0,%1,%2,%[0-9],%0-9 in the batch command and batch command parameter position switching command shift, operator% usage in the DOS command
- Helix QAC is updated to 2022.1 and will continue to provide high standard compliance coverage
- Redis五种基本类型
- Matlab tips (19) matrix analysis -- principal component analysis
- JS EventListener
- 關聯GIS:條條道路通UE5城
- ArrayList和LinkedList的区别
猜你喜欢
随机推荐
並發編程JUC的AQS底層源碼
SPARQL基础入门练习
Matlab tips (18) matrix analysis -- entropy weight method
[13. number and bit operation of 1 in binary]
Code source AQS sous - jacent pour la programmation simultanée juc
Time function calculation efficiency of C
Understanding mvcc in MySQL transactions is super simple
一种太阳能电荷泵供电电路的方案设计
Redis transactions
orthofinder直系同源蛋白分析及结果处理
【11. 二维差分】
Read datasets iteratively with xgboost
MySQL环境变量配置的教程
MySQL environment variable configuration tutorial
sql注入之order by注入
准备好迁移上云了?请收下这份迁移步骤清单
100% understanding of 5 IO models
Etcd tutorial - Chapter 5 etcd etcdctl usage
Win10 how to manage startup items?
How much do you know about the cause of amplifier distortion?









