pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rui DeSousa <rui@crazybean.net>
To: Ashok kumar Mani <amani@accelaero.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: PostgreSQL DB checkpoint error!
Date: Tue, 28 Apr 2020 03:01:47 -0400
Message-ID: <24FB3FC5-6F7E-4857-8555-C5F96E2F0105@crazybean.net> (raw)
In-Reply-To: <AM0P191MB07086CDC55A348BF86934E5BAEAC0@AM0P191MB0708.EURP191.PROD.OUTLOOK.COM>
References: <AM0P191MB0708F469BBF80C9386F50DD2AEAC0@AM0P191MB0708.EURP191.PROD.OUTLOOK.COM>
	<913378B8-0A7F-44A6-BF34-32BF58FC0876@crazybean.net>
	<AM0P191MB07086CDC55A348BF86934E5BAEAC0@AM0P191MB0708.EURP191.PROD.OUTLOOK.COM>



> On Apr 28, 2020, at 2:49 AM, Ashok kumar Mani <amani@accelaero.com> wrote:  
>  
> Do I need to restart the postgresql service for log_checkpoints to make it active . I would like to enable this parameter temporarily and check it?
>  

Nope, just get it in postgresql.conf and reload it. i.e.   pg_ctl reload 

> 
> postgres=# show max_wal_size;
> max_wal_size
> --------------
> 2GB
> (1 row)

With the deletes, vacuum full, and reindex it is generating WALs at a rapid rate thus trigging another checkpoint given the 2GB size.  The vacuum full and reindex are most likely causing Zabbix to be blocked.  

I would rethink the vacuum full and reindex; before changing max_wal_size. 

view thread (9+ messages)  latest in thread

Message-ID: <24FB3FC5-6F7E-4857-8555-C5F96E2F0105@crazybean.net>
Permalink:  ../24FB3FC5-6F7E-4857-8555-C5F96E2F0105@crazybean.net/
Also on:    postgresql.org/message-id/24FB3FC5-6F7E-4857-8555-C5F96E2F0105@crazybean.net

 · 

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-admin@postgresql.org
  Cc: rui@crazybean.net, amani@accelaero.com
  Subject: Re: PostgreSQL DB checkpoint error!
  In-Reply-To: <24FB3FC5-6F7E-4857-8555-C5F96E2F0105@crazybean.net>
  References: <AM0P191MB0708F469BBF80C9386F50DD2AEAC0@AM0P191MB0708.EURP191.PROD.OUTLOOK.COM> <913378B8-0A7F-44A6-BF34-32BF58FC0876@crazybean.net> <AM0P191MB07086CDC55A348BF86934E5BAEAC0@AM0P191MB0708.EURP191.PROD.OUTLOOK.COM> <24FB3FC5-6F7E-4857-8555-C5F96E2F0105@crazybean.net>

* 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