pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jboes@nexcerpt.com
To: pgsql-admin@postgresql.org
Subject: VACUUM ANALYZE--how often?
Date: 15 Jan 2002 08:15:16 -0800
Message-ID: <d40a65a1.0201150815.c29c95a@posting.google.com> (raw)

Our database has about 70 tables.  Only a half-dozen or so have more
than 100K rows, and all of these change (99% inserts, 10K-50K rows)
during an average day.

VACUUM ANALYZE takes over an hour, and it's edging up by a couple
minutes per day.

Is there a way to look at the DEBUG stats from the VACUUM command
(written to the postmaster log) to determine what the optimum interval
would be between VACUUMs? (Perhaps I could do three of the "big"
tables on odd-numbered days, and the rest on even-numbered days?)



view thread (3+ messages)  latest in thread

Message-ID: <d40a65a1.0201150815.c29c95a@posting.google.com>
Permalink:  ../d40a65a1.0201150815.c29c95a@posting.google.com/
Also on:    postgresql.org/message-id/d40a65a1.0201150815.c29c95a@posting.google.com

 · 

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: jboes@nexcerpt.com
  Subject: Re: VACUUM ANALYZE--how often?
  In-Reply-To: <d40a65a1.0201150815.c29c95a@posting.google.com>
  References: <d40a65a1.0201150815.c29c95a@posting.google.com>

* 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