Re: Proposal: partition pruning by secondary attributes

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Ildar Musin <i(dot)musin(at)postgrespro(dot)ru>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal: partition pruning by secondary attributes
Date: 2018-02-08 17:48:34
Message-ID: 20180208174834.btjh267gph5inwyc@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ildar Musin 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. You can think
> of it as somewhat like BRIN index but for partitions.

What is the problem with having a BRIN index?

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rafal Pietrak 2018-02-08 17:56:52 Re: it's a feature, but it feels like a bug
Previous Message Peter Geoghegan 2018-02-08 17:45:13 Re: [HACKERS] A design for amcheck heapam verification