Re: very very slow inserts into very large table

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: very very slow inserts into very large table
Дата
Msg-id CAGTBQpZ6+VF5WKz8UQaKdWhznV3Ry=HuQnvRRhOk-nGV_t1gkQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: very very slow inserts into very large table  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-performance
On Tue, Jul 17, 2012 at 1:24 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> Also, while indexes are not formally kept in logical order, but they
> do tend to be biased in that direction in most cases.  I've found that
> even if you are only inserting one row for every 4 or 5 leaf pages,
> you still get substantial improvement by doing so in sorted order.

Yep, I do the same. Whenever I have to perform massive updates, I sort them.

Although "massive" for me is nowhere near what "massive" for the OP is.

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Slow application response on lightly loaded server?
Следующее
От: Mike Blackwell
Дата:
Сообщение: Re: Slow application response on lightly loaded server?