pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: hchuang95@gmail.com
Subject: BUG #15682: Change default value of checkpoint_completion_target to 0.9 for better performance?
Date: Sat, 09 Mar 2019 04:06:47 +0000
Message-ID: <15682-6f5b4628a045d939@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15682
Logged by:          Haoc Huang
Email address:      hchuang95@gmail.com
PostgreSQL version: 11.0
Operating system:   Ubuntu 18.04
Description:        

The [official
document](https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server)
recommends to set **checkpoint_completion_target** to **0.9**, which is the
more useful value and improves the performance.
"You can spread those writes out further, lowering the average write
overhead, by increasing the checkpoint_completion_target parameter to its
useful maximum of 0.9  (aim to finish by the time 90% of the next checkpoint
is here) rather than the default of 0.5 (aim to finish when the next one is
50% done).  "

I wonder if the default need to be changed for performance concern. Thanks.



Message-ID: <15682-6f5b4628a045d939@postgresql.org>
Permalink:  ../15682-6f5b4628a045d939@postgresql.org/
Also on:    postgresql.org/message-id/15682-6f5b4628a045d939@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, hchuang95@gmail.com
  Subject: Re: BUG #15682: Change default value of checkpoint_completion_target to 0.9 for better performance?
  In-Reply-To: <15682-6f5b4628a045d939@postgresql.org>
  References: <15682-6f5b4628a045d939@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox