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: shiwangini.shishulkar@webgility.com
Subject: BUG #15965: During Backup:- Unable to Perform DDL and DML on postgres DB
Date: Mon, 19 Aug 2019 12:22:17 +0000
Message-ID: <15965-413bf5d18aaeface@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15965
Logged by:          Shiwangini Shishulkar
Email address:      shiwangini.shishulkar@webgility.com
PostgreSQL version: 11.4
Operating system:   CentOS Linux release 7.6.1810 (Core)
Description:        

It was kind of very strange behavior, I have observed so far.  we have 69GB
PROD database and during it's backup , I can't perform any DDL and DML on
postgres database. Only 'select' statements I can run. The database takes
~45minutes for backup. Below statement I'm running for backup:

pg_dump -U postgres -d wg -f wg.sql 

Looks like pg_dump locks all tables of database during backup window. Any
other way/command to  take backup? Also, I have seen that postmaster CPU
utilization reaches 100% when pg_dump backup running on. Any way to avoid
this. 

I have also set priority of backup script by 'nice - 18 backup.sh' , but
when backup starts postmaster gets kicked off and cause 100% CPU
utilization. Any way to avoid this?

Please get back to me in case of any query. Please try to look into this on
priority since this is happening on PROD.



Message-ID: <15965-413bf5d18aaeface@postgresql.org>
Permalink:  ../15965-413bf5d18aaeface@postgresql.org/
Also on:    postgresql.org/message-id/15965-413bf5d18aaeface@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, shiwangini.shishulkar@webgility.com
  Subject: Re: BUG #15965: During Backup:- Unable to Perform DDL and DML on postgres DB
  In-Reply-To: <15965-413bf5d18aaeface@postgresql.org>
  References: <15965-413bf5d18aaeface@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