Re: wal_init_zero and wal_recycle

2020-05-28 Thread Fujii Masao
On 2020/05/28 8:43, Thomas Munro wrote: On Wed, May 27, 2020 at 7:09 PM Simon Riggs wrote: On Wed, 27 May 2020 at 04:27, Fujii Masao wrote: Hi, The group of wal_init_zero and wal_recycle is WAL_SETTINGS in guc.c, but their descriptions are located in "19.6. Replication"/"19.6.1. Sending

Re: max_wal_size

2020-05-28 Thread David G. Johnston
On Thu, May 28, 2020 at 2:21 AM wrote: > > Now we have the glossary. According to the glossary, a checkpoint has two > meanings. > > The first meaning is that this is a point: > "A point in the WAL sequence at which it is guaranteed that the heap and > index data files have been updated with all

Re: max_wal_size

2020-05-28 Thread p . luzanov
David, I think part of the issue is your operating with a mental model of this contrary to the one the documentation was written for. I made this assumption(checkpoints triggered by size, checkpoint_completion_target=1) only for simplifying example. (Although there is a practical task: