Re: avoid bitmapOR-ing indexes with scan condition inconsistent with partition constraint

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: avoid bitmapOR-ing indexes with scan condition inconsistent with partition constraint
Date: 2020-07-15 00:17:50
Message-ID: 20200715001749.GU23581@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Added here:
https://commitfest.postgresql.org/29/2644/

And updated tests to pass following:
|commit 689696c7110f148ede8004aae50d7543d05b5587
|Author: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
|Date: Tue Jul 14 18:56:49 2020 -0400
|
| Fix bitmap AND/OR scans on the inside of a nestloop partition-wise join.

Attachment Content-Type Size
v2-0001-Secondary-index-access-optimizations.patch text/x-diff 87.9 KB
v2-0002-Avoid-index-scan-inconsistent-with-partition-cons.patch text/x-diff 3.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2020-07-15 00:24:52 Re: Parallel Seq Scan vs kernel read ahead
Previous Message Mark Dilger 2020-07-15 00:15:50 Refactoring relkind as an enum