Re: Memory consumed by child SpecialJoinInfo in partitionwise join planning
Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
To: Richard Guo <guofenglinux@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-08-16T05:28:18Z
Lists: pgsql-hackers
Attachments
- 0003-Do-not-translate-dummy-SpecialJoinInfos-20230816.patch (text/x-patch) patch 0003
- 0001-Report-memory-used-for-planning-a-query-in--20230816.patch (text/x-patch) patch 0001
- 0002-Reduce-memory-used-by-child-SpecialJoinInfo-20230816.patch (text/x-patch) patch 0002
On Fri, Aug 4, 2023 at 2:11 PM Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> wrote: > > Attached patchset fixing those. > 0001 - patch to report planning memory, with to explain.out regression output fix. We may consider committing this as well. > 0002 - with your comment addressed above. 0003 - Added this patch for handling SpecialJoinInfos for inner joins. These SpecialJoinInfos are created on the fly for parent joins. They can be created on the fly for child joins as well without requiring any translations. Thus they do not require any new memory. This patch is intended to be merged into 0002 finally. Added to the upcoming commitfest https://commitfest.postgresql.org/44/4500/ -- Best Wishes, Ashutosh Bapat
Commits
-
Code review for 6190d828cd2
- 0f7863afef67 17.0 landed
-
Do not translate dummy SpecialJoinInfos for child joins
- 6190d828cd25 17.0 landed
-
Reduce memory used by partitionwise joins
- 5278d0a2e870 17.0 landed
-
Remove dummy_spinlock
- 55627ba2d334 17.0 cited