On Tue, Mar 21, 2017 at 8:16 AM, Amit Kapila <amit.kapil...@gmail.com> wrote: > Sure, I was telling you based on that. If you are implicitly treating > it as 2-dimensional array, it might be easier to compute the array >offsets.
I think calculating spares offset will not become anyway much simpler we still need to calculate split group and split phase separately. I have added a patch to show how a 2-dimensional spares code looks like and where all we need changes. -- Thanks and Regards Mithun C Y EnterpriseDB: http://www.enterprisedb.com
expand_hashbucket_efficiently_06_spares_2dimesion.patch
Description: Binary data
expand_hashbucket_efficiently_06_spares_1dimension.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers