Re: plan time of MASSIVE partitioning ... - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: plan time of MASSIVE partitioning ...
Date
Msg-id 4CC8480C.409@enterprisedb.com
Whole thread Raw
In response to Re: plan time of MASSIVE partitioning ...  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: plan time of MASSIVE partitioning ...
List pgsql-hackers
On 26.10.2010 18:34, Boszormenyi Zoltan wrote:
> thank you very much for pointing me to dynahash, here is the
> next version that finally seems to work.
>
> Two patches are attached, the first is the absolute minimum for
> making it work, this still has the Tree type for canon_pathkeys
> and eq_classes got the same treatment as join_rel_list/join_rel_hash
> has in the current sources: if the list grows larger than 32, a hash table
> is created. It seems to be be enough for doing in for
>       get_eclass_for_sort_expr()
> only, the other users of eq_classes aren't bothered by this change.

That's better, but can't you use dynahash for canon_pathkeys as well?


--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Aidan Van Dyk
Date:
Subject: Bikeshedding on enum vocabulary
Next
From: "David E. Wheeler"
Date:
Subject: Re: add label to enum syntax