Re: Huge memory consumption on partitioned table with FKs
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: amitlangote09@gmail.com
Cc: alvherre@alvh.no-ip.org, keisuke.kuroda.3862@gmail.com,
tatsuro.yamada.tf@nttcom.co.jp, pgsql-hackers@lists.postgresql.org,
tatsuhito.kasahara.rd@hco.ntt.co.jp
Date: 2020-12-03T08:27:02Z
Lists: pgsql-hackers
At Thu, 03 Dec 2020 17:13:16 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in me> I agree that plans are rather large but the sharable part of the me> RI_ConstraintInfos is 536 bytes, I'm not sure it is small enough me> comparing to the plans. But that has somewhat large footprint.. (See me> the attached) 0001 contains a bug about query_key and get_ri_constaint_root (from your patch) is not needed there, but the core part is 0002 so please ignore them. regards. -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Avoid creating duplicate cached plans for inherited FK constraints.
- c3ffe3486368 14.0 landed