Re: XA transactions much slower on 14.2 than on 13.5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mladen Gogala <gogala(dot)mladen(at)gmail(dot)com>
Cc: Pgsql Performance <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: XA transactions much slower on 14.2 than on 13.5
Date: 2022-03-05 02:44:25
Message-ID: 4007944.1646448265@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Mladen Gogala <gogala(dot)mladen(at)gmail(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message aditya desai 2022-03-05 07:02:59 Re: Any way to speed up INSERT INTO
Previous Message Mladen Gogala 2022-03-05 02:33:01 XA transactions much slower on 14.2 than on 13.5