Re: Size on Disk - Mailing list pgsql-admin

From Tom Lane
Subject Re: Size on Disk
Date
Msg-id 11414.1069826007@sss.pgh.pa.us
Whole thread Raw
In response to Re: Size on Disk  (Grzegorz Dostatni <dostatnig@yahoo.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: A quick question about domains
Next
From: "Andrei Bintintan"
Date:
Subject: Re: Sensitive sort problem?