Re: Problem with LIKE-Performance

Поиск
Список
Период
Сортировка
От Dave Dutcher
Тема Re: Problem with LIKE-Performance
Дата
Msg-id 001a01c662f9$f2449f00$8300a8c0@tridecap.com
обсуждение исходный текст
Ответ на Problem with LIKE-Performance  ("Tarabas (Manuel Rorarius)" <tarabas@tarabas.de>)
Ответы Re: Problem with LIKE-Performance  ("Tarabas (Manuel Rorarius)" <tarabas@tarabas.de>)
Re: Problem with LIKE-Performance  (REISS Thomas DSIC DESP <thomas.reiss@interieur.gouv.fr>)
Список pgsql-performance
> -----Original Message-----
> From: pgsql-performance-owner@postgresql.org
[mailto:pgsql-performance-
> owner@postgresql.org] On Behalf Of Tarabas (Manuel Rorarius)
> Subject: [PERFORM] Problem with LIKE-Performance
>
> Hi!
>
>   I am having trouble with like statements on one of my tables.


It looks like you are getting a sequential scan instead of an index
scan.  What is your locale setting?  As far as I know Postgres doesn't
support using indexes with LIKE unless you are using the C locale.

Also, in the future you only need to post EXPLAIN ANALYZE not EXPLAIN
ANALYZE VERBOSE.

Dave



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

Предыдущее
От: "Tarabas (Manuel Rorarius)"
Дата:
Сообщение: Problem with LIKE-Performance
Следующее
От: "Tarabas (Manuel Rorarius)"
Дата:
Сообщение: Re: Problem with LIKE-Performance