Re: Very slow select - Mailing list pgsql-general

From Tom Lane
Subject Re: Very slow select
Date
Msg-id 16677.977415168@sss.pgh.pa.us
Whole thread Raw
In response to Very slow select  (Stefano Bargioni <bargioni@usc.urbe.it>)
List pgsql-general
Stefano Bargioni <bargioni@usc.urbe.it> writes:
> SELECT FROM t WHERE a='my string'; works very fast. The same select
> made on b is very slow (2 or 3 seconds), as if no index exists for
> column b.

What does EXPLAIN say about the two queries?

            regards, tom lane

pgsql-general by date:

Previous
From: "Mike Sears"
Date:
Subject: Re: red hat/mysql fiasco
Next
From: Manfred Pock
Date:
Subject: want to leave the mailinglist