From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>, Postgresql-General <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Forcing wal rotation |
Date: | 2006-07-14 16:39:37 |
Message-ID: | 1152895177.2592.8.camel@holly |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 2006-07-14 at 12:09 -0400, Tom Lane wrote:
> "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.
Slightly different patch. I'm working on this one still.
> Explicitly filling the segment as you
> propose would be really bad for performance.
Yes, current approach I am taking is better than that.
--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | John DeSoi | 2006-07-14 16:51:22 | Re: contrib promotion? |
Previous Message | Tom Lane | 2006-07-14 16:37:19 | Re: contrib promotion? |