Christophe Pettus introduces hash_mem_multiplier, a new GUC that decouples memory allocation for hash and sort operations. This allows practitioners to tune these distinct workloads independently, addressing the previously coupled resource constraints. The change enables more precise control over memory usage for specific query patterns.
- Decouples hash and sort memory limits for finer-grained tuning.
- Resolves contention where one operation starved the other.
- Enables targeted optimization for mixed hash/sort workloads.
- New GUC requires explicit configuration to activate separate budgets.
- Improves predictability for memory-intensive query execution plans.