↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 配置参数

autovacuum_max_workers

指定能同时运行的自动清理进程(除了自动清理启动器之外)的最大数量。默认值为 3。该参数只能在 postgresql.conf 文件或服务器命令行中设置。 请注意,如果该值被设置得高于 autovacuum_worker_slots,将不会产生任何效果,因为自动清理工作进程是从该设置建立的槽位池中获取的。

英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。

当前阅读 PG 19·选择有来源记录的版本

boot val
3
category
Vacuuming / Automatic Vacuuming
context
sighup
doc same as
未知
documented
true
enumvals
未知
extra desc
未知
lang
en
max val
262143
metadata version
19beta4
min val
1
name
autovacuum_max_workers
short desc
Sets the maximum number of simultaneously running autovacuum worker processes.
source
pg-settings-source-snapshot
unit
未知
vartype
integer

版本定义 PG 19

指定能同时运行的自动清理进程(除了自动清理启动器之外)的最大数量。默认值为 3。该参数只能在 postgresql.conf 文件或服务器命令行中设置。

请注意,如果该值被设置得高于 autovacuum_worker_slots,将不会产生任何效果,因为自动清理工作进程是从该设置建立的槽位池中获取的。

比较版本

完整来源事实

doc html

<p>
         Specifies the maximum number of autovacuum processes (other than the
         autovacuum launcher) that may be running at any one time.  The default
         is <code class="literal">3</code>.  This parameter can only be set in the
         <code class="filename">postgresql.conf</code> file or on the server command line.
        </p><p>
         Note that a setting for this value which is higher than
         <a class="xref" href="/docs/19/runtime-config-vacuum.html#GUC-AUTOVACUUM-WORKER-SLOTS">autovacuum_worker_slots</a> will have no effect,
         since autovacuum workers are taken from the pool of slots established
         by that setting.
        </p>

documentation revision

{"inputs":[{"file":"runtime-config-vacuum.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"3f0e5420adc7c68a5733a651132a92d213aea69272cbfb2241fa49936f4ff281","version":"19rc2"},{"file":"runtime-config-vacuum.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"cadf8d7c3933a71d193ef0471416d190668fed0f4f908c6881d167b4d60e438b","version":"19rc2"}],"release":"19rc2","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 19 · wiki-repair-20261023:c86528ebe468fe302a937e9f7b922b4233d5cb6af7facf628c59b9f80209016f

正文语言: zh-Hans · wiki-repair-20261023:c86528ebe468fe302a937e9f7b922b4233d5cb6af7facf628c59b9f80209016f