Re: Index-only scans

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Index-only scans
Date: 2009-07-13 18:04:57
Message-ID: 4A5B30F90200002500028725@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> Implementing index-only scans requires a few changes:

I'm happy to see this work! Now that the EXISTS predicates have been
optimized to consider semi-join and anti-join techniques, I believe
that these index issues (evaluating quals before heap access and
skipping heap access when all columns of interest are in an index) are
the last significant optimizations missing from PostgreSQL to allow it
to outperform our previous DBMS on *all* queries, rather than just the
vast majority of them. :-)

As far as our production queries go, based on our experience with
several other products against this schema, this is the area where the
biggest performance gains remain to be realized.

-Kevin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-07-13 18:06:40 Re: Predicate migration on complex self joins
Previous Message Tom Lane 2009-07-13 17:49:22 Re: Predicate migration on complex self joins