一、ORACLE官方的定义如下:
CONTROL_FILE_RECORD_KEEP_TIME
Property 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.
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.
二 、个人理解
CONTROL_FILE_RECORD_KEEP_TIME定义了控制文件中,可被重用的记录,在重用前的最小保留天数。如果一条新的记录需要被添加到可重用记录中,但是旧的记录还没达到最小保留天数(即CONTROL_FILE_RECORD_KEEP_TIME参数指定的值),则该条记录被扩展(可理解为追加)。言外之意,若已达到最小保留天数,则该条记录被被新值覆盖。如果将CONTROL_FILE_RECORD_KEEP_TIME设置为0,则可重用的记录不会被扩展,而是根据需要覆盖旧值。
注:此参数只能应用于控制文件中,可循环重用的部分。如(归档日志记录、各种的备份记录)。而不能应用于数据文件、表空间、重做线程这些记录。这些记录只有当其从表空间中删除后,才可重用。
三、控制文件中可重用的部分
可通过V$CONTROLFILE_RECORD_SECTION动态性能视图查询得到。
ARCHIVED LOG
BACKUP CORRUPTION
BACKUP DATAFILE
BACKUP PIECE
BACKUP REDO LOG
BACKUP SET
COPY CORRUPTION
DATAFILE COPY
DELETED OBJECT
LOGHISTORY
OFFLINE RANGE
BACKUP CORRUPTION
BACKUP DATAFILE
BACKUP PIECE
BACKUP REDO LOG
BACKUP SET
COPY CORRUPTION
DATAFILE COPY
DELETED OBJECT
LOGHISTORY
OFFLINE RANGE
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25264937/viewspace-691195/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25264937/viewspace-691195/