pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dischner, Anton <Anton.Dischner@med.uni-muenchen.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Cawley <cj_cawley@yahoo.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: AW: What do you do with a long running rollback
Date: Mon, 29 Nov 2021 10:10:57 +0000
Message-ID: <ed80d5c2840c432099df8a6f56b40d8a@MITMB5.helios.med.uni-muenchen.de> (raw)
In-Reply-To: <440098.1637952136@sss.pgh.pa.us>
References: <1977259621.1023368.1637951601701.ref@mail.yahoo.com>
	<1977259621.1023368.1637951601701@mail.yahoo.com>
	<440098.1637952136@sss.pgh.pa.us>

Hi Tom,

do you see heavy disk activity?

best,

A

-----Ursprüngliche Nachricht-----
Von: Tom Lane <tgl@sss.pgh.pa.us> 
Gesendet: Freitag, 26. November 2021 19:42
An: Chris Cawley <cj_cawley@yahoo.com>
Cc: pgsql-admin@lists.postgresql.org
Betreff: Re: What do you do with a long running rollback

Chris Cawley <cj_cawley@yahoo.com> writes:
> It's been like that for several days already.

Really?  Rollback is O(1) in Postgres.

I could possibly believe that it's blocked on a lock, but even that would be a bug, because transaction abort should never try to take any new locks.

A perhaps-more-plausible theory is that you've enabled synchronous commit but your replica is failing to ack the transmission of the abort's WAL record.

What are you looking at exactly?

			regards, tom lane







view thread (2+ messages)  latest in thread

Message-ID: <ed80d5c2840c432099df8a6f56b40d8a@MITMB5.helios.med.uni-muenchen.de>
Permalink:  ../ed80d5c2840c432099df8a6f56b40d8a@MITMB5.helios.med.uni-muenchen.de/
Also on:    postgresql.org/message-id/ed80d5c2840c432099df8a6f56b40d8a@MITMB5.helios.med.uni-muenchen.de

 · 

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-admin@postgresql.org
  Cc: Anton.Dischner@med.uni-muenchen.de, tgl@sss.pgh.pa.us, cj_cawley@yahoo.com, pgsql-admin@lists.postgresql.org
  Subject: Re: AW: What do you do with a long running rollback
  In-Reply-To: <ed80d5c2840c432099df8a6f56b40d8a@MITMB5.helios.med.uni-muenchen.de>

* 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