Re: vacuum and 24/7 uptime

From: Philip Molter <philip(at)datafoundry(dot)net>
To: Mark <mark(at)ldssingles(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuum and 24/7 uptime
Date: 2001-07-12 03:28:59
Message-ID: 20010711222859.O12723@datafoundry.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On Wed, Jul 11, 2001 at 03:55:46PM -0600, Mark wrote:
:
: We increased shared memory in the linux kernel, which decreased the vacuumdb
: time from 40 minutes to 14 minutes on a 450 mhz processor. We calculate that
: on our dual 1ghz box with ghz ethernet san connection this will go down to
: under 5 minutes. This is acceptable to us. Sorry about the unnecessary post.

The other thing you can do is run vacuum more frequently. The less it
has to do, the less time it takes (it appears). We run vacuum on an
active system every half-hour with little to no delay (the tables
aren't very big, though, like 10000 or 100000 rows, depending on the
table). We also recreate the indices on the most frequent table every
12 hours, since vacuum doesn't clean up after indices (again, it
appears).

Of course, we're still looking forward to 7.2 where some of this will
hopefully be unnecessary.

* Philip Molter
* DataFoundry.net
* http://www.datafoundry.net/
* philip(at)datafoundry(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-07-12 03:48:42 Re: [GENERAL] Re: Debian's PostgreSQL packages
Previous Message John Clark Naldoza y Lopez 2001-07-12 03:15:41 Re: A small question about Red Hat

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-07-12 04:22:23 Re: setXXX patches
Previous Message Dave Cramer 2001-07-12 00:49:21 setXXX patches