Re: Recheck condition - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Recheck condition
Date
Msg-id 20071128182459.GG31742@svana.org
Whole thread Raw
In response to Recheck condition  ("Josh Harrison" <joshques@gmail.com>)
List pgsql-general
On Wed, Nov 28, 2007 at 01:18:56PM -0500, Josh Harrison wrote:
> Hi,
> Sorry if my question is silly.
> When I use explain analyze command I come across 'recheck condition' in some
> places.
> I googled for this  but didn't get any solid answers.

Some indexes are inexact, i.e. they may sometimes return tuples that
don't actually match the index condition. This also happens with bitmap
scans, because it'll return anything in the bitmap which will probably
be more than what you asked for. The recheck just means that the
planner retests the index condition on the result to make sure you only
get the rows you wanted.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

Attachment

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Select all fields except one
Next
From: Erik Jones
Date:
Subject: Re: PostgresSQL vs. Informix