max_active_replication_origins
指定同时可以跟踪多少个复制源(参见第 48 章),从而实际上限制了服务器上可以创建多少逻辑复制订阅。将其设置为低于当前正在跟踪的复制源数量(体现在 pg_replication_origin_status 中)会阻止服务器启动。默认值为 10。该参数只能在服务器启动时设置。max_active_replication_origins 至少必须设置为订阅者上要添加的订阅数量,再加上一些用于表同步的预留。
英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 19·选择有来源记录的版本
- boot val
- 10
- category
- Replication / Subscribers
- context
- postmaster
- doc same as
- 未知
- documented
- true
- enumvals
- 未知
- extra desc
- 未知
- lang
- en
- max val
- 262143
- metadata version
- 19beta4
- min val
- 0
- name
- max_active_replication_origins
- short desc
- Sets the maximum number of active replication origins.
- source
- pg-settings-source-snapshot
- unit
- 未知
- vartype
- integer
版本定义 PG 19
指定同时可以跟踪多少个复制源(参见第 48 章),从而实际上限制了服务器上可以创建多少逻辑复制订阅。将其设置为低于当前正在跟踪的复制源数量(体现在 pg_replication_origin_status 中)会阻止服务器启动。默认值为 10。该参数只能在服务器启动时设置。max_active_replication_origins 至少必须设置为订阅者上要添加的订阅数量,再加上一些用于表同步的预留。
比较版本
完整来源事实
doc html
<p>
Specifies how many replication origins (see
<a class="xref" href="/docs/19/replication-origins.html" title="Chapter 48. Replication Progress Tracking">Chapter 48</a>) can be tracked simultaneously,
effectively limiting how many logical replication subscriptions can
be created on the server. Setting it to a lower value than the current
number of tracked replication origins (reflected in
<a class="link" href="/docs/19/view-pg-replication-origin-status.html" title="53.21. pg_replication_origin_status">pg_replication_origin_status</a>)
will prevent the server from starting. It defaults to 10. This parameter
can only be set at server start.
<code class="literal">max_active_replication_origins</code> must be set to at least the
number of subscriptions that will be added to the subscriber, plus some
reserve for table synchronization.
</p>documentation revision
{"inputs":[{"file":"runtime-config-replication.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"76b3c1615af7dd60d031cefd485568e6336b3d13c366e8a473304bd7ef2fb92d","version":"19rc2"},{"file":"runtime-config-replication.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"935f29b71e863329c3c39caae902de37d5bbf03c2adcf42322225d3cefe71a84","version":"19rc2"}],"release":"19rc2","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}来源引用
定义来源
center · PostgreSQL 19 · wiki-repair-20261023:48f130d61c46e7589d1d5e04f23766734c6355564ca2318cc9551ad177c12aa9
正文语言: zh-Hans · wiki-repair-20261023:48f130d61c46e7589d1d5e04f23766734c6355564ca2318cc9551ad177c12aa9