pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lee Wu <Lwu@mxlogic.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum full - disk space eaten by WAL logfiles
Date: Mon, 10 Jan 2005 16:26:52 -0500
Message-ID: <3250.1105392412@sss.pgh.pa.us> (raw)
In-Reply-To: <ECAB83AA52BCC043A0E24BBC000010241114E1@mxhq-exch.corp.mxlogic.com>
References: <ECAB83AA52BCC043A0E24BBC000010241114E1@mxhq-exch.corp.mxlogic.com>

"Lee Wu" <Lwu@mxlogic.com> writes:
> When we do weekly "vacuum full", PG uses all space and causes PG down.

This implies that checkpoints aren't completing for some reason.
If they were, they'd be recycling WAL space.

I'm not aware of any problems in 7.3 that would block a checkpoint
indefinitely, but we have seen cases where it just took too darn long
to do the checkpoint --- implying either a ridiculously large
shared_buffers setting, or a drastic shortage of I/O bandwidth.

You might want to try strace'ing the checkpoint process to see if it
seems to be making progress or not.

Also, are you certain that this is happening during a VACUUM?  The
log messages you show refer to COPY commands.

>  PostgreSQL 7.3.2 on i686-pc-linux-gnu, compiled by GCC 2.96

Are you aware of the number and significance of post-7.3.2 bug fixes
in the 7.3 branch?  You really ought to be on 7.3.8, if you can't afford
to migrate to 7.4 right now.

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <3250.1105392412@sss.pgh.pa.us>
Permalink:  ../3250.1105392412@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3250.1105392412@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, Lwu@mxlogic.com
  Subject: Re: Vacuum full - disk space eaten by WAL logfiles
  In-Reply-To: <3250.1105392412@sss.pgh.pa.us>
  References: <ECAB83AA52BCC043A0E24BBC000010241114E1@mxhq-exch.corp.mxlogic.com> <3250.1105392412@sss.pgh.pa.us>

* 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