Re: Problem with LIKE-Performance

Поиск
Список
Период
Сортировка
От Tarabas (Manuel Rorarius)
Тема Re: Problem with LIKE-Performance
Дата
Msg-id 1043488152.20060418171618@tarabas.de
обсуждение исходный текст
Ответ на Re: Problem with LIKE-Performance  ("Dave Dutcher" <dave@tridecap.com>)
Ответы Re: Problem with LIKE-Performance  (Guido Neitzer <guido.neitzer@pharmaline.de>)
Список pgsql-performance
Hi Dave,

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

Actually no, I am using de_DE as locale because I need the german
order-by support. But even for a seq-scan it seems pretty slow, but that's
just a feeling. The table currently has ~172.000 rows and is suposed to
rise to about 1 mio or more.

Is there any way to speed the like's up with a different locale than C
or to get an order by in a different Locale although using the
default C locale?

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

ok, i will keep that in mind :-) didn't know how verbose you would need
it *smile*

Best regards
Manuel


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

Предыдущее
От: "Dave Dutcher"
Дата:
Сообщение: Re: Problem with LIKE-Performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with LIKE-Performance