public inbox for [email protected]
help / color / mirror / Atom feedFrom: Arne Roland <[email protected]>
To: Richard Guo <[email protected]>
To: Andrei Lepikhov <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Subject: Re: A performance issue with Memoize
Date: Thu, 18 Jan 2024 07:39:09 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAMbWs4-OmOT0nnAKSQ8ydeu_ZvxYcjfzQS9GEuyOXpPaqqQwXg@mail.gmail.com>
References: <CAMbWs48XHJEK1Q1CzAQ7L9sTANTs9W1cepXu8=Kc0quUL+tg4Q@mail.gmail.com>
<[email protected]>
<CAMbWs49qgcP2syquh=Ep4LEn4Kyu_Y+dd48pDhfFg0Cwq1y0UQ@mail.gmail.com>
<[email protected]>
<CAMbWs4-OmOT0nnAKSQ8ydeu_ZvxYcjfzQS9GEuyOXpPaqqQwXg@mail.gmail.com>
Hi Richard,
I can tell this a real world problem. I have seen this multiple times in
production.
The fix seems surprisingly simple.
I hope my questions here aren't completely off. I still struggle to
think about the implications.
I wonder, if there is any stuff we are breaking by bluntly forgetting
about the subplan params. Maybe some table valued function scan within a
subquery scan? Or something about casts on a join condition, that could
be performed differently?
I wasn't able to construct a problem case. I might be just missing
context here. But I am not yet fully convinced whether this is safe to
do in all cases.
Regards
Arne
view thread (20+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: A performance issue with Memoize
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox