Re: Missing query plan for auto_explain.
От
Julien Rouhaud
Тема
Re: Missing query plan for auto_explain.
Дата
Msg-id
20220902044857.jt4mtwo4djgq56po@jrouhaud
Ответ на
Re: Missing query plan for auto_explain. (Matheus Martin)
Список
Дерево обсуждения
Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Missing query plan for auto_explain. Julien Rouhaud <rjuju123@gmail.com>
Re: Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Missing query plan for auto_explain. Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. Julien Rouhaud <rjuju123@gmail.com>
Re: Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. Maxim Boguk <maxim.boguk@gmail.com>
Re: Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. Maxim Boguk <maxim.boguk@gmail.com>
Re: Missing query plan for auto_explain. Matheus Martin <matheus.martin@voidbridge.com>
Re: Missing query plan for auto_explain. Julien Rouhaud <rjuju123@gmail.com>
Hi, On Thu, Sep 01, 2022 at 08:20:13PM +0100, Matheus Martin wrote: > 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? Just to be sure, do you get at least some plans logged by auto_explain when queries are executed by the JDBC application? Can you try to temporarily lower auto_explain.log_min_duration_statements to less than 50ms and see what auto_explain sees for the execution time (and planning time). Another possibility would be some conflicting locks held. If the conflict happens during the planning auto_explain still won't be triggered as it's outside the executor. Also, have you enabled log_lock_waits?
В списке pgsql-general по дате отправления