Re: An idea on faster CHAR field indexing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: An idea on faster CHAR field indexing
Дата
Msg-id 7122.961643899@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: An idea on faster CHAR field indexing  (Giles Lean <giles@nemeton.com.au>)
Ответы Re: An idea on faster CHAR field indexing  (Giles Lean <giles@nemeton.com.au>)
Список pgsql-hackers
Giles Lean <giles@nemeton.com.au> writes:
> My only experience of this was tuning a sort utility, where the extra
> time to convert the strings with strxfrm() and the large additional
> memory requirement killed any advantage strcmp() had over strcoll().
> Whether this would be the case for database indexes in general or
> ideed ever I don't know.

Interesting.  That certainly suggests strxfrm could be a loser for
a database index too, but I agree it'd be nice to see some actual
measurements rather than speculation.

What locale(s) were you using when testing your sort code?  I suspect
the answers might depend on locale quite a bit...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Big 7.1 open items
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Big 7.1 open items