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

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

Wiki / 配置参数

enable_partition_pruning

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

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

boot val
on
category
Query Tuning / Planner Method Configuration
context
user
documented
true
enumvals
未知
extra desc
Allows the query planner and executor to compare partition bounds to conditions in the query to determine which partitions must be scanned.
lang
en
max val
未知
metadata version
18
min val
未知
name
enable_partition_pruning
short desc
Enables plan-time and execution-time partition pruning.
source
pg-settings-source-snapshot
unit
未知
vartype
bool

版本定义 PG 18

允许或者禁止查询规划器从查询计划中消除一个分区表的分区。这也控制着规划器产生允许执行器在查询执行期间移除(忽略)分区的查询计划的能力。默认值是on。详情请参考第 5.12.4 节。

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · english-manuals:d56f8eb51418179cd24b865b34e9c1e4341bb2a766c1645cfc351b2bba178542

正文语言: zh-Hans · 2026-09-11@29c86d9