| От | Tom Lane |
|---|---|
| Тема | Re: can't handle large number of INSERT/UPDATEs |
| Дата | |
| Msg-id | 13823.1098827594@sss.pgh.pa.us обсуждение |
| Ответ на | Re: can't handle large number of INSERT/UPDATEs ("Anjan Dave" <adave@vantage.com>) |
| Список | pgsql-performance |
"Anjan Dave" <adave@vantage.com> writes:
> None of the locks are in state false actually.
In that case you don't have a locking problem.
> I don't have iostat on that machine, but vmstat shows a lot of writes to
> the drives, and the runnable processes are more than 1:
I get the impression that you are just saturating the write bandwidth of
your disk :-(
It's fairly likely that this happens during checkpoints. Look to see if
the postmaster has a child that shows itself as a checkpointer in "ps"
when the saturation is occurring. You might be able to improve matters
by altering the checkpoint frequency parameters (though beware that
either too small or too large will likely make matters even worse).
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера