Re: "Recheck conditions" on indexes

From: Ivan Voras <ivoras(at)freebsd(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: "Recheck conditions" on indexes
Date: 2013-10-25 10:42:06
Message-ID: l4dhtl$gf2$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 25/10/2013 11:06, Albe Laurenz wrote:

> Just because there is an entry in the index does not imply that the
> corresponding table entry is visible for this transaction.
> To ascertain that, the table row itself has to be checked.

Understood.

> PostgreSQL 9.2 introduced "index only scan" which avoids that
> additional step if it is safe to do so.

It doesn't help in this case - the plan for the same query on a copy of
the database on 9.3 is exactly the same.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc Mamin 2013-10-25 11:20:17 pg_upgrade 9.1.9 ->9.3.1
Previous Message Albe Laurenz 2013-10-25 09:25:50 Re: Replication and fsync