From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Gregory Stark <stark(at)enterprisedb(dot)com> |
Cc: | "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>, "pgsql-performance" <pgsql-performance(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Estimation problem with a LIKE clause containing a / |
Date: | 2007-11-09 16:33:45 |
Message-ID: | 11342.1194626025@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> Could we not use the bogus range to calculate the histogram estimate
> but apply the LIKE pattern directly to the most-frequent-values
> instead of applying the bogus range? Or would that be too much code
> re-organization for now?
We have already done that for quite some time. It won't help
Guillaume's case anyhow: he's got no MCVs, presumably because the field
is unique.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2007-11-09 16:39:03 | Re: Fix for stop words in thesaurus file |
Previous Message | Tom Lane | 2007-11-09 16:09:19 | Re: New tzdata available |
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Smet | 2007-11-09 16:39:51 | Re: [HACKERS] Estimation problem with a LIKE clause containing a / |
Previous Message | Greg Smith | 2007-11-09 16:11:18 | Re: PostgreSQL vs MySQL, and FreeBSD |