Re: Index creation takes more time?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Index creation takes more time?
Дата
Msg-id
14600.1347976331@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: Index creation takes more time? "Herouth Maoz" <herouth@unicell.co.il>
Re: Index creation takes more time? Tom Lane <tgl@sss.pgh.pa.us>
Re: Index creation takes more time? Jeff Janes <jeff.janes@gmail.com>
Re: Index creation takes more time? Herouth Maoz <herouth@unicell.co.il>
"Herouth Maoz"  writes:
> So, I must, at this point, draw the conclusion that string comparison is a much, much heavier task in utf-8 than it is in an 8-bit encoding - or that the collation is the problem.

Going from "C" collation to anything else is generally a huge hit in
terms of string comparison/sorting performance.  Do you really need
locale-aware sorting, or just enforcement of utf8 encoding?  Because you
can use "C" locale with any encoding.

			regards, tom lane

В списке pgsql-general по дате отправления
От: Adrian Klaver
Дата:
Сообщение: Re: Move table - New schema
От: António Rodrigues
Дата:
Сообщение: Re: Move table - New schema
FAQ