Re: Planner: rows=1 after "similar to" where condition.

Поиск
Список
Период
Сортировка
От Joris Dobbelsteen
Тема Re: Planner: rows=1 after "similar to" where condition.
Дата
Msg-id E4953B65D9E5054AA6C227B410C56AA9C3D5@exchange1.joris2k.local
обсуждение исходный текст
Ответ на Planner: rows=1 after "similar to" where condition.  ("Joris Dobbelsteen" <Joris@familiedobbelsteen.nl>)
Список pgsql-general
>-----Original Message-----
>From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>Sent: Wednesday, 5 March 2008 0:29
>To: Joris Dobbelsteen
>Cc: Gregory Stark; Scott Marlowe; pgsql-general@postgresql.org
>Subject: Re: [GENERAL] Planner: rows=1 after "similar to"
>where condition.
>
>"Joris Dobbelsteen" <Joris@familiedobbelsteen.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Postgresql Page Layout details
Следующее
От: Najib Abi Fadel
Дата:
Сообщение: Re: Postgresql Page Layout details