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

From: John R Pierce <pierce(at)hogranch(dot)com>
To: 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:58:57
Message-ID: 5167CCD1.5060801@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/12/2013 1:45 AM, Yang Zhang wrote:
> db=> explain select * from lead where email = 'foo(at)blah(dot)com';

can you try

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

?

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andres Freund 2013-04-12 11:12:31 Re: Segmentation fault with core dump
Previous Message Pavel Stehule 2013-04-12 08:57:57 Re: How to convert US date format to European date format ?