Re: What to call an executor node which lazily caches tuples in a hash table? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: What to call an executor node which lazily caches tuples in a hash table?
Date
Msg-id 20210331211931.ytsy6u2xxn526uny@alap3.anarazel.de
Whole thread Raw
In response to What to call an executor node which lazily caches tuples in a hash table?  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: What to call an executor node which lazily caches tuples in a hash table?
List pgsql-hackers
Hi,

On 2021-03-31 12:29:36 +1300, David Rowley wrote:
> Here's a list of a few that were mentioned:
> 
> Probe Cache
> Tuple Cache
> Keyed Materialize
> Hash Materialize
> Result Cache
> Cache
> Hash Cache
> Lazy Hash
> Reactive Hash
> Parameterized Hash
> Parameterized Cache
> Keyed Inner Cache
> MRU Cache
> MRU Hash

Suggestion: ParamKeyedCache.

I don't like Parameterized because it makes it sound like the cache is
parameterized (e.g. size), rather than using Param values as the keys
for the cache.  ParamKeyed indicates that Params are the key, rather
than configuring the cache...

I don't like "result cache" all that much, because it does sound like
we'd be caching query results etc, or that it might be referring to
Result nodes. Neither of which is the case...

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: Idea: Avoid JOINs by using path expressions to follow FKs
Next
From: "'alvherre@alvh.no-ip.org'"
Date:
Subject: Re: libpq debug log