Re: Proposal: partition pruning by secondary attributes - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Proposal: partition pruning by secondary attributes
Date
Msg-id CAFjFpRdPzR=jOqJ6J2dLthyqeytQC_vreStzobhXkBGrUZam5Q@mail.gmail.com
Whole thread Raw
In response to Proposal: partition pruning by secondary attributes  (Ildar Musin <i.musin@postgrespro.ru>)
List pgsql-hackers
On Thu, Feb 8, 2018 at 4:51 PM, Ildar Musin <i.musin@postgrespro.ru> wrote:
>
> The idea is to store min and max values of secondary attributes (like
> 'id' in the example above) for each partition somewhere in catalog and
> use it for partition pruning along with partitioning key.

Every insertion and update of secondary attribute will touch catalog
and update if required. That will increase the contention on catalog.

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company


pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [HACKERS] advanced partition matching algorithm forpartition-wise join
Next
From: Ashutosh Bapat
Date:
Subject: Re: [HACKERS] advanced partition matching algorithm forpartition-wise join