Re: "pgstat wait timeout" warnings

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: "pgstat wait timeout" warnings
Дата
Msg-id 2785503.QPqdNFJ4MH@alap2
обсуждение исходный текст
Ответ на Re: "pgstat wait timeout" warnings  (Bernd Helmle <mailings@oopsware.de>)
Ответы Re: "pgstat wait timeout" warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thursday, August 11, 2011 11:49:12 Bernd Helmle wrote:
> --On 10. August 2011 21:54:06 +0300 Heikki Linnakangas
> 
> <heikki.linnakangas@enterprisedb.com> wrote:
> > So my theory is that if the I/O is really busy, write() on the stats
> > file
> > blocks for more than 5 seconds, and you get the timeout.
> 
> I've seen it on customer instances with very high INSERT peak loads (several
> dozens backends INSERTing/UPDATEing data concurrently). We are using a RAM
> disk for stats_temp_directory now for a while, and the timeout never
> occured again.
Yes, I have seen it several times as well. I can actually reproduce it without 
much problems, so if you have some idea to test...

I also routinely use stats_temp_directory + tmpfs to solve this (and related 
issues). I really think the stats file mechanism should be improved 
fundamentally.

Andres


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

Предыдущее
От: Bernd Helmle
Дата:
Сообщение: Re: "pgstat wait timeout" warnings
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: Fast GiST index build