Re: Why is PostgreSQL 9.1 not using index for simple equality select

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Yang Zhang <yanghatespam(at)gmail(dot)com>
Cc: John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why is PostgreSQL 9.1 not using index for simple equality select
Date: 2013-04-12 08:50:44
Message-ID: CAF-3MvMR04yV6HW7TB1Edffvx3h3__P7SqYW+Q7jQ_2zKE5JRg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12 April 2013 10:45, Yang Zhang <yanghatespam(at)gmail(dot)com> wrote:

> explain select * from lead where email = 'foo(at)blah(dot)com';
>

What about:
explain analyze select * from lead where email = 'foo(at)blah(dot)com';

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Condor 2013-04-12 08:54:53 Re: How to convert US date format to European date format ?
Previous Message stephane.schildknecht 2013-04-12 08:48:20 Automatic restart while upgrade