wal_level 必须为 logical。max_replication_slots 和 max_wal_senders 参数需要大于待迁移的数据库总数。max_worker_processes 必须大于 max_logical_replication_workers 的值。wal_level,max_replication_slots,max_worker_processes 和 max_wal_senders 的方法如下。wal_level。wal_level = logical
postgres=> select name,setting from pg_settings where name='wal_level';name | setting-----------+---------wal_level | logical(1 row)postgres=> select name,setting from pg_settings where name='max_replication_slots';name | setting-----------------------+---------max_replication_slots | 10(1 row)postgres=> select name,setting from pg_settings where name='max_wal_senders';name | setting-----------------+---------max_wal_senders | 10(1 row)
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback