Re: Change default of checkpoint_completion_target - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Change default of checkpoint_completion_target
Date
Msg-id 519044.1611084646@sss.pgh.pa.us
Whole thread Raw
In response to Re: Change default of checkpoint_completion_target  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Change default of checkpoint_completion_target  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Any further comments or thoughts on this one?

This:

+        total time between checkpoints. The default is 0.9, which spreads the
+        checkpoint across the entire checkpoint timeout period of time,

is confusing because 0.9 is obviously not 1.0; people will wonder
whether the scale is something strange or the text is just wrong.
They will also wonder why not use 1.0 instead.  So perhaps more like

    ... The default is 0.9, which spreads the checkpoint across almost
    all the available interval, providing fairly consistent I/O load
    while also leaving some slop for checkpoint completion overhead.

The other chunk of text seems accurate, but there's no reason to let
this one be misleading.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Change default of checkpoint_completion_target
Next
From: Stephen Frost
Date:
Subject: Re: Change default of checkpoint_completion_target