From: Tom Lane <tgl@sss.pgh.pa.us>
To: webb sprague <wsprague@o1.com>
Cc: pgsql-general@postgresql.org
Subject: Re: WAL logs eating my diskspace!!
Date: Fri, 11 May 2001 19:30:05 -0400
Message-ID: <7776.989623805@sss.pgh.pa.us> (raw)
In-Reply-To: <0105111540060A.08603@lappi.o1.com>
References: <000601c0d202$203b2b10$2001a8c0@blockhead>
<3AF83B71.1C8DDDFA@mindark.com>
<01051110103601.08603@lappi.o1.com>
<0105111540060A.08603@lappi.o1.com>
webb sprague <wsprague@o1.com> writes:
> Is there a way to flush them more often?
Reduce the time interval between WAL checkpoints. (But don't overdo it.)
Perhaps every three or so minutes, rather than five?
> Otherwise, they can fill up the
> disk space and crash the postmaster. I am doing bulk copies, but the logs
> hang around for up to 20 minutes after the copy is finished.
Another possibility is to issue a manual CHECKPOINT command as soon as
you've finished a bulk copy.
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, wsprague@o1.com, pgsql-general@postgresql.org
Subject: Re: WAL logs eating my diskspace!!
In-Reply-To: <7776.989623805@sss.pgh.pa.us>
References: <000601c0d202$203b2b10$2001a8c0@blockhead> <3AF83B71.1C8DDDFA@mindark.com> <01051110103601.08603@lappi.o1.com> <0105111540060A.08603@lappi.o1.com> <7776.989623805@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