Re: the right time to vacuum database?

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: the right time to vacuum database?
Date: 2007-06-06 19:51:01
Message-ID: 20070606195101.GF11545@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

On Tue, Jun 05, 2007 at 05:28:10PM -0700, Charles.Hou wrote:
> Client connected: about 100 pc, 1 pc with 1 connection at least, the
> max is 4 connections

So up to 400 connections? Are they all running transactions? For
any length of time?

> 194 tables on the database, and some of the tables always executed
> the update/insert command .

So _some_ tables are getting updated? (Inserts are not really
relevant to vacuuming here, but they'll surely be relevant to size)

> i also set the autovacuum to enable. today, the database size is
> 497MB. 497-440MB=57MB, 57 MB have been increased in 18 hours.
> what's wrong with my PostgreSql Server?

Maybe nothing. How much data do you think you're putting in there?
What does VACUUM VERBOSE say, as I asked about -- are you getting a
lot of dead space?

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The whole tendency of modern prose is away from concreteness.
--George Orwell

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2007-06-06 19:54:59 Re: 8.2.4 Won't Build 8.1 Functional Indexes
Previous Message Chris Hoover 2007-06-06 18:12:12 8.2.4 Won't Build 8.1 Functional Indexes

Browse pgsql-sql by date

  From Date Subject
Next Message Charles.Hou 2007-06-07 07:07:03 Re: the right time to vacuum database?
Previous Message Kristo Kaiv 2007-06-06 15:56:14 Re: current_date / datetime stuff