Re: improving write performance for logging application

Поиск
Список
Период
Сортировка
От Steve Eckmann
Тема Re: improving write performance for logging application
Дата
Msg-id 43BBD8C1.9080807@computer.org
обсуждение исходный текст
Ответ на Re: improving write performance for logging application  (Ian Westmacott <ianw@intellivid.com>)
Список pgsql-performance
Ian Westmacott wrote:

>We have a similar application thats doing upwards of 2B inserts
>per day.  We have spent a lot of time optimizing this, and found the
>following to be most beneficial:
>
>1)  use COPY (BINARY if possible)
>2)  don't use triggers or foreign keys
>3)  put WAL and tables on different spindles (channels if possible)
>4)  put as much as you can in each COPY, and put as many COPYs as
>    you can in a single transaction.
>5)  watch out for XID wraparound
>6)  tune checkpoint* and bgwriter* parameters for your I/O system
>
Thanks, Ian. I will look at how to implement your suggestions.

Regards, Steve

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

Предыдущее
От: Steve Eckmann
Дата:
Сообщение: Re: improving write performance for logging application
Следующее
От: Ron
Дата:
Сообщение: Re: improving write performance for logging