From: Eric Toombs <ewtoombs@uwaterloo.ca>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #16065: The operation nodes in query plans outputted by EXPLAIN have no authoritative definitions.
Date: Sat, 19 Oct 2019 23:51:44 -0400
Message-ID: <23dd54ef-f1cc-e8a3-4d60-4486aeda626a@uwaterloo.ca> (raw)
In-Reply-To: <CAMkU=1yT_wv6zBt-C9GHQrtMjngk5WmAPTzfPFuAvAKk9zvN5g@mail.gmail.com>
References: <16065-4c4eddc338dbd871@postgresql.org>
<CAMkU=1yT_wv6zBt-C9GHQrtMjngk5WmAPTzfPFuAvAKk9zvN5g@mail.gmail.com>
I was unaware of the existence of a docs mailing list. I'll post this there.
On 2019-10-19 17:07, Jeff Janes wrote:
> On Fri, Oct 18, 2019 at 11:02 AM PG Bug reporting form
> <noreply@postgresql.org <mailto:noreply@postgresql.org>> wrote:
>
> The following bug has been logged on the website:
>
> Bug reference: 16065
> Logged by: Eric Toombs
> Email address: ewtoombs@uwaterloo.ca
> <mailto:ewtoombs@uwaterloo.ca>
> PostgreSQL version: 12.0
> Operating system: any
> Description:
>
> The official documentation of EXPLAIN is here:
> https://www.postgresql.org/docs/current/sql-explain.html
>
> It's a start, but it doesn't actually define any of the operation
> nodes in
> the query plan tree it outputs, e.g. Seq Scan, Index Scan, Index
> Only Scan,
> HashAggregate, Nested Loop, Nested Loop Semi Join, Nested Loop
> Anti Join,
> etc.. Online, there are descriptions (i.e. guesses) of what each
> operation
> node is actually doing, but these descriptions are not authoritative.
>
>
> I agree that the documentation of EXPLAIN is sparse in general, but I
> don't buy this particular complaint. If someone doesn't know what a
> Nested Loop is, are they going to understand any reasonable length
> description of it which we can offer? If someone doesn't know the
> very basic vocabulary of computer operations, what words could we use
> to explain things to them?
>
> There may be value in providing translations of those terms into other
> languages, but that is a different topic.
>
>
> With authoritative definitions of each operation node, there would
> be no
> more guesswork, and DBAs could have a much more reliable mental
> model of
> what a query plan actually does.
>
>
> It seems like an infinite regress where we have to provide an
> authoritative definition of every word we use while providing the
> authoritative definitions of the other words we use. Maybe some
> clever person can break that loop, but without seeing a concrete
> proposal I am skeptical it can be done.
>
> In any event, it certainly isn't a bug. Probably the docs mailing
> list would be a better venue to discuss it.
>
> Cheers,
>
> Jeff
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-bugs@postgresql.org
Cc: ewtoombs@uwaterloo.ca, jeff.janes@gmail.com
Subject: Re: BUG #16065: The operation nodes in query plans outputted by EXPLAIN have no authoritative definitions.
In-Reply-To: <23dd54ef-f1cc-e8a3-4d60-4486aeda626a@uwaterloo.ca>
References: <16065-4c4eddc338dbd871@postgresql.org> <CAMkU=1yT_wv6zBt-C9GHQrtMjngk5WmAPTzfPFuAvAKk9zvN5g@mail.gmail.com> <23dd54ef-f1cc-e8a3-4d60-4486aeda626a@uwaterloo.ca>
* 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