Re: Speed up transaction completion faster after many relations are accessed in a transaction
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Jacob Champion <jchampion@timescale.com>,
Yura Sokolov <y.sokolov@postgrespro.ru>, Zhihong Yu <zyu@yugabyte.com>, Michael Paquier <michael@paquier.xyz>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>,
Tom Lane <tgl@sss.pgh.pa.us>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>, "Imai, Yoshikazu" <imai.yoshikazu@jp.fujitsu.com>,
Andres Freund <andres@anarazel.de>, Simon Riggs <simon@2ndquadrant.com>
Date: 2023-01-19T11:25:49Z
Lists: pgsql-hackers
On Wed, 3 Aug 2022 at 09:04, David Rowley <dgrowleyml@gmail.com> wrote: > > On Wed, 3 Aug 2022 at 07:04, Jacob Champion <jchampion@timescale.com> wrote: > > This entry has been waiting on author input for a while (our current > > threshold is roughly two weeks), so I've marked it Returned with > > Feedback. > > Thanks for taking care of this. You dealt with this correctly based on > the fact that I'd failed to rebase before or during the entire July > CF. > > I'm still interested in having the LockReleaseAll slowness fixed, so > here's a rebased patch. CFBot shows some compilation errors as in [1], please post an updated version for the same: [15:40:00.287] [1239/1809] Linking target src/backend/postgres [15:40:00.287] FAILED: src/backend/postgres [15:40:00.287] cc @src/backend/postgres.rsp [15:40:00.287] /usr/bin/ld: src/backend/postgres_lib.a.p/replication_logical_launcher.c.o: in function `logicalrep_worker_onexit': [15:40:00.287] /tmp/cirrus-ci-build/build/../src/backend/replication/logical/launcher.c:773: undefined reference to `LockReleaseAll' [15:40:00.287] collect2: error: ld returned 1 exit status [1] - https://cirrus-ci.com/task/4562493863886848 Regards, Vignesh
Commits
-
Reorder LOCALLOCK structure members to compact the size
- 28988a84cf19 12.0 landed
-
Be more careful to not lose sync in the FE/BE protocol.
- 2b3a8b20c2da 9.5.0 cited