From: | Matheus Martin <matheus(dot)martin(at)voidbridge(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Missing query plan for auto_explain. |
Date: | 2022-09-01 19:20:13 |
Message-ID: | CAB_m0bFCfQuVhnk_N3aUjJy3ZN-UwEdSfveK4MtmtqgHbfUddw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
We tried running the prepared statement six times as suggested but wasn't
still able to recreate the original problem.
Perhaps more concerning/relevant is that we have not found any explanation
to why the explain plan is not being logged by `auto_explain`. Could this
be a bug? Shall we report it?
On Tue, 30 Aug 2022 at 17:45, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
wrote:
> On 2022-Aug-30, Matheus Martin wrote:
>
> > Good idea on using an actual prepared statement but unfortunately it
> didn't
> > produce any different result.
>
> I should have also mentioned to try the EXPLAIN EXECUTE six times and
> see if the last one produces a different plan. That's when it switches
> from planning every time to planning with generic arguments, as I
> recall.
>
> > Could you please elaborate a bit on your advice concerning
> > ExecutorEnd/PortalCleanup? I am afraid it doesn't mean much to me.
>
> That wasn't advice actually, just a note that the code might be doing
> that thing wrong, causing auto_explain to miss it. This is an unproven
> hypothesis that is likely to be all wrong.
>
> --
> Álvaro Herrera PostgreSQL Developer —
> https://www.EnterpriseDB.com/
> "I'm impressed how quickly you are fixing this obscure issue. I came from
> MS SQL and it would be hard for me to put into words how much of a better
> job
> you all are doing on [PostgreSQL]."
> Steve Midgley,
> http://archives.postgresql.org/pgsql-sql/2008-08/msg00000.php
>
From | Date | Subject | |
---|---|---|---|
Next Message | Kluzak, Matthew C. | 2022-09-01 20:34:43 | Bind Parameter is Too Big |
Previous Message | Christophe Pettus | 2022-09-01 17:19:05 | Re: Diffs in PG output vs WAL |