当前位置:网站首页>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 !

边栏推荐
- 参考 | Win11 开启热点之后电脑不能上网
- ThreadLocal digs its knowledge points again
- RMAN-08137 主库无法删除归档文件
- 针对直播痛点的关键技术解析——首帧秒开、清晰度、流畅度
- 2022.06.26(LC_6101_判断矩阵是否是一个 X 矩阵)
- I'm almost addicted to it. I can't sleep! Let a bug fuck me twice!
- Tips for using Jupiter notebook
- 2022.06.26(LC_6100_统计放置房子的方式数)
- Associated GIS: all roads lead to ue5 City
- JS EventListener
猜你喜欢

Enumeration? Constructor? Interview demo

VIM from dislike to dependence (20) -- global command

MySQL索引详解

關聯GIS:條條道路通UE5城

支付宝微信支付业务流程图

经典的一道面试题,涵盖4个热点知识

JVM层次上的对象的创建过程和内存布局

Rough reading DS transunet: dual swing transformer u-net for medical image segmentation

Correctly understand MySQL mvcc

参考 | Win11 开启热点之后电脑不能上网
随机推荐
[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
0号进程,1号进程,2号进程
JS EventListener
Redis的事务
MySQL index details
Static code block vs construction code block
05 observer mode
How much memory does the data type occupy? LongVsObject
All tutor information on one page
DV scroll board width of datav rotation table component
LVGL GUI GUIDER移植代码到STM32
Ready to migrate to the cloud? Please accept this list of migration steps
关于el-date-picker点击清空参数变为null的问题
[notes on c++ primer] Chapter 3 string, vector and array
数据类型占内存大小?LongVsObject
Redis master-slave replication and sentinel mode
不会初始化类的几种Case
Refer to | the computer cannot access the Internet after the hotspot is turned on in win11
CLassLoader
浏览器的markdown插件显示不了图片