Re: stats collector process high CPU utilization

От: Benjamin Minshall
Тема: Re: stats collector process high CPU utilization
Дата: ,
Msg-id: 45E73A6F.50800@intellicon.biz
(см: обсуждение, исходный текст)
Ответ на: Re: stats collector process high CPU utilization  (Tom Lane)
Список: pgsql-performance

Скрыть дерево обсуждения

stats collector process high CPU utilization  (Benjamin Minshall, )
 Re: stats collector process high CPU utilization  (Tom Lane, )
  Re: stats collector process high CPU utilization  (Benjamin Minshall, )
   Re: stats collector process high CPU utilization  (Tom Lane, )
    Re: stats collector process high CPU utilization  (Benjamin Minshall, )
     Re: stats collector process high CPU utilization  (Tom Lane, )
      Re: stats collector process high CPU utilization  (Benjamin Minshall, )
       Re: stats collector process high CPU utilization  (Tom Lane, )
        Re: stats collector process high CPU utilization  (Benjamin Minshall, )
         Re: stats collector process high CPU utilization  (Tom Lane, )
          Re: stats collector process high CPU utilization  (, )
           Re: stats collector process high CPU utilization  (Tom Lane, )
            Re: stats collector process high CPU utilization  (Alvaro Herrera, )
             Re: stats collector process high CPU utilization  (Tom Lane, )
              Re: stats collector process high CPU utilization  (Tom Lane, )
               Re: stats collector process high CPU utilization  (Benjamin Minshall, )
                Re: stats collector process high CPU utilization  (Tom Lane, )
                 Re: stats collector process high CPU utilization  (Benjamin Minshall, )
                  Re: stats collector process high CPU utilization  (Tom Lane, )
                   Re: stats collector process high CPU utilization  (Benjamin Minshall, )
                   Re: stats collector process high CPU utilization  ("Merlin Moncure", )
                    Re: stats collector process high CPU utilization  (Tom Lane, )
                     Re: stats collector process high CPU utilization  ("Merlin Moncure", )
                      Re: stats collector process high CPU utilization  (Tom Lane, )
                       Re: stats collector process high CPU utilization  (Magnus Hagander, )
                   Re: stats collector process high CPU utilization  (Bruce Momjian, )
                    Re: stats collector process high CPU utilization  ("Joshua D. Drake", )

Tom Lane wrote:
> A further report led us to realize that 8.2.x in fact has a nasty bug
> here: the stats collector is supposed to dump its stats to a file at
> most every 500 milliseconds, but the code was actually waiting only
> 500 microseconds :-(.  The larger the stats file, the more obvious
> this problem gets.
>
> If you want to patch this before 8.2.4, try this...
>

Thanks for the follow-up on this issue, Tom.  I was able to link the
original huge stats file problem to some long(ish) running transactions
which blocked VACUUM, but this patch will really help.  Thanks.

-Ben

Вложения

В списке pgsql-performance по дате сообщения:

От: "Joshua D. Drake"
Дата:
Сообщение: Re: strange performance regression between 7.4 and 8.1
От: "Alex Deucher"
Дата:
Сообщение: Re: strange performance regression between 7.4 and 8.1