Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: pg_autovacuum does not start on system


  • From: "Matthew T. O'Connor" <matthew(at)tocr(dot)com>
  • To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
  • Cc: Harald Massa <ghum(at)gmx(dot)net>, pgsql-hackers-win32(at)postgresql(dot)org
  • Subject: Re: pg_autovacuum does not start on system
  • Date: Mon, 24 Jan 2005 12:31:37 -0500
  • Message-id: <41F530F9(dot)2020205(at)tocr(dot)com>

Dave Page wrote:

The problem with that is that with service start taking 3 minutes,
restarting the service manually could be somewhat annoying for simple
config changes (bear in mind that the service doesn't report that it is
running until it has connected successfully to the database). What about
a command line option to specify a delay? That way the user will know
about it because they will have specified it?


One answer might be to have pg_autovacuum not be so pessimistic failed connections. I wrote it so that pg_autovacuum exits if it fails to connect. Perhaps instead, when pg_autovacuum fails to connect it should sleep for a while and then retry. Perhaps the best plan would be a new command line option that when used tells pg_autovacuum to continue to retry for ever, when not used, it will still work the way it always did.

Matthew




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group