Re: Why the difference in plans ?

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Why the difference in plans ?
Date: 2008-03-06 18:56:19
Message-ID: D9F2B8C8-C64A-490E-BB94-0322A6619FAF@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On 6-Mar-08, at 12:26 PM, Josh Berkus wrote:

> 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.

The two queries were run 2 seconds apart, there were no changes
between. I'll get the index definitions.

Dave
>
>
> --
> Josh Berkus
> PostgreSQL @ Sun
> San Francisco
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org
> )
> To make changes to your subscription:
> http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.org&extra=pgsql-performance

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2008-03-06 21:37:56 Re: More shared buffers causes lower performances
Previous Message Bruce Momjian 2008-03-06 18:01:12 Re: Performance of aggregates over set-returning functions