Re: Runtime partition pruning for MergeAppend

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Runtime partition pruning for MergeAppend
Date: 2018-07-19 11:22:00
Message-ID: CAFj8pRDqXJW-yFOKa5Pji_YB_H1xAXP0wbGk+kKkxS9cUCeMRQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

2018-07-19 12:50 GMT+02:00 Heikki Linnakangas <hlinnaka(at)iki(dot)fi>:

> On 18/06/18 13:29, David Rowley wrote:
>
>> Back in the v11 cycle, there was just not quite enough time to get the
>> MergeAppend run-time partition pruning patch in.
>>
>> I've attached v24 of this patch. The only changes done from v23 [1]
>> are to re-base the patch atop of current master. There's was a bit of
>> churn in the partition pruning and run-time pruning code last week.
>> I've re-aligned the new code to account for the work done there.
>>
>
> Looks solid. The only actual bug I see is that this doesn't honor the
> enable_partition_pruning GUC, but that's trivial to fix. So fixed that,
> reworded some of the comments a tiny bit, and committed. Thanks!
>

small note

for getting custom plan, you don't need execute 5x now. Just use
plan_cache_mode GUC.

Regards

Pavel

>
> - Heikki
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2018-07-19 11:29:51 Re: [WIP] [B-Tree] Retail IndexTuple deletion
Previous Message Heikki Linnakangas 2018-07-19 11:20:51 Re: GiST VACUUM