Re: BUG #14917: process hang on create index

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: BUG #14917: process hang on create index
Дата
Msg-id CAH2-WzkefvVR+ZS8JEqnQHL+Lzj6bv7=i8+Lqa3wwVkkJL5koA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #14917: process hang on create index  (Boris Sagadin <sagadin@gmail.com>)
Список pgsql-bugs
On Tue, Nov 21, 2017 at 12:19 AM, Boris Sagadin <sagadin@gmail.com> wrote:
> No string is over 200 chars. By function name I assumed the get_next_seq is
> pgsql related, but now I've learned it's glibc. Sorting in shell with same
> locale is indeed very slow, I used just 1% of data in that column and it
> finishes sorting in a few minutes. Thanks, I'll check with glibc.

If you upgrade to Postgres 10, you could then use ICU collations on
text columns, where CREATE INDEX can be expected to perform
significantly better:

https://blog.anayrat.info/en/2017/11/19/postgresql-10--icu--abbreviated-keys/

-- 
Peter Geoghegan


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: 10.1: hash index size exploding on vacuum full analyze
Следующее
От: jorsol@gmail.com
Дата:
Сообщение: BUG #14920: TEXT binding not works correctly with BPCHAR