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: easteregg@verfriemelt.org
Subject: BUG #15953: performance issues using 11.5-1.pgdg+1 over 11.5-1
Date: Tue, 13 Aug 2019 13:11:14 +0000
Message-ID: <15953-a856c63d0056fd34@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15953
Logged by:          richard
Email address:      easteregg@verfriemelt.org
PostgreSQL version: 11.5
Operating system:   Debian Sid x64
Description:        

hi,

i upgraded my server from 11.4-1 ( note, this was the debian package before
) to 11.5-1.pgdg+1 which uses the postgresql apt repository package. after
this upgrade, i noticed a lot more system load and all 4 cores of my server
hit 100% usage by the database.

visualized you can see it here: 
CPU usage https://verfriemelt.org/pg-issue-01.png
TPS https://verfriemelt.org/pg-issue-02.png

at ~11:10 i installed the new version, afterwards you see the cpu hit 100%
usage and than followed some desperate measures to get the database to
perform normal again, mostly reindex and vacuum full on the given database.
at 14:30 i wondered and installed the debian provided 11.5-1 package and
everything went back to 'normal' without any other changes. there was not a
single cause like a long running query. just everything went a lot slower
and used more cpu. there were no obvious differences in query planning.

the two versions were the following:

# apt-cache policy postgresql-11
postgresql-11:
  Installed: 11.5-1
  Candidate: 11.5-1.pgdg+1
  Version table:
     11.5-1.pgdg+1 500
        500 http://apt.postgresql.org/pub/repos/apt sid-pgdg/main amd64
Packages
 *** 11.5-1 500
        500 http://ftp.de.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status

using pg_config --configure i found only one difference in the build
options, which is --enable-cassert on the postgresql provided version.

whast the deal?



view thread (2+ messages)  latest in thread

Message-ID: <15953-a856c63d0056fd34@postgresql.org>
Permalink:  ../15953-a856c63d0056fd34@postgresql.org/
Also on:    postgresql.org/message-id/15953-a856c63d0056fd34@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, easteregg@verfriemelt.org
  Subject: Re: BUG #15953: performance issues using 11.5-1.pgdg+1 over 11.5-1
  In-Reply-To: <15953-a856c63d0056fd34@postgresql.org>
  References: <15953-a856c63d0056fd34@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