控制文件里的备份信息什么情况下会消失

[复制链接]
查看11 | 回复9 | 2013-11-30 10:39:31 | 显示全部楼层 |阅读模式
rman的nocatalog备份信息是放在控制文件里的,久了以后在什么情况下这些备份信息会被删除或覆盖的?有出现这种情况吗
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
日期超过这个天数control_file_record_keep_time
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
好像不是吧。
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
是的,控制文件中的备份信息将会被覆盖
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
我一般都是将 CONTROL_FILE_RECORD_KEEP_TIME 参数设置成20天。
CONTROL_FILE_RECORD_KEEP_TIMEProperty Description
Parameter type Integer
Default value 7 (days)
Modifiable ALTER SYSTEM
Range of values 0 to 365 (days)
Basic No

CONTROL_FILE_RECORD_KEEP_TIME specifies the minimum number of days before a reusable record in the control file can be reused. In the event a new record needs to be added to a reusable section and the oldest record has not aged enough, the record section expands. If this parameter is set to 0, then reusable sections never expand, and records are reused as needed.
If the number of reusable records in the control file exceeds the circular reuse record limit UB4MAXVAL, then reusable records will be overwritten even if CONTROL_FILE_RECORD_KEEP_TIME has not elapsed. UB4MAXVAL is defined in the oratypes.h header file, which is found in the public directory. Its value may vary according to the operating system you are using.
Note:
This parameter applies only to records in the control file that are circularly reusable (such as archive log records and various backup records). It does not apply to records such as datafile, tablespace, and redo thread records, which are never reused unless the corresponding object is dropped from the tablespace.

http://download.oracle.com/docs/ ... s034.htm#REFRN10020
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
原帖由 nokilled 于 2011-4-5 22:13 发表
是的,控制文件中的备份信息将会被覆盖

如果controlfile还有空闲空间呢?
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
准确的说 超过CONTROL_FILE_RECORD_KEEP_TIME 的记录随时都有可能被覆盖!
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
呵呵,如果时间未到,但controlfile的size到了最大限制,oracle会怎么办?
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
oracle 会自动扩展控制文件,如果磁盘达到了上限,仍然会覆盖旧的记录,并在log中记录。
回复

使用道具 举报

千问 | 2013-11-30 10:39:31 | 显示全部楼层
mark
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行