pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mladen Gogala <gogala.mladen@gmail.com>
Cc: Pgsql Performance <pgsql-performance@lists.postgresql.org>
Subject: Re: XA transactions much slower on 14.2 than on 13.5
Date: Fri, 04 Mar 2022 21:44:25 -0500
Message-ID: <4007944.1646448265@sss.pgh.pa.us> (raw)
In-Reply-To: <b6c413ee-19a4-f3a8-9772-210049c22369@gmail.com>
References: <b6c413ee-19a4-f3a8-9772-210049c22369@gmail.com>

Mladen Gogala <gogala.mladen@gmail.com> writes:
> My boss asked me to upgrade one of the developmentĀ  databases from 13.5 
> --> 14.2. One thing that we've noticed right away is that XA 
> transactions (2-phase commit) are much slower on 14.2 than on 13.5. Were 
> there any significant changes to the XA protocol in the version 14? Did 
> anybody else encountered this problem?

There were a bunch of changes around the 2PC code to support logical
replication of 2PC transactions, but I don't think they should have
made for any particular performance difference in non-replicated
servers.  Can you put together a self-contained test case that
demonstrates what you're seeing?

			regards, tom lane





view thread (2+ messages)

Message-ID: <4007944.1646448265@sss.pgh.pa.us>
Permalink:  ../4007944.1646448265@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4007944.1646448265@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, gogala.mladen@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: XA transactions much slower on 14.2 than on 13.5
  In-Reply-To: <4007944.1646448265@sss.pgh.pa.us>

* 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