Add mention of execution time memory for enable_partitionwise_* GUCs
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2024-07-17T22:33:35Z
Lists: pgsql-hackers
Attachments
- enable_partitionwise_doc_change.patch (application/octet-stream) patch
Over on [1], there's a complaint about a query OOMing because the use of enable_partitionwise_aggregate caused a plan with 1000 Hash Aggregate nodes. The only mention in the docs is the additional memory requirements and CPU for query planning when that GUC is enabled. There's no mention that execution could use work_mem * nparts more memory to be used. I think that's bad and we should fix it. I've attached my proposal to fix that. David [1] https://postgr.es/m/3603c380-d094-136e-e333-610914fb3e80%40gmx.net
Commits
-
Doc: mention executor memory usage for enable_partitionwise* GUCs
- 447e25c04915 12.20 landed
- 5eea78af2d3c 13.16 landed
- 51895d08b41a 14.13 landed
- 27146e79bf03 15.8 landed
- a459e583e06b 16.4 landed
- 3256722d7b7f 17.0 landed
- 057ee9183c21 18.0 landed