Re: WAL + SSD = slow inserts?

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: WAL + SSD = slow inserts?
Дата
Msg-id CAMkU=1zwM+p_9-Gi_rBXHYfMtEuiGnDYsjhQWq+yiks4b4AbtA@mail.gmail.com
обсуждение исходный текст
Ответ на WAL + SSD = slow inserts?  (Skarsol <skarsol@gmail.com>)
Список pgsql-performance
On Thu, Dec 5, 2013 at 7:01 AM, Skarsol <skarsol@gmail.com> wrote:
I'm trying to increase the speed of inserts in a database that is on a not super fast storage system. I have installed a pair of SSDs and placed pg_xlog on them but am still getting inserts that take up to a second to complete, with .3 seconds being about average. Iostat doesn't show the SSDs stressed at all, and changing synchronous_commit doesn't seem to affect it one way or the other. Where would I look next for what could be causing the delay?

What are you inserting?  At 0.3 seconds per, I'm guessing this is not just a simple single-row insert statement.
 
Are you IO bound or CPU bound?

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

Предыдущее
От: David Johnston
Дата:
Сообщение: Re: One huge db vs many small dbs
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: WAL + SSD = slow inserts?