pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Improve ANALYZE's strategy for finding MCVs.
Date: Thu, 22 Mar 2018 10:45:59 +0000
Message-ID: <CANP8+jKpBe7_=uQkhK7V6N4ON4SLBEVjVPpMCwyFTtwoYro8ug@mail.gmail.com> (raw)
In-Reply-To: <E1eywjV-0005PP-Kr@gemulon.postgresql.org>
References: <E1eywjV-0005PP-Kr@gemulon.postgresql.org>

On 22 March 2018 at 09:42, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:

> Improve ANALYZE's strategy for finding MCVs.

> Thus it tends to produce
> fewer MCVs than the previous code for uniform distributions, and more
> for non-uniform distributions, reducing estimation errors in both
> cases.  In addition, the algorithm responds better to increasing the
> statistics target, allowing more values to be included in the MCV list
> when more of the table is sampled.
>
> Jeff Janes, substantially modified by me. Reviewed by John Naylor and
> Tomas Vondra.

git praise --all

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (2+ messages)

Message-ID: <CANP8+jKpBe7_=uQkhK7V6N4ON4SLBEVjVPpMCwyFTtwoYro8ug@mail.gmail.com>
Permalink:  ../CANP8+jKpBe7_=uQkhK7V6N4ON4SLBEVjVPpMCwyFTtwoYro8ug@mail.gmail.com/
Also on:    postgresql.org/message-id/CANP8+jKpBe7_=uQkhK7V6N4ON4SLBEVjVPpMCwyFTtwoYro8ug@mail.gmail.com

 · 

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-committers@postgresql.org
  Cc: simon@2ndquadrant.com, dean.a.rasheed@gmail.com
  Subject: Re: pgsql: Improve ANALYZE's strategy for finding MCVs.
  In-Reply-To: <CANP8+jKpBe7_=uQkhK7V6N4ON4SLBEVjVPpMCwyFTtwoYro8ug@mail.gmail.com>
  References: <E1eywjV-0005PP-Kr@gemulon.postgresql.org> <CANP8+jKpBe7_=uQkhK7V6N4ON4SLBEVjVPpMCwyFTtwoYro8ug@mail.gmail.com>

* 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