Help Center> Data Replication Service> User Guide> Check Items> Database Parameters> Checking Whether the max_locks_per_transaction Value of the Destination Database Is Large Enough

Checking Whether the max_locks_per_transaction Value of the Destination Database Is Large Enough

PostgreSQL

Table 1 Checking whether the max_locks_per_transaction value of the destination database is large enough

Check Item

Whether the max_locks_per_transaction value of the destination database is large enough

Description

If the max_locks_per_transaction value of the destination database is smaller than that of the source database, the migration may fail.

Failure Cause and Handling Suggestion

Failure cause: The max_locks_per_transaction value of the destination database must be equal to or greater than that of the source database.

Handling suggestion: Change the max_locks_per_transaction value of the source or destination database to ensure that the value of the destination database is equal to or greater than that of the source database. After the migration is complete, restore the parameter to its original value.