Re: One source of constant annoyance identified

Поиск
Список
Период
Сортировка
От nconway@klamath.dyndns.org (Neil Conway)
Тема Re: One source of constant annoyance identified
Дата
Msg-id 20020628140947.GA3807@klamath.dyndns.org
обсуждение исходный текст
Ответ на Re: One source of constant annoyance identified  ("P.J. \"Josh\" Rovero" <rovero@sonalysts.com>)
Список pgsql-general
On Fri, Jun 28, 2002 at 07:40:46AM -0400, P.J. Josh Rovero wrote:
> LIKE '%dfjdsklfdfjdklfjds' is what is killing you.
>
> LIKE 'sdfdklf%' can be indexed, but the leading wildcard
> forces an index search.

You mean it forces a sequential scan, of course.

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC



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

Предыдущее
От: "Markus Wollny"
Дата:
Сообщение: Re: One source of constant annoyance identified
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7.2.1 optimises very badly against 7.2