pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: question on auto_explain
Date: Fri, 4 Aug 2023 14:06:18 +0200
Message-ID: <ZMzpulU5HNg0zlzX@hermes.hilbert.loc> (raw)
In-Reply-To: <20230804053319.uuwupt4qtiwf5x3v@jrouhaud>
References: <trinity-606c746c-267c-4492-a262-bb6b287e7490-1691080184980@3c-app-gmx-bs14>
	<CAKFQuwa4T-ihtV5sQ=PW86evygx8YFKKXbFUshUCRTdN0eo0Xg@mail.gmail.com>
	<trinity-dd3b1a5a-7646-4c8d-8a15-0bd59dd5fb83-1691081608121@3c-app-gmx-bs14>
	<trinity-7a634cbb-d52a-48c7-b541-78c3b16a8629-1691091939561@3c-app-gmx-bs14>
	<20230804053319.uuwupt4qtiwf5x3v@jrouhaud>

Am Fri, Aug 04, 2023 at 01:33:19PM +0800 schrieb Julien Rouhaud:

> > explicit hint towards write query side effects.
>
> The docs says that it automatically shows the execution plans, not that it's
> itself doing an EXPLAIN.

Yep, so maybe _that_ point warrants being pointed out: that
auto_explain *doesn't* suffer from plain EXPLAIN write-query
"side effects" because it instruments normally-run queries
and just outputs to the log extra information (the plans).

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B





view thread (5+ messages)

Message-ID: <ZMzpulU5HNg0zlzX@hermes.hilbert.loc>
Permalink:  ../ZMzpulU5HNg0zlzX@hermes.hilbert.loc/
Also on:    postgresql.org/message-id/ZMzpulU5HNg0zlzX@hermes.hilbert.loc

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: Karsten.Hilbert@gmx.net
  Subject: Re: question on auto_explain
  In-Reply-To: <ZMzpulU5HNg0zlzX@hermes.hilbert.loc>
  References: <trinity-606c746c-267c-4492-a262-bb6b287e7490-1691080184980@3c-app-gmx-bs14> <CAKFQuwa4T-ihtV5sQ=PW86evygx8YFKKXbFUshUCRTdN0eo0Xg@mail.gmail.com> <trinity-dd3b1a5a-7646-4c8d-8a15-0bd59dd5fb83-1691081608121@3c-app-gmx-bs14> <trinity-7a634cbb-d52a-48c7-b541-78c3b16a8629-1691091939561@3c-app-gmx-bs14> <20230804053319.uuwupt4qtiwf5x3v@jrouhaud> <ZMzpulU5HNg0zlzX@hermes.hilbert.loc>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox