Re: Inserts optimization?

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Inserts optimization?
Дата
Msg-id cone.1145108085.293250.47312.1000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Inserts optimization?  (Francisco Reyes <lists@stringsutils.com>)
Список pgsql-performance
Tom Lane writes:

> Also, increasing checkpoint_segments and possibly wal_buffers helps a
> lot for write-intensive loads.

Following up on those two recomendations from Tom.
Tom mentioned in a different message that if the inserst are small that
increasing wal_buffers would not help.

How about checkpoint_segments?
Also commit_delays seems like may be helpfull. Is it too much a risk to set
commit_delays to 1 second? If the machine has any problems while having a
higher commit_delay will the end result simply be that a larger amount of
transactions will be rolled back?

p.s. did not CC Tom because he uses an RBL which is rather "selective" about
what it lets through (one of the worst in my opinion).

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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Re: Inserts optimization?
Следующее
От: "Mikael Carneholm"
Дата:
Сообщение: Migration study, step 2: rewriting queries