Re: PG15 beta1 sort performance regression due to Generation context change

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: David Rowley <dgrowleyml(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PG15 beta1 sort performance regression due to Generation context change
Date: 2022-05-20 10:01:31
Message-ID: ab19237b-8578-386a-c352-5a1aa8c33e5b@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2022-05-20 10:02:11 Re: Handle infinite recursion in logical replication setup
Previous Message vignesh C 2022-05-20 10:00:54 Re: Handle infinite recursion in logical replication setup