Re: [GENERAL] Strange checkpoint behavior - checkpoints take a longtime - Mailing list pgsql-general

From Andres Freund
Subject Re: [GENERAL] Strange checkpoint behavior - checkpoints take a longtime
Date
Msg-id 20171006015136.aulvjrnt33tulsx7@alap3.anarazel.de
Whole thread Raw
In response to Re: [GENERAL] Strange checkpoint behavior - checkpoints take a long time  (Vladimir Nicolici <vladnc@gmail.com>)
Responses Re: [GENERAL] Strange checkpoint behavior - checkpoints take alongtime  (Vladimir Nicolici <vladnc@gmail.com>)
List pgsql-general
Hi,

On 2017-10-05 22:58:31 +0300, Vladimir Nicolici wrote:
> I changed some configuration parameters during the night to the values I was considering yesterday:
> 
> - shared_buffers = 144GB #previously 96 GB
> - bgwriter_lru_maxpages = 100  #previously 400
> - checkpoint_timeout = 30min  #previously 5min
> - checkpoint_completion_target = 0.83 #previously 0.85; 0.83 means 25 minutes writes out of 30 minutes.
> - max_wal_size = 96GB #previously 16GB

Which version of postgres is this?

> - wal_buffers = 16MB  #previously 32 MB

That seems quite unlikely to help.

You might want to try also enabling wal_compression, sometimes the WAL
volume is a considerable problem.

I'd suggest reporting some "pidstat -dl 1" output, so we can see which
processes are doing how much IO.

Regards,

Andres



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Vladimir Nicolici
Date:
Subject: Re: [GENERAL] Strange checkpoint behavior - checkpoints take alongtime
Next
From: Vladimir Nicolici
Date:
Subject: Re: [GENERAL] Strange checkpoint behavior - checkpoints take alongtime