pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Grzegorz Dostatni <dostatnig@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Size on Disk
Date: Wed, 26 Nov 2003 00:53:27 -0500
Message-ID: <11414.1069826007@sss.pgh.pa.us> (raw)
In-Reply-To: <20031126043752.51857.qmail@web10804.mail.yahoo.com>
References: <20031126043752.51857.qmail@web10804.mail.yahoo.com>

Grzegorz Dostatni <dostatnig@yahoo.com> writes:
> Currently the datase is roughly 80 Megs. About half of
> the size is stored in pg_xlog directory. I managed to
> figure out that those files are transaction log files?
> How can I delete them safely?

You can NOT.  Don't even think about going there.

What you can do, if you intend only low-update-volume usage,
is reduce checkpoint_segments to reduce the number of WAL files
the system wants to keep around.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <11414.1069826007@sss.pgh.pa.us>
Permalink:  ../11414.1069826007@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11414.1069826007@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, dostatnig@yahoo.com
  Subject: Re: Size on Disk
  In-Reply-To: <11414.1069826007@sss.pgh.pa.us>
  References: <20031126043752.51857.qmail@web10804.mail.yahoo.com> <11414.1069826007@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