Re: postmaster(s) have high load average

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Claudio Lapidus <clapidus(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postmaster(s) have high load average
Date: 2003-08-10 01:02:50
Message-ID: 20030810010250.GA15856@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Sat, Aug 09, 2003 at 05:45:59PM -0300, Claudio Lapidus wrote:
> > Run VACUUM VERBOSE on it; you'll no doubt see that some internal
> > tables such as pg_activity, pg_statistic, and such have a lot of dead
> > tuples. Establishing a connection leads to _some_ DB activity, and
> > probably a dead tuple or two; every time you ANALYZE, you create a
> > bunch of dead tuples since old statistics are "killed off."
>
> What? Does this mean that it is needed to routinely vacuum system tables
> too? If so, which is the recommended procedure?

On our system we do a vacuum analyze every night to cleanup what happened
during the day. Vacuum without a table name does all tables so you don't
explicitly need to list them.

--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> "All that is needed for the forces of evil to triumph is for enough good
> men to do nothing." - Edmond Burke
> "The penalty good people pay for not being interested in politics is to be
> governed by people worse than themselves." - Plato

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2003-08-10 01:08:42 Re: Continued mail server problems for all PGSQL mailing
Previous Message Tom Lane 2003-08-10 00:10:45 Re: Nesting Groups

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Browne 2003-08-10 01:07:34 Re: Batch Operations
Previous Message Robert Creager 2003-08-10 00:34:36 Re: 7.4Beta1 hang?