Help Center> Data Replication Service> User Guide> Check Items> Database Parameters> Checking Whether the wal_keep_segments Value of the Source Database Is Correctly Configured

Checking Whether the wal_keep_segments Value of the Source Database Is Correctly Configured

PostgreSQL

Table 1 Checking whether the wal_keep_segments value of the source database is correctly configured

Check Item

Whether the wal_keep_segments value of the source database is correctly configured

Description

The migration will fail if the wal_keep_segments value of the source database is too small.

Failure Cause and Handling Suggestion

Failure cause: The wal_keep_segments value is too small.

Handling suggestion: Set wal_keep_segments to a value greater than or equal to n (n = Source database size x 5%/16). If the source database is busy, increase the value n accordingly.

Failure cause: The wal_keep_segments parameter in the source database cannot be checked because the source database size failed to be obtained.

Handling suggestion: Contact Huawei technical support.

Failure cause: Insufficient user permissions

Handling suggestion: Check whether the database user permissions meet the migration requirements.

Failure cause: Internal error

Handling suggestion: Contact Huawei technical support.