Skip site navigation (1) Skip section navigation (2)

Re: Understanding wal segments

From: Kevin Kempter <kevin(at)kevinkempterllc(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Understanding wal segments
Date: 2007-11-02 04:39:07
Message-ID: (view raw or whole thread)
Lists: pgsql-admin
On Thursday 01 November 2007 22:38:02 Tom Lane wrote:
> Kevin Kempter <kevin(at)kevinkempterllc(dot)com> writes:
> > What's the relationship between wal_buffers and checkpoint_segments?
> None particularly.
> > even
> > though the max distance between checkpoints is 32 segments, is there
> > something that controls the number of files/segments in the pg_xlog dir ?
> The system is designed to settle at 2*checkpoint_segments+1 files in
> pg_xlog, assuming that you have activity spikes sufficient to drive it
> up to that level at all.
> 			regards, tom lane
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?

makes sense. our system cetrtianly has the activity needed to push it to that 
level.  I turned on wal archivint 1hr & 10min ago and I already have 135 wal 
segments in my archive directory. I'm running a file system backup, I did a 
pg_start_backup and now I'm running the tar. Will this affect the transaction 
activity? I thought it would not. 

Also I suspect after each filesystem backup I should remove the older archived 
segments since the file system backup makes them irrelevant. Is this 



In response to


pgsql-admin by date

Next:From: Kevin KempterDate: 2007-11-02 05:38:13
Subject: Re: Understanding wal segments
Previous:From: Tom LaneDate: 2007-11-02 04:38:02
Subject: Re: Understanding wal segments

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group