Re: Reduce TupleHashEntryData struct size by half

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Reduce TupleHashEntryData struct size by half
Date: 2025-01-07 23:32:07
Message-ID: b9cbf0219a9859dc8d240311643ff4362fd9602c.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2024-11-21 at 12:37 -0800, Jeff Davis wrote:
>
> New patch series attached.

I committed the earlier cleanup patches and rebased the rest. Attached.

0001 is not quite as clean as I'd like it to be; suggestions welcome.
It does save a pointer per entry, though, which is substantial.

Regards,
Jeff Davis

Attachment Content-Type Size
v3-0001-TupleHashTable-store-additional-data-along-with-t.patch text/x-patch 12.1 KB
v3-0002-simplehash-don-t-require-a-status-field.patch text/x-patch 7.1 KB
v3-0003-TupleHashTable-reduce-overhead-by-removing-status.patch text/x-patch 4.9 KB
v3-0004-Pack-TupleHashEntryData-and-AggStatePerGroupData.patch text/x-patch 1.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-01-07 23:47:05 Re: Switching XLog source from archive to streaming when primary available
Previous Message Nathan Bossart 2025-01-07 22:57:41 Re: New GUC autovacuum_max_threshold ?