Re: Understanding wal segments

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin Kempter <kevin(at)kevinkempterllc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Understanding wal segments
Date: 2007-11-02 04:38:02
Message-ID: 21716.1193978282@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Kempter 2007-11-02 04:39:07 Re: Understanding wal segments
Previous Message Kevin Kempter 2007-11-02 03:55:15 Understanding wal segments