Re: Speed up transaction completion faster after many relations are accessed in a transaction
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2019-02-19T03:24:20Z
Lists: pgsql-hackers
Hi, On 2019-02-18 20:29:29 -0500, Tom Lane wrote: > Andres Freund <andres@anarazel.de> writes: > > but it's smaller (althoug there's plenty trailing space). > > I think you're supposing that these things are independently palloc'd, but > they aren't --- dynahash lays them out in arrays without palloc padding. I don't think that matters, given that the trailing six bytes are included in sizeof() (and have to, to guarantee suitable alignment in arrays etc). Greetings, Andres Freund
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