Re: strange performance regression between 7.4 and 8.1

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: strange performance regression between 7.4 and 8.1
Дата
Msg-id 20070302193319.GA12629@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: strange performance regression between 7.4 and 8.1  (Florian Weimer <fweimer@bfk.de>)
Список pgsql-performance
Florian Weimer escribió:

> Locale settings make a huge difference for sorting and LIKE queries.
> We usually use the C locale and SQL_ASCII encoding, mostly for
> performance reasons.  (Proper UTF-8 can be enforced through
> constraints if necessary.)

Hmm, you are aware of varchar_pattern_ops and related opclasses, right?
That helps for LIKE queries in non-C locales (though you do have to keep
almost-duplicate indexes).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Anton Rommerskirchen
Дата:
Сообщение: Re: strange performance regression between 7.4 and 8.1
Следующее
От: "Alex Deucher"
Дата:
Сообщение: Re: strange performance regression between 7.4 and 8.1