ITPub博客

首页 > 数据库 > Oracle > 11g闪回日志(flashback log)保留时间参数 - db_flashback_retention_target

11g闪回日志(flashback log)保留时间参数 - db_flashback_retention_target

原创 Oracle 作者:tolywang 时间:2014-05-06 09:38:14 0 删除 编辑
查看  DB_FLASHBACK_RETENTION_TARGET 参数是默认值 1440 (分钟), 即一天时间。 文档对于它的解释如下:

DB_FLASHBACK_RETENTION_TARGET specifies the upper limit (in minutes) on how far back in time the database may be flashed back. How far back one can flashback a database depends on how much flashback data Oracle has kept in the flash recovery area.    

但是实际测试中发现, 只要 flashback 区足够大,归档文件不删除,系统都可以回退到超过1天的某个历史时间点, 没有对闪回日志
文件进行覆盖 。 

版主 zergduan: 我觉得这个和control_file_record_keep_time样,只是代表了一天前的flashback log可以被删除,但是否删除,还是看fra使用率是否达到那个阈值。

作者的话: 这里的阀值应该指的是 参数 db_recovery_file_dest_size 设置的大小 ,这个大小只是一个阀值,不会占用空间。

版主Yong Huang:
I searched on MOS but couldn't find an answer. Zergduan's explanation may be right.

I remember we used to enable flashback database on our 10gR2 database. It quickly ran out of space and, contrary to what we learned, the logs were not automatically deleted. I don't think we set any guaranteed restore point, and the DB_FLASHBACK_RETENTION_TARGET setting was not outrageous. We stopped doing it anyway.

详情参考 :  http://www.itpub.net/thread-1864839-1-1.html  

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/35489/viewspace-1154751/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14695902