pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Don Seiler <don@seiler.us>
To: pgsql-performance@lists.postgresql.org
Subject: Re: High COMMIT times
Date: Thu, 07 Jan 2021 03:02:53 +0100
Message-ID: <4f031716ed0a0175ffceffcb40c36c05f66685e3.camel@cybertec.at> (raw)
In-Reply-To: <CAHJZqBCsS5wiUemiArXMXR4Oo63_9bBfssrXWieE7X55dYEvNw@mail.gmail.com>
References: <CAHJZqBCsS5wiUemiArXMXR4Oo63_9bBfssrXWieE7X55dYEvNw@mail.gmail.com>

On Wed, 2021-01-06 at 10:19 -0600, Don Seiler wrote:
> This week we've noticed that we're starting to see spikes where COMMITs are taking much longer than usual.
>  Sometimes, quite a few seconds to finish.
>
> This is PostgreSQL 12.4 on Ubuntu 18.04, all running in MS Azure (*not* managed by them).

Unless you are using WITH HOLD cursors on large result sets, this is very likely
I/O overload.  Use tools like "sar", "vmstat" and "iostat" to monitor your I/O load.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (18+ messages)  latest in thread

Message-ID: <4f031716ed0a0175ffceffcb40c36c05f66685e3.camel@cybertec.at>
Permalink:  ../4f031716ed0a0175ffceffcb40c36c05f66685e3.camel@cybertec.at/
Also on:    postgresql.org/message-id/4f031716ed0a0175ffceffcb40c36c05f66685e3.camel@cybertec.at

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: laurenz.albe@cybertec.at, don@seiler.us, pgsql-performance@lists.postgresql.org
  Subject: Re: High COMMIT times
  In-Reply-To: <4f031716ed0a0175ffceffcb40c36c05f66685e3.camel@cybertec.at>

* 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