| From: | "Joris Dobbelsteen" <Joris(at)familiedobbelsteen(dot)nl> |
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Planner: rows=1 after "similar to" where condition. |
| Date: | 2008-03-06 09:05:11 |
| Message-ID: | E4953B65D9E5054AA6C227B410C56AA9C3D5@exchange1.joris2k.local |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
>-----Original Message-----
>From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
>Sent: Wednesday, 5 March 2008 0:29
>To: Joris Dobbelsteen
>Cc: Gregory Stark; Scott Marlowe; pgsql-general(at)postgresql(dot)org
>Subject: Re: [GENERAL] Planner: rows=1 after "similar to"
>where condition.
>
>"Joris Dobbelsteen" <Joris(at)familiedobbelsteen(dot)nl> writes:
[snip]
>> " Recheck Cond: (((program)::text = 'amavis'::text) AND
>> ((facility)::text = 'mail'::text))"
>
>selects rows that match the regex with much higher probability
>than the general row population does. Since we don't yet have
>any cross-column statistics the planner has no chance of
>realizing that.
Yes, that was it, should have realized that.
Thanks,
- Joris
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Najib Abi Fadel | 2008-03-06 09:08:01 | Re: Postgresql Page Layout details |
| Previous Message | Thomas Pundt | 2008-03-06 09:04:10 | Re: ER Diagram design tools (Linux) |