Re: Generating partitioning tuple conversion maps faster - Mailing list pgsql-hackers

From Alexander Kuzmenkov
Subject Re: Generating partitioning tuple conversion maps faster
Date
Msg-id b855199b-bf11-987b-8d4d-e492ae04359c@postgrespro.ru
Whole thread Raw
In response to Re: Generating partitioning tuple conversion maps faster  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: Generating partitioning tuple conversion maps faster  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-hackers
On 07/05/2018 02:52 PM, David Rowley wrote:
> On 30 June 2018 at 05:40, David Rowley <david.rowley@2ndquadrant.com> wrote:
>> I think your idea
>> to reduce the loops in test 6 from 2000 down to 1001 should be worth
>> it. I'll try the idea out next week.
> The attached changes things to use your way of picking up the search
> for the next column at the column after the last match was found.

Great. I think we can use the same approach for 
make_inh_translation_list, as in the attached patch. It show some 
improvement on test 6. I got the following tps, median of 11 runs 
(forgot to turn off fsync though):

test  master    v3     v4
1      414     416     408
2      259     409     404
3      263     400     405
4      417     416     404
5      118     311     305
6      85      280     303

-- 
Alexander Kuzmenkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Attachment

pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: [HACKERS] PoC: full merge join on comparison clause
Next
From: Amit Kapila
Date:
Subject: Re: Explain buffers wrong counter with parallel plans