Re: [HACKERS] Hash Functions - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: [HACKERS] Hash Functions
Date
Msg-id CAMp0ubdY7rR5M2rkfAMA_iPrQzxAZPCC7EWy1Sq_90EQ6+b75g@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Hash Functions  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Thu, Jun 1, 2017 at 11:25 AM, Andres Freund <andres@anarazel.de> wrote:
> Secondly, I think that's to a significant degree caused by
> the fact that in practice people way more often partition on types like
> int4/int8/date/timestamp/uuid rather than text - there's rarely good
> reasons to do the latter.

Once we support more pushdowns to partitions, the only question is:
what are your join keys and what are your grouping keys?

Text is absolutely a normal join key or group key. Consider joins on a
user ID or grouping by a model number.

Regards,    Jeff Davis



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: [HACKERS] Hash Functions
Next
From: Masahiko Sawada
Date:
Subject: [HACKERS] Fix a typo in predicate.c