ARCHIVE_LAG_TARGET
Property |
Description |
Parameter type |
Integer |
Default value |
0(disabled) |
Modifiable |
ALTER SYSTEM |
Range of values |
0 or any integer in [60, 7200] |
Basic |
No |
Oracle RAC |
Multiple instances should use the same value. |
ARCHIVE_LAG_TARGETforces a log switch after the specified amount of time elapses.
A 0 value disables the time-based thread advance feature; otherwise, the value represents the number of seconds. Values larger than 7200 seconds are not of much use in maintaining a reasonable lag in the standby database. The typical, or recommended value is 1800 (30 minutes). Extremely low values can result in frequent log switches, which could degrade performance; such values can also make the archiver process too busy to archive the continuously generated logs.
See Also:
Oracle Data Guard Concepts and Administrationfor more information about criteria for setting this parameter
设置归档时间间隔为30分钟,并查看效果
1
2
3 |
SYS@test> alter system set archive_lag_target=1800;
System altered.
|
1
2
3
4
5
6
7
8
9
10
11 |
-rw-r
-rw-r
-rw-r
-rw-r
-rw-r
-rw-r
-rw-r
-rw-r
-rw-r
-rw-r
[oracle@test archive_log]$
|
end
|