Re: Confirming the autovacuum daemon is running

From: "Jim Buttafuoco" <jim(at)contactbda(dot)com>
To: "Karl O(dot) Pinc" <kop(at)meme(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Confirming the autovacuum daemon is running
Date: 2006-02-09 12:56:54
Message-ID: 20060209125547.M51908@contactbda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I would be "nice" if vacuum/analyze recorded in a table pg_vacuum (for example) the last time it ran and some stats for
each table

Jim

---------- Original Message -----------
From: "Karl O. Pinc" <kop(at)meme(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Sent: Thu, 09 Feb 2006 00:31:57 +0000
Subject: Re: [GENERAL] Confirming the autovacuum daemon is running

> On 02/08/2006 06:06:25 PM, Tom Lane wrote:
> > "Karl O. Pinc" <kop(at)meme(dot)com> writes:
> > > What is the proper way to confirm that the autovacuum daemon
> > > is running?
> >
> > The autovac process doesn't run continuously, so you wouldn't
> > necessarily see it in ps.
>
> Thanks.
>
> I suppose then if I really wanted to I could look at frozen
> transaction ids or something.
>
> Considering how important vacuuming is, it might be nice to
> have an entry in the postmaster startup log or something
> that confirms vacuuming is actually happening. Better yet
> something that says that it is _not_ turned
> on, because if it is turned on and things go bad
> I presume that then they'll be an indication in the
> logs. Done that way, when there are vacuum problems,
> regardless of why, there'll always be something in
> the log.
>
> Karl <kop(at)meme(dot)com>
> Free Software: "You don't pay back, you pay forward."
> -- Robert A. Heinlein
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
------- End of Original Message -------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emi Lu 2006-02-09 14:25:19 About CASE Studio - generate SQL output (how to link tablespace to table definition)
Previous Message Marcio 2006-02-09 11:34:15 Situation with delphi7 x postgresql 8.1.2