Re: Index scan optimization - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Index scan optimization
Date
Msg-id CA+U5nML9xujCcg9Rq8z6dpXAszS7kR2_iJ0ZpzUkmz2X3LrBiA@mail.gmail.com
Whole thread Raw
In response to Re: Index scan optimization  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: Index scan optimization  (Rajeev rastogi <rajeev.rastogi@huawei.com>)
List pgsql-hackers
On 30 October 2014 08:43, Haribabu Kommi <kommi.haribabu@gmail.com> wrote:

> I marked the patch as ready for committer.

This looks very interesting.

The value of the patch seems to come from skipping costly checks. Your
performance test has a leading VARCHAR column, so in that specific
case skipping the leading column is a big win. I don't see it would be
in all cases.

Can we see a few tests on similar things to check for other
opportunities and regressions.
* Single column bigint index
* Multi-column bigint index
* 5 column index with mixed text and integers

The explanatory comments need some work to more clearly explain what
this patch does.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: "Maeldron T."
Date:
Subject: Re: Failback to old master
Next
From: Magnus Hagander
Date:
Subject: Re: Order of views in stats docs