| От | Tom Lane |
|---|---|
| Тема | Re: strange pauses |
| Дата | |
| Msg-id | 23693.1200496986@sss.pgh.pa.us обсуждение |
| Ответ на | Re: strange pauses (Richard Huxton <dev@archonet.com>) |
| Список | pgsql-performance |
Richard Huxton <dev@archonet.com> writes:
> Adrian Moisey wrote:
>> If I tail the logs, I see a steady stream of functions that took longer
>> then 5 seconds. But every now and then I see nothing for 3 minutes and
>> after that a whole bunch (about 20 - 30) queries all finishing at the
>> same second.
> Search this list for references to "checkpoints". If you run
> vmstat/iostat for a bit you should see bursts of disk activity at those
> times.
A different line of thought is that something is taking out an exclusive
lock on a table that all these queries need. If vmstat doesn't show any
burst of activity during these pauses, look into pg_locks.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера