From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: Tomas Vondra <tomas.vondra@postgresql.org>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Add support for multivariate MCV lists
Date: Thu, 28 Mar 2019 10:30:46 +0100
Message-ID: <20190328093046.GF4406@development> (raw)
In-Reply-To: <20190328031535.k36q5l5t3nnth5ey@alap3.anarazel.de>
References: <E1h9DoH-0004Bn-4N@gemulon.postgresql.org>
<20190327190406.3gmupkthnbx7lvho@alap3.anarazel.de>
<CAH2-Wzn8qvKsw3bgixXymQ6CAHTA3Vofw7vCUAFV0qGcTmkerg@mail.gmail.com>
<20190327201346.GB21957@development>
<20190328031535.k36q5l5t3nnth5ey@alap3.anarazel.de>
On Wed, Mar 27, 2019 at 08:15:35PM -0700, Andres Freund wrote:
>Hi,
>
>On 2019-03-27 21:13:46 +0100, Tomas Vondra wrote:
>> On Wed, Mar 27, 2019 at 12:32:34PM -0700, Peter Geoghegan wrote:
>> > On Wed, Mar 27, 2019 at 12:04 PM Andres Freund <andres@anarazel.de> wrote:
>> > > Congrats, this was long in the making!
>> >
>> > +1
>> >
>>
>> Thanks! I guess it's a Gordie Howe of our patches.
>
>Btw, do you have plans to work on using more of this information during
>join planning? Or at least an estimate of how much work that'd be?
>
Yes, I'd like to use more of this info in join estimation. I don't have
an exact plan how to do that - so if anyone has ideas regarding this,
I'd love to hear them.
An obvious option is to add statistics covering multiple tables (the
syntax is already designed with that in mind). But I have a feeling there
are things we can do without that, e.g. using multivariate MCV lists in
eqjoinsel roughly the same way we use per-column MCV lists, etc.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-committers@postgresql.org
Cc: tomas.vondra@2ndquadrant.com, andres@anarazel.de, pg@bowt.ie, tomas.vondra@postgresql.org
Subject: Re: pgsql: Add support for multivariate MCV lists
In-Reply-To: <20190328093046.GF4406@development>
References: <E1h9DoH-0004Bn-4N@gemulon.postgresql.org> <20190327190406.3gmupkthnbx7lvho@alap3.anarazel.de> <CAH2-Wzn8qvKsw3bgixXymQ6CAHTA3Vofw7vCUAFV0qGcTmkerg@mail.gmail.com> <20190327201346.GB21957@development> <20190328031535.k36q5l5t3nnth5ey@alap3.anarazel.de> <20190328093046.GF4406@development>
* 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