pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedXA transactions much slower on 14.2 than on 13.5
2+ messages / 2 participants
[nested] [flat]
* XA transactions much slower on 14.2 than on 13.5
@ 2022-03-05 02:33 Mladen Gogala <gogala.mladen@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Mladen Gogala @ 2022-03-05 02:33 UTC (permalink / raw)
To: Pgsql Performance <pgsql-performance@lists.postgresql.org>
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?
When I say "XA transactions are much slower", I mean that commit and/or
rollback take much longer. The SQL execution takes the same and the
plans are identical to the 13.5 version. The application code is the
same, using IBM WebSphere 9.0.4.
Regards
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: XA transactions much slower on 14.2 than on 13.5
@ 2022-03-05 02:44 Tom Lane <tgl@sss.pgh.pa.us>
parent: Mladen Gogala <gogala.mladen@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2022-03-05 02:44 UTC (permalink / raw)
To: Mladen Gogala <gogala.mladen@gmail.com>; +Cc: Pgsql Performance <pgsql-performance@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-03-05 02:44 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-05 02:33 XA transactions much slower on 14.2 than on 13.5 Mladen Gogala <gogala.mladen@gmail.com>
2022-03-05 02:44 ` Tom Lane <tgl@sss.pgh.pa.us>
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