当前位置:网站首页>Rman-08137 main library failed to delete archive file
Rman-08137 main library failed to delete archive file
2022-06-27 08:32:00 【cqszpx】
When deleting an archive in the main database, the following error occurs
RMAN > delete archivelog until time "sysdate-7";
RMAN-08137: Warning : Archive log not deleted , Because the standby or upstream capture process needs it
as a result of log_archive_dest_state_x Set to DEFER, however Oracle Thought that as long as it was set log_archive_dest_n The standby database is considered to exist , Just temporarily unavailable , Therefore, the archive will not be deleted .
You can do this by setting hidden parameters ( Dynamic parameters ) To avoid this problem , The default value is true, This parameter will consider the deferred archive destination completely unavailable , And archive logs are no longer saved for these destinations
stay SQLplus Modify the following parameters
alter system set "
_deferred_log_dest_is_valid" = FALSE scope=both;
SQL > alter system set "
_deferred_log_dest_is_valid" = FALSE scope=both;
Then log in RMAN Now you can clean up the archive log :
RMAN> delete archivelog until time "sysdate-7"; -- Delete 7 Archive logs from days ago .
Delete successful !

边栏推荐
- Etcd tutorial - Chapter 5 etcd etcdctl usage
- 並發編程JUC的AQS底層源碼
- ServletConfig and ServletContext
- Redis configuration file details
- ServletConfig与ServletContext
- Code source AQS sous - jacent pour la programmation simultanée juc
- [batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,
- Redis的持久化机制
- MySQL索引详解
- vim 从嫌弃到依赖(20)——global 命令
猜你喜欢

数字IC-1.9 吃透通信协议中状态机的代码编写套路
![[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,](/img/d1/b7e70e6f0be8e128f38afbe7ac927c.png)
[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,

MySQL索引详解

Redis installation under Linux

2022.06.26(LC_6101_判断矩阵是否是一个 X 矩阵)

I'm almost addicted to it. I can't sleep! Let a bug fuck me twice!

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

2022.06.26 (LC Luo 6101 Luo determines whether the matrix is an X matrix)

webrtc入门:12.Kurento下的RtpEndpoint和WebrtcEndpoint

MySQL锁详解
随机推荐
IO管脚配置和pinctrl驱动
CLassLoader
Coggle 30 days of ML July competition learning
[cloud native] 2.3 kubernetes core practice (Part 1)
冒牌构造函数???
Redis configuration file details
浏览器的markdown插件显示不了图片
[c++ primer notes] Chapter 4 expression
2022.6.26-----leetcode. seven hundred and ten
JVM common garbage collector
The most direct manifestation of memory leak
How much do you know about the cause of amplifier distortion?
A classic interview question covering 4 hot topics
Reference | upgrade win11 mobile hotspot can not be opened or connected
How Oracle converts strings to multiple lines
内部类~锁~访问修饰符
ThreadLocal再次挖掘它的知识点
Summary of three basic interview questions
JVM层次上的对象的创建过程和内存布局
vim 从嫌弃到依赖(20)——global 命令