pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Mark Dilger <hornschnorter@gmail.com>
Cc: Adrien Nayrat <adrien.nayrat@dalibo.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists
Date: Sat, 24 Feb 2018 23:01:59 +0100
Message-ID: <2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.com> (raw)
In-Reply-To: <651d8a4d-bd9d-087d-e89c-893f8ab1f257@2ndquadrant.com>
References: <dfdac334-9cf2-2597-fb27-f0fb3753f435@2ndquadrant.com>
	<31ee8686-6d62-7f10-4129-7580ec74a710@dalibo.com>
	<b3688203-7c5d-2d7e-58b6-a6bb04f29b5c@2ndquadrant.com>
	<340ffd44-2d67-d39d-e54f-5a97a842cd3a@2ndquadrant.com>
	<b3e23e18-afbb-2a39-8e15-fe0a6c39a128@2ndquadrant.com>
	<67EAB5B3-F9FB-4753-8102-4D77DCFFFCD4@gmail.com>
	<cf43d6de-617f-83c0-8c14-740c3fa23795@2ndquadrant.com>
	<B3AF05D4-A312-4988-BC5F-256E756C43CB@gmail.com>
	<63aa9ad9-cebd-a842-ea50-7f99b94443cd@2ndquadrant.com>
	<0938F717-F4A0-4568-83B4-80A19887EA25@gmail.com>
	<933aab0d-fd36-9494-e0eb-79ebc4f57ef5@2ndquadrant.com>
	<e410d526-ab5c-0ca3-672b-6a1876a42ea8@2ndquadrant.com>
	<7F76E900-9A20-4640-A431-83B0602C3213@gmail.com>
	<bd60f67c-b7c2-eab4-74d7-28d6bf7ff393@2ndquadrant.com>
	<ECA6477E-8E2D-48CA-835B-062D2B9C1E11@gmail.com>
	<0c41dd0a-78bc-2bbb-43a1-3f8993514240@2ndquadrant.com>
	<CAEepm=1v46WwH1TTxxJyTpB2nrLYzS+R-=bwy2==Zqw=2EmnaA@mail.gmail.com>
	<651d8a4d-bd9d-087d-e89c-893f8ab1f257@2ndquadrant.com>

Hi,

Attached is an updated version of the patch, fixing some minor bitrot
and duplicate OIDs.

Sadly, this patch series does not seem to move forward very much, and
I'm not sure how to change that :-/ But I'd like to point out that while
those new statistics are still per-table, we might use them to improve
join estimates (which is kinda the elephant in the room, when it comes
to estimates) similarly to what eqjoinsel() does with per-column stats.


regards

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

Attachments:

  [application/gzip] 0001-Keep-information-about-already-estimated-cl-20180224.patch.gz (937B, ../2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.com/2-0001-Keep-information-about-already-estimated-cl-20180224.patch.gz)
  download

  [application/gzip] 0002-multivariate-MCV-lists-20180224.patch.gz (31.5K, ../2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.com/3-0002-multivariate-MCV-lists-20180224.patch.gz)
  download

  [application/gzip] 0003-multivariate-histograms-20180224.patch.gz (45.6K, ../2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.com/4-0003-multivariate-histograms-20180224.patch.gz)
  download

view thread (167+ messages)  latest in thread

Message-ID: <2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.com>
Permalink:  ../2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.com/
Also on:    postgresql.org/message-id/2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, thomas.munro@enterprisedb.com, hornschnorter@gmail.com, adrien.nayrat@dalibo.com
  Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists
  In-Reply-To: <2db97323-4967-9a9e-51ac-ac7db64f0922@2ndquadrant.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