Updated on 2026-10-21 GMT+08:00

Archiving

archive_interval

Parameter description: Specifies the archiving interval. Log files are forcibly archived when the period specified by this parameter has elapsed.

Parameter type: integer.

Unit: seconds

Value range: 1 to 1000

Default value: 1

Setting method: This is a SIGHUP parameter. Set it based on instructions provided in Table 1.

Setting suggestion: Retain the default value.

Risks and impacts of improper settings: If the value is too small, data will be archived frequently, occupying storage space. If the value is too large, the RPO of PITR will be affected.

time_to_target_rpo

Parameter description: In dual-cluster remote DR mode, logs of the primary cluster are archived to OBS. Specifies the time allowed from the time when the primary cluster is abnormal to the time when the primary cluster is archived to the recovery point of OBS.

Parameter type: integer.

Unit: seconds

Value range: 0 to 3600

  • 0 indicates that log flow control is disabled.
  • A value from 1 to 3600 indicates the duration from the time when the primary cluster is abnormal to the time when the primary cluster is archived to the recovery point of OBS. This ensures that the maximum data loss duration is within the allowed range when the primary cluster breaks down due to a disaster.

Default value: 10

Setting method: This is a SIGHUP parameter. Set it based on instructions provided in Table 1.

Setting suggestion: Retain the default value.

Risks and impacts of improper settings: If the value is too small, the host performance is affected. If the value is too large, the flow control does not take effect.