Re: PG15 beta1 sort performance regression due to Generation context change - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: PG15 beta1 sort performance regression due to Generation context change
Date
Msg-id ab19237b-8578-386a-c352-5a1aa8c33e5b@iki.fi
Whole thread Raw
In response to PG15 beta1 sort performance regression due to Generation context change  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: PG15 beta1 sort performance regression due to Generation context change
List pgsql-hackers
On 20/05/2022 08:56, David Rowley wrote:
> The problem is that generation chunks have a larger chunk header than
> aset do due to having to store the block pointer that the chunk
> belongs to so that GenerationFree() can increment the nfree chunks in
> the block. aset.c does not require this as freed chunks just go onto a
> freelist that's global to the entire context.

Could the 'context' field be moved from GenerationChunk to GenerationBlock?

- Heikki



pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Handle infinite recursion in logical replication setup
Next
From: vignesh C
Date:
Subject: Re: Handle infinite recursion in logical replication setup