Re: Possible Bug: high CPU usage for stats collector in 8.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible Bug: high CPU usage for stats collector in 8.2
Дата
Msg-id 15236.1172779033@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Possible Bug: high CPU usage for stats collector in 8.2  (Darcy Buskermolen <darcyb@commandprompt.com>)
Ответы Re: Possible Bug: high CPU usage for stats collector in 8.2  (Andrew Dunstan <andrew@dunslane.net>)
Re: Possible Bug: high CPU usage for stats collector in 8.2  (Darcy Buskermolen <darcyb@commandprompt.com>)
Список pgsql-hackers
Darcy Buskermolen <darcyb@commandprompt.com> writes:
> I'm observing high CPU usage (95%) of a 2.6GHz opteron by the stats
> collector on an 8.2.3 box  investigation has lead me to belive that the
> stats file is written a lot more often that once every 500ms  the
> following shows this behavior.

Looks like someone broke the usage of PGSTAT_STAT_INTERVAL between 8.1
and 8.2 ... it's waiting 500 microseconds, not the intended 500
milliseconds.
        regards, tom lane


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: HOT - preliminary results
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Google SoC: lots of discussion, very few mentors