Re: Number of WAL segment - Mailing list pgsql-general

From Michael Paquier
Subject Re: Number of WAL segment
Date
Msg-id CAB7nPqRvtT1iS2xSor4gN467jwY8BrGD2zR28sYbBfV+x5eLbg@mail.gmail.com
Whole thread Raw
In response to Re: Number of WAL segment  (tdev457 <idzob23@gmail.com>)
List pgsql-general
On Tue, Sep 17, 2013 at 2:35 PM, tdev457 <idzob23@gmail.com> wrote:
> Thanks,
> I am confused now.When checkpoint_segment is set to 3 there are 7 WAL
> segments in pg_xlog.When I set checkpoint_segments to 10 there are 11 WAL
> segments.
The maximum number of WAL files is defined by this formula:
(2 + checkpoint_completion_target) * checkpoint_segments + 1
http://www.postgresql.org/docs/8.3/static/wal-configuration.html
Note that this is a soft limit, there could be more than 3 *
checkpoint_segments + 1 for a short period.
--
Michael


pgsql-general by date:

Previous
From: Luca Ferrari
Date:
Subject: Re: Partitioning V schema
Next
From: Michael Paquier
Date:
Subject: Re: Number of WAL segment