- 最后登录
- 2022-10-11
- 在线时间
- 137 小时
- 威望
- 163
- 金钱
- 1477
- 注册时间
- 2012-1-10
- 阅读权限
- 50
- 帖子
- 217
- 精华
- 1
- 积分
- 163
- UID
- 158
|
5#
发表于 2012-6-5 23:10:25
CONTROL_FILE_RECORD_KEEP_TIME = integer
For example, if the parameter value is 14, then any record aged 14 days and older is a candidate for reuse. Information in an overwritten record is lost. The oldest record available for reuse will be used first.
The default value of CONTROL_FILE_RECORD_KEEP_TIME is 7 days. If you are not using a recovery catalog, then set the CONTROL_FILE_RECORD_KEEP_TIME value to slightly longer than the oldest file that you need to keep. For example, if you back up the whole database once a week, then you need to keep every backup for at least seven days. Set CONTROL_FILE_RECORD_KEEP_TIME to a value such as 10 or 14.
通过这两段话的理解:
1:11g中control_file_record_keep_time默认参数为30,现在我怀疑和这个参数有关,这个参数会导致30天之前的归档文件信息在控制文件中删除掉吗?
应该是会被删除掉。( The oldest record available for reuse will be used first.)
2:但是在设置为7天的时候,也可以看到超过7天以上的归档日志信息,请问这个是怎么回事?
我认为是:由于参数是从30天改到7天时,由于原来存放30天信息的control_file的文件大小变得 比如果是一开始就设置control_file_record_keep_time=7 文件 足够大。有足够的空间来存放大于7天的备份信息,虽然这些备份信息可以被reuse,但由于控制文件够……暂时还不会覆盖这些可以被resue的备份信息
---不知道这样讲 对不对。 |
|