From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Pól Ua Laoínecháin <linehanp@tcd.ie>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: EXPLAIN (ANALYZE, BUFFERS) - puzzling numbers for a simple query.
Date: Fri, 04 Jun 2021 09:43:03 -0400
Message-ID: <143204.1622814183@sss.pgh.pa.us> (raw)
In-Reply-To: <fd14173d698cf45d5784c459f63a982aa800b9e6.camel@cybertec.at>
References: <CAF4RT5S11smFE8ASvWY8mproZVUpTDME=OiDy_NOAPiWQsaDZg@mail.gmail.com>
<CAApHDvrZnC8FLOBEQey6_O-N4v5pG1OOL+E918=zVqwsG3LNmg@mail.gmail.com>
<fd14173d698cf45d5784c459f63a982aa800b9e6.camel@cybertec.at>
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> On Sat, 2021-06-05 at 00:12 +1200, David Rowley wrote:
>> As for the call to generate_series, you're not likely to ever get any
>> great estimation from that.
> "generate_series" has a support function from v12 on:
True, but I don't think it can do anything with non-constant inputs,
as we have in the OP's case.
regards, tom lane
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: tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at, dgrowleyml@gmail.com, linehanp@tcd.ie
Subject: Re: EXPLAIN (ANALYZE, BUFFERS) - puzzling numbers for a simple query.
In-Reply-To: <143204.1622814183@sss.pgh.pa.us>
References: <CAF4RT5S11smFE8ASvWY8mproZVUpTDME=OiDy_NOAPiWQsaDZg@mail.gmail.com> <CAApHDvrZnC8FLOBEQey6_O-N4v5pG1OOL+E918=zVqwsG3LNmg@mail.gmail.com> <fd14173d698cf45d5784c459f63a982aa800b9e6.camel@cybertec.at> <143204.1622814183@sss.pgh.pa.us>
* 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