Re: Memory-Bounded Hash Aggregation

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Taylor Vesely <tvesely(at)pivotal(dot)io>, Adam Lee <ali(at)pivotal(dot)io>, Melanie Plageman <mplageman(at)pivotal(dot)io>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Memory-Bounded Hash Aggregation
Date: 2020-02-04 02:24:14
Message-ID: 8bf8d5f77db49cc1f032b6c7c0cfe0d6da89d64a.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2020-02-03 at 10:29 -0800, Jeff Davis wrote:
> I ended up converting the freelist to a min heap.
>
> Attached is a patch which makes three changes to better support
> HashAgg:

And now I'm attaching another version of the main Hash Aggregation
patch to be applied on top of the logtape.c patch.

Not a lot of changes from the last version; mostly some cleanup and
rebasing. But it's faster now with the logtape.c changes.

Regards,
Jeff Davis

Attachment Content-Type Size
logtape.patch text/x-patch 10.7 KB
hashagg-20200203.patch text/x-patch 111.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2020-02-04 03:17:14 Re: Internal key management system
Previous Message Takuma Hoshiai 2020-02-04 01:58:02 Re: Implementing Incremental View Maintenance