Re: Forcing wal rotation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Postgresql-General <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Forcing wal rotation
Date: 2006-07-14 16:09:31
Message-ID: 21144.1152893371@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> I've now thought about how to fix that without doing that rather crude rsync-pg_xlog-hack.
> I've read through the code, and learned that wal-segments are expected to have a specific size -
> thus rotating them "early" is not that easy.

Simon was working on a patch for this at the code sprint; I think it's
submitted to -patches already. Explicitly filling the segment as you
propose would be really bad for performance.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2006-07-14 16:17:25 Re: Forcing wal rotation
Previous Message Kris Jurka 2006-07-14 16:09:08 build with different options than Bruce