Re: 100% of CPU utilization postgres process

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 100% of CPU utilization postgres process
Дата
Msg-id 183.1264394135@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 100% of CPU utilization postgres process  (Hashimoto Yuya <hill_climb@hotmail.com>)
Ответы Re: 100% of CPU utilization postgres process  (Hashimoto Yuya <hill_climb@hotmail.com>)
Список pgsql-general
Hashimoto Yuya <hill_climb@hotmail.com> writes:
> [ lots of time spent by stats collector process ]

How large is $PGDATA/global/pgstat.stat ?

If it's very large (many MB), try doing pg_stats_reset().  If that makes
the stats collector CPU usage drop, consider an update to PG 8.4.x,
which is more efficient at dealing with large stats files.

            regards, tom lane

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

Предыдущее
От: Steeles
Дата:
Сообщение: Postgresql HA on MSCS over VMWARE
Следующее
От: Hashimoto Yuya
Дата:
Сообщение: Re: 100% of CPU utilization postgres process