pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dalgoda@ix.netcom.com
To: pgsql-admin@postgresql.org
Subject: Re: vacuuming and freed disk space
Date: Tue, 29 Apr 2003 16:48:15 -0700
Message-ID: <vif3ox1if.ln2@thune.mrc-home.org> (raw)
References: <20030429143356.C5EFD3F04@guthrie.charm.net>

In article <20030429143356.C5EFD3F04@guthrie.charm.net>,
john <jimmer@guthrie.charm.net> wrote:
>i am looking at our database table maintenance. we are running a "space
>watch" task that looks at available disk space and removes old records 
>when/if a certain threshold is passed.

I'm wondering:  why?

If you just regularly expired old information anyway, PG will reuse the
data, so you should end up with a steady state.  If really paranoid you can
monitor various PG stats, I believe, and use that to dry when to
delete/vacuum.  But your current approach seemed a little odd to me (a bit
too non-deterministic is my gut feeling).

mrc

-- 
     Mike Castle      dalgoda@ix.netcom.com      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc




view thread (4+ messages)

Message-ID: <vif3ox1if.ln2@thune.mrc-home.org>
Permalink:  ../vif3ox1if.ln2@thune.mrc-home.org/
Also on:    postgresql.org/message-id/vif3ox1if.ln2@thune.mrc-home.org

 · 

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: dalgoda@ix.netcom.com
  Subject: Re: vacuuming and freed disk space
  In-Reply-To: <vif3ox1if.ln2@thune.mrc-home.org>
  References: <20030429143356.C5EFD3F04@guthrie.charm.net> <vif3ox1if.ln2@thune.mrc-home.org>

* 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