Re: Help with duration of statement: EXECUTE [PREPARE: COMMIT]
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Help with duration of statement: EXECUTE |
| Дата | |
| Msg-id | 9954.1287498334@sss.pgh.pa.us обсуждение |
| Ответ на |
Re: Help with duration of statement: EXECUTE |
| Список | pgsql-performance |
Eric Comeau <ecomeau@signiant.com> writes:
> Okay - I'm starting to see other stmts other than just commits taking
> longer than 5 secs sometimes as well now - stress test has been running
> for 3 days now...some commits 17 and 15 secs ouch...
If it's not just commits then some of the stranger theories go away.
I think you're almost certainly looking at overstressed disk.
It'd be worth your while to turn on checkpoint logging and see if
the slow operations occur during checkpoints. If so, you might be
able to ameliorate things by tweaking the checkpoint parameters
to spread out checkpoint I/O load some more. But the bottom line
here is that you haven't got much headroom between your application's
needs and the max throughput available from your disk. Better disk
hardware will be the only real cure.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера