From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | pgsql-docs <pgsql-docs(at)postgresql(dot)org> |
Subject: | formula about the number of WAL files |
Date: | 2010-10-14 03:00:02 |
Message-ID: | AANLkTik0sqru9oMZeTL4vnFkAaDYZB=-Meonv9gnroiu@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Hi,
----------------
29.4. WAL Configuration
There will always be at least one WAL segment file, and will normally not
be more than (2 + checkpoint_completion_target) * checkpoint_segments + 1
or checkpoint_segments + wal_keep_segments + 1 files.
----------------
The above formula is wrong. The correct is
(2 + checkpoint_completion_target) * checkpoint_segments +
wal_keep_segments + 1
The attached patch fixes this fault.
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
Attachment | Content-Type | Size |
---|---|---|
num_of_wal_formula_v2.patch | application/octet-stream | 1.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Kupershmidt | 2010-10-14 03:25:25 | Re: Documenting removal of nonnullvalue() and friends |
Previous Message | Robert Haas | 2010-10-14 01:56:35 | Re: Documenting removal of nonnullvalue() and friends |