Re: Index Slowing Insert >50x

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index Slowing Insert >50x
Дата
Msg-id 10297.1107235755@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Index Slowing Insert >50x  ("Trevor Ball" <TBall@eppcon.com>)
Список pgsql-performance
"Trevor Ball" <TBall@eppcon.com> writes:
> ... it doesn't
> seem reasonable to me that an index would slow an insert more than
> 50-fold, regardless of hardware or the nature of the index.

Seems pretty slow to me too.  Can you provide a self-contained test
case?

One possibility is that depending on your platform and locale setting,
varchar comparisons can be a whole lot slower than a normal person would
consider sane.  If you're not using C locale, you might try C locale and
see if it helps.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Automagic tuning
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Automagic tuning