Re: pg_autovacuum Win32 Service startup delay

Поиск
Список
Период
Сортировка
От Harald Armin Massa
Тема Re: pg_autovacuum Win32 Service startup delay
Дата
Msg-id 41F6049B.3050609@gmx.net
обсуждение исходный текст
Ответ на Re: pg_autovacuum Win32 Service startup delay  ("Matthew T. O'Connor" <matthew@zeut.net>)
Список pgsql-patches
Matthew T. O'Connor schrieb:

> In the windows service world, is there any reason pg_autovacuum should
> ever give up?  The reason I had it give up was so that it didn't
> accidently run against a different postgresql instance.  I don't think
> that will happen in the windows service world.  I think it should keep
> trying to do it's job until it's told to exit.

A "never giving up" pg_autovacuum seems a little bit rude to me. It's
like the salesman who keeps trying to sell me something I have clearly
no use.

Especially if in setting up og_autovacuum sth. goes wrong: wrong user,
wrong password. Service keeps running, service keeps using ressources,
seems perfectly normal... but: nothing happens. (and if everything looks
"perfect", checking the logs is not the first you do, do you?)

So: I think a reasonable compromise is to keep pg_autovacuum trying for
some time (maybe 5 minutes as Tom recommended) and after that give up.

Harald


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_autovacuum Win32 Service startup delay
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: WAL: O_DIRECT and multipage-writer