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

formula about the number of WAL files

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 (view raw or flat)
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: num_of_wal_formula_v2.patch
Description: application/octet-stream (1.0 KB)

Responses

pgsql-docs by date

Next:From: Josh KupershmidtDate: 2010-10-14 03:25:25
Subject: Re: Documenting removal of nonnullvalue() and friends
Previous:From: Robert HaasDate: 2010-10-14 01:56:35
Subject: Re: Documenting removal of nonnullvalue() and friends

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