Re: formula about the number of WAL files
От | Simon Riggs |
---|---|
Тема | Re: formula about the number of WAL files |
Дата | |
Msg-id | 1287134396.1725.1300.camel@ebony обсуждение исходный текст |
Ответ на | formula about the number of WAL files (Fujii Masao <masao.fujii@gmail.com>) |
Ответы |
Re: formula about the number of WAL files
|
Список | pgsql-docs |
On Thu, 2010-10-14 at 12:00 +0900, Fujii Masao wrote: > ---------------- > 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. The current docs are wrong, but your re-definition doesn't match the actual code in CreateCheckPoint(). I've updated the docs to reflect how the code behaves. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Training and Services
В списке pgsql-docs по дате отправления: