Re: simple update queries take a long time - postgres 8.3.1
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: simple update queries take a long time - postgres 8.3.1 |
| Дата | |
| Msg-id | 1751.1207060026@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: simple update queries take a long time - postgres 8.3.1 (Tomasz Ostrowski <tometzky@batory.org.pl>) |
| Ответы |
Re: simple update queries take a long time - postgres 8.3.1
|
| Список | pgsql-general |
Tomasz Ostrowski <tometzky@batory.org.pl> writes:
> I'd also set
> log_checkpoints=on
> to get an idea how it behaves.
Yeah, that's really the *first* thing to do. You need to determine
whether the episodes of slowness are correlated with checkpoints
or not; there's no point fooling with the checkpoint parameters if
not.
Another thing you could try in order to get a handle on what's
happening is to watch the output of "vmstat 1" or a similar tool,
and see if there are spikes in CPU or I/O load when things are
slow. If not, I'd next look into PG's pg_locks view to see if
queries are getting blocked on locks.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера