Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine
Дата
Msg-id 4BC79072.10901@agliodbs.com
обсуждение исходный текст
Ответ на Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
>> pg_usleep calls select(), and some googling indicates that select() is
>> implemented as pollsys() on recent Solaris versions.  So Josh's
>> assumption that those are delay calls seems plausible.

It's certainly the behavior I'm seeing otherwise.  In "normal
operation", the number of pages read between pollsys is consistent with
the vacuum delay settings.

>>  But it shouldn't
>> be sleeping after each page with normal cost_delay parameters, should it?

Right, that's why I find this puzzling.  If the problem was easier to
reproduce it would be easier to analyze.

> Certainly not ... The only explanation would be that the cost balance
> gets over the limit very frequently.  So one of the params would have to
> be abnormally high (vacuum_cost_page_hit, vacuum_cost_page_miss,
> vacuum_cost_page_dirty).

Nope, all defaults.  And, all identical to the other server which is
behaving normally.

Honestly, I mostly posted this in hopes that some other Solaris user
would speak up to having seen the same thing.

--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovaccum with cost_delay does not complete on one solaris 5.10 machine
Следующее
От: Tom Lane
Дата:
Сообщение: Re: stats collector suddenly causing lots of IO