pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Powicki <dpowicki@oit.umass.edu>
To: pgsql-admin@postgresql.org
Subject: slow vacuuming...
Date: Mon, 13 Nov 2000 10:36:00 -0500
Message-ID: <3A100A5F.524D69E8@oit.umass.edu> (raw)




Hi,

    I'm running into major problems with slow vacuuming.  I'm running Postgres
6.5.3 on a Sun Enterprise 250 with dual 300 CPUs and 1 GB of ram.  Currently
there is only one db/table being used in postgres and it's not that big a data
structure (used for PHP session info with IMP).
------------------------------------

horde=> \d active_sessions;
Table    = active_sessions
+----------------------------------+----------------------------------+-------+
|              Field               |              Type                | Length|
+----------------------------------+----------------------------------+-------+
| sid                              | varchar() not null default ''    |    32 |
| name                             | varchar() not null default ''    |    32 |
| val                              | text                             |   var |
| changed                          | varchar() not null default ''    |    14 |
+----------------------------------+----------------------------------+-------+

----------------------------------------------

Each day the DB grows to ~70MB in size and takes upwards of 25 minutes to
vacuum.  A 70MB DB doesn't sound too big and 25 minutes is a painfully long time
to wait.

Any ideas?

David



--

David Powicki     Network Analyst/Postmaster     OIT Network Services
Voice: 413.545.1605  Fax: 413.545.3203    University of Massachusetts
email: dpowicki@nic.umass.edu             Amherst, MA 01003-4640





view thread (3+ messages)  latest in thread

Message-ID: <3A100A5F.524D69E8@oit.umass.edu>
Permalink:  ../3A100A5F.524D69E8@oit.umass.edu/
Also on:    postgresql.org/message-id/3A100A5F.524D69E8@oit.umass.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dpowicki@oit.umass.edu
  Subject: Re: slow vacuuming...
  In-Reply-To: <3A100A5F.524D69E8@oit.umass.edu>
  References: <3A100A5F.524D69E8@oit.umass.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox