From: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
---|---|
To: | tomas(dot)vondra(at)2ndquadrant(dot)com |
Cc: | tgl(at)sss(dot)pgh(dot)pa(dot)us, alvherre(at)2ndquadrant(dot)com, petr(at)2ndquadrant(dot)com, jeff(dot)janes(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: multivariate statistics v14 |
Date: | 2016-03-26 09:18:33 |
Message-ID: | 20160326.181833.1902389187691662331.t-ishii@sraoss.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Fair point. Attached is v18 of the patch, after pgindent cleanup.
Here are some feedbacks to v18 patch.
1) regarding examples in create_statistics manual
Here are numbers I got. "with statistics" referrers to the case where
multivariate statistics are used. "without statistics" referrers to the
case where multivariate statistics are not used. The numbers denote
estimated_rows/actual_rows. Thus closer to 1.0 is better. Some numbers
are shown as a fraction to avoid 0 division. In my understanding case
1, 3, 4 showed that multivariate statistics superior.
with statistics without statistics
case1 0.98 0.01
case2 98/0 1/0
case3 1.05 0.01
case4 1/0 103/0
case5 18.50 18.33
case6 111123/0 1111123/0
2) following comments by me are not addressed in the v18 patch.
> - There's no docs for pg_mv_statistic (should be added to "49. System
> Catalogs")
>
> - The word "multivariate statistics" or something like that should
> appear in the index.
>
> - There are some explanation how to deal with multivariate statistics
> in "14.1 Using Explain" and "14.2 Statistics used by the Planner"
> section.
Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
From | Date | Subject | |
---|---|---|---|
Next Message | Dilip Kumar | 2016-03-26 09:48:44 | Re: Relation extension scalability |
Previous Message | David G. Johnston | 2016-03-26 04:35:05 | Re: Alter or rename enum value |