Re: Poor row estimates from planner, stat `most_common_elems` sometimes missing for a text[] column - Mailing list pgsql-performance

From Tom Lane
Subject Re: Poor row estimates from planner, stat `most_common_elems` sometimes missing for a text[] column
Date
Msg-id 2157136.1758309802@sss.pgh.pa.us
Whole thread Raw
In response to Re: Poor row estimates from planner, stat `most_common_elems` sometimes missing for a text[] column  (Matt Long <matt@mattlong.org>)
List pgsql-performance
Matt Long <matt@mattlong.org> writes:
> I finally got around to testing your patch on a realistic data set. In
> short, the patch worked beautifully even with the division by 2 removed. In
> case it's helpful, the full write up of my investigation can be found at
> https://gist.github.com/mattlong/0617bec6e1cf5bc6b70c6c2951901df7

Thank you!  I'm now inclined to keep the divisions by 2 (with comment
fixes).

            regards, tom lane



pgsql-performance by date:

Previous
From: Matt Long
Date:
Subject: Re: Poor row estimates from planner, stat `most_common_elems` sometimes missing for a text[] column
Next
From: Tom Lane
Date:
Subject: Re: Indexes on expressions with multiple columns and operators