Re: Speed up transaction completion faster after many relations areaccessed in a transaction - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Speed up transaction completion faster after many relations areaccessed in a transaction
Date
Msg-id 20190219032420.wozuz4qabkfnxueb@alap3.anarazel.de
Whole thread Raw
In response to Re: Speed up transaction completion faster after many relations are accessed in a transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: "Jamison, Kirk"
Date:
Subject: RE: libpq debug log
Next
From: Michael Paquier
Date:
Subject: Re: Prepared transaction releasing locks before deregistering its GID