Re: PG does not use my index - Mailing list pgsql-admin

From Tom Lane
Subject Re: PG does not use my index
Date
Msg-id 10497.1175529917@sss.pgh.pa.us
Whole thread Raw
In response to PG does not use my index  (Rickard Sjöström <rickard.sjostrom@bluebottle.com>)
Responses Re: PG does not use my index
List pgsql-admin
Rickard =?iso-8859-1?b?U2r2c3Ry9m0=?= <rickard.sjostrom@bluebottle.com> writes:
> fast db:
> -------------------------
>  ->  Index Scan using testcase_b_bid_index on testcase  (cost=0.00..1656.82 rows=426 width=38) (never executed)"
> -------------------------

> slow db:
> -------------------------
> ->  Seq Scan on testcase  (cost=0.00..2896.42 rows=33242 width=64) (actual time=77.027..791.014 rows=37093 loops=1)"
> -------------------------

Let's see the query and the *whole* explain analyze output, not the part
you (mistakenly) think is important.

            regards, tom lane

pgsql-admin by date:

Previous
From: David Brain
Date:
Subject: Re: [GENERAL] Increasing the shared memory
Next
From: Tom Lane
Date:
Subject: Re: Dumping views, functions, ...