Re: Spilling hashed SetOps and aggregates to disk - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: Spilling hashed SetOps and aggregates to disk
Date
Msg-id dfe0ba61-93e1-e7ee-d0d2-2e9f23c65919@2ndquadrant.com
Whole thread Raw
In response to Re: Spilling hashed SetOps and aggregates to disk  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 06/11/2018 04:25 PM, Robert Haas wrote:
>
 > ...
> 
> Maybe that's not exactly what Tomas (or you) meant by eviction
> strategy, though.  Not sure.  But it does seem to me that we need to
> pick the algorithm we're going to use, more or less, in order to
> decide what infrastructure we need, and at least to some extent, we
> ought to let our choice of algorithm be informed by the desire not to
> need too much infrastructure.
> 

I was using eviction strategy in a somewhat narrower sense - pretty much 
just "Which groups to evict from the hash table?" but you're right the 
question is more general and depends on which scheme we end up using 
(just hashagg, hash+sort, something else ...)

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: file cloning in pg_upgrade and CREATE DATABASE
Next
From: Alvaro Herrera
Date:
Subject: Re: CF bug fix items