[Oracle]为何Archivelog 没有马上被删除
2017-10-02 10:48
197 查看
[Oracle]为何Archivelog 没有马上被删除
客户设置了 Archivelog 的 deletion policy 是 CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
所以,他认为只要在Standby 端提交了,就应该将此 Archivelog 自动删除。
但是,客户仍然发现 FRA 满了,所以提出了质疑。
经过调查,我认为,
删除不是马上发生的,只有当系统有需要时,才会进行。
Applied,只是保证这个Archivelog 成为了 删除的候选对象(reclaimable)
论据:
======================================================================
Oracle Database does not
delete eligible files from the flash recovery area
until the space must be reclaimed for some other purpose. ***1
......
Oracle Database automatically deletes eligible files to reclaim space in the recovery area as needed. ***2
...
- Archived redo logs are not eligible for deletion
until all the consumers of the logs have satisfied their requirements ( If Archived Redo Log Deletion Policy is set ) . ***4
论点:
======================================================================
上面的 ***4 说:
applied 之后,它们只是变成 eligible 。
上面的 ***1 和 ***2 说:
FRA有需要的时候,才会 删除的。
结论:
======================================================================
applied 了,也不是马上就删除的。有需要的时候,由系统自动来删除。
客户设置了 Archivelog 的 deletion policy 是 CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
所以,他认为只要在Standby 端提交了,就应该将此 Archivelog 自动删除。
但是,客户仍然发现 FRA 满了,所以提出了质疑。
经过调查,我认为,
删除不是马上发生的,只有当系统有需要时,才会进行。
Applied,只是保证这个Archivelog 成为了 删除的候选对象(reclaimable)
论据:
======================================================================
Oracle Database does not
delete eligible files from the flash recovery area
until the space must be reclaimed for some other purpose. ***1
......
Oracle Database automatically deletes eligible files to reclaim space in the recovery area as needed. ***2
...
- Archived redo logs are not eligible for deletion
until all the consumers of the logs have satisfied their requirements ( If Archived Redo Log Deletion Policy is set ) . ***4
论点:
======================================================================
上面的 ***4 说:
applied 之后,它们只是变成 eligible 。
上面的 ***1 和 ***2 说:
FRA有需要的时候,才会 删除的。
结论:
======================================================================
applied 了,也不是马上就删除的。有需要的时候,由系统自动来删除。
相关文章推荐
- Oracle找回被删除的数据
- oracle的class12驱动没有实现jdbc对clob或blob的存储, 解决办法
- oracle中的一个表空间文件被删除
- oracle安装没有找到文件OCS4J.properties
- 在本地没有安装Oracle的情况下,使用plsql远程连接数据库
- 使用索引的误区之一:没有使用复合索引的前导列导致查询不使用索引——oracle
- 中国为何没有乔布斯
- 工作三年 为何加薪唯独没有你
- plsql连接远程oracle,在本机没有oracle的情况下
- geoserver为何设置的样式没有反应?
- oracle 10.2.0.1没有catnoawr.sql
- 解决执行Oracle控制脚本时遇到的 “cat: /etc/oratab: 没有那个文件或目录”的问题
- 解决oracle 没有监听器的方案
- 处理oracle没有监听器错误
- 处理oracle没有监听器错误
- Oracle数据库案例整理-执行Oracle脚本失败或异常-oracle用户没有目录可执行权限导致执行SQL脚本失败
- oracle客户端连数据库没有权限的处理,留个记号怕忘记
- 设置text-indent:-9999px;为何没有效果?
- 理财,还没有开始但必须马上去做的事情。
- 为何五次方程没有求根公式?