Re: multivariate statistics (v19)
Tomas Vondra <tomas.vondra@2ndquadrant.com>
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>, Dean Rasheed <dean.a.rasheed@gmail.com>, Heikki Linnakangas <hlinnaka@iki.fi>, Michael Paquier <michael.paquier@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Tatsuo Ishii <ishii@postgresql.org>, David Steele <david@pgmasters.net>, Tom Lane <tgl@sss.pgh.pa.us>, Álvaro Herrera <alvherre@2ndquadrant.com>, Petr Jelinek <petr@2ndquadrant.com>, Jeff Janes <jeff.janes@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-01-03T16:22:48Z
Lists: pgsql-hackers
On 01/03/2017 02:42 PM, Dilip Kumar wrote: > On Tue, Dec 13, 2016 at 3:20 AM, Tomas Vondra > <tomas.vondra@2ndquadrant.com> wrote: >> attached is v21 of the patch series, rebased to current master (resolving >> the duplicate OID and a few trivial merge conflicts), and also fixing some >> of the issues you reported. > > I wanted to test the grouping estimation behaviour with TPCH, While > testing I found some crash so I thought of reporting it. > > My setup detail: > TPCH scale factor : 5 > Applied all the patch for 21 series, and ran below queries. > > postgres=# analyze part; > ANALYZE > postgres=# CREATE STATISTICS s2 WITH (ndistinct) on (p_brand, p_type, > p_size) from part; > CREATE STATISTICS > postgres=# analyze part; > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. > The connection to the server was lost. Attempting reset: Failed. > > I think it should be easily reproducible, in case it's not I can send > call stack or core dump. > Thanks for the report. It was trivial to reproduce and it turned out to be a fairly simple bug. Will send a new version of the patch soon. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Collect and use multi-column dependency stats
- 2686ee1b7ccf 10.0 landed
-
Implement SortSupport for macaddr data type
- f90d23d0c518 10.0 cited
-
Implement multivariate n-distinct coefficients
- 7b504eb282ca 10.0 landed
-
Generate fmgr prototypes automatically
- 352a24a1f9d6 10.0 cited