Re: LIKE optimization in UTF-8 and locale-C

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: LIKE optimization in UTF-8 and locale-C
Дата
Msg-id slrnf06rqv.7me.andrew+nonews@atlantis.supernews.net
обсуждение исходный текст
Ответ на Re: LIKE optimization in UTF-8 and locale-C  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: LIKE optimization in UTF-8 and locale-C  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
On 2007-03-23, ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> wrote:
> Thanks, it all made sense to me. My proposal was completely wrong.

Actually, I think your proposal is fundamentally correct, merely incomplete.

Doing octet-based rather than character-based matching of strings is a
_design goal_ of UTF8. Treating UTF8 like any other multibyte charset and
converting everything to wide-chars is, in my opinion, always going to
result in suboptimal performance.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


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

Предыдущее
От: Andrew - Supernews
Дата:
Сообщение: Re: LIKE optimization in UTF-8 and locale-C
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: CREATE INDEX and HOT - revised design