From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: Dave Cramer <pg@fastcrypt.com>
Subject: Re: Why the difference in plans ?
Date: Thu, 6 Mar 2008 09:26:38 -0800
Message-ID: <200803060926.38708.josh@agliodbs.com> (raw)
In-Reply-To: <E0CF6B25-5191-4AF7-8C72-E67FA2F1AE5E@fastcrypt.com>
References: <E0CF6B25-5191-4AF7-8C72-E67FA2F1AE5E@fastcrypt.com>
Dave,
> Below I have two almost identical queries. Strangely enough the one
> that uses the index is slower ???
My first guess would be that records are highly correlated by DOB and not at
all by name. However, it would help if you supplied both the index
definitions and what changed between the two queries to cause the index to be
used.
--
Josh Berkus
PostgreSQL @ Sun
San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, pg@fastcrypt.com
Subject: Re: Why the difference in plans ?
In-Reply-To: <200803060926.38708.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox