タイプ: | integer |
デフォルト: | 2 |
分: | 0 |
最大: | 262143 |
コンテキスト: | sighup |
再起動: | false |
以来: | 10 |
サブスクリプションごとの同期ワーカーの最大数です。このパラメータは、サブスクリプションの初期化中、あるいは新しいテーブルが追加されたときの初期データコピーの並列度を制御します。
今のところ、一つのテーブルにつき、同期ワーカーは一つだけです。
同期ワーカーは、max_logical_replication_workersで定義されたプールから取得されます。
デフォルト値は2です。
推奨事項 [EN]
Consider raising to cores/2 when initially synchronizing logical replication for a new replica.
On StackOverflow
On pgsql-hackers
- [PATCH] Reuse Workers and Replication Slots during Logical Replication
- Re: Logical replication missing information
- Re: GUC values - recommended way to declare the C variables?
- Re: Perform streaming logical transactions by background workers and parallel apply
- Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication