Re: Sort time

Поиск
Список
Период
Сортировка
От pginfo
Тема Re: Sort time
Дата
Msg-id 3DD508A1.8DA09511@t1.unisoftbg.com
обсуждение исходный текст
Ответ на Re: Sort time  ("scott.marlowe" <scott.marlowe@ihs.com>)
Ответы Re: Sort time  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Hi Tom,

I use unicode for my db, but the locale is US!
The unicode is only for non english varchar and I do not make any comparation or
sorts or joins based
on non english fields ( all this is made in the client part of the system).

What locale will be fast?
Have you any info about the speed in the faster locale and in INT?

regards.

Tom Lane wrote:

> pginfo <pginfo@t1.unisoftbg.com> writes:
> > It is huge improvement when I sort by INT field, but I need to sort varchar
> > fileds !
>
> What locale are you using?  strcoll() comparisons can be awfully slow in
> some locales.
>
>                         regards, tom lane




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sort time
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: [GENERAL] Upgrade to dual processor machine?