| From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Jeff Davis <jdavis(at)postgresql(dot)org> |
| Cc: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: significant slowdown of HashAggregate between 9.6 and 10 |
| Date: | 2020-06-05 01:22:03 |
| Message-ID: | 267a8b8ea4c6610b8f6a4b23cdaa5e4e088f341a.camel@j-davis.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, 2020-06-04 at 11:41 -0700, Andres Freund wrote:
> +/* minimum number of initial hash table buckets */
> +#define HASHAGG_MIN_BUCKETS 256
>
>
> I don't really see much explanation for that part in the commit,
> perhaps
> Jeff can chime in?
I did this in response to a review comment (point #5):
https://www.postgresql.org/message-id/20200219191636.gvdywx32kwbix6kd@development
Tomas suggested a min of 1024, and I thought I was being more
conservative choosing 256. Still too high, I guess?
I can lower it. What do you think is a reasonable minimum?
Regards,
Jeff Davis
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2020-06-05 01:41:44 | Re: v13: Performance regression related to FORTIFY_SOURCE |
| Previous Message | Jeff Davis | 2020-06-05 01:09:15 | Re: v13: Performance regression related to FORTIFY_SOURCE |