Re: Re: Query not using index - Mailing list pgsql-general

From Patrick Welche
Subject Re: Re: Query not using index
Date
Msg-id 20010510202936.A3697@quartz.newn.cam.ac.uk
Whole thread Raw
In response to Re: Query not using index  (ryan@paymentalliance.net)
List pgsql-general
On Thu, May 10, 2001 at 01:22:56PM +0000, ryan@paymentalliance.net wrote:
> I vacuum every half hour!  Here is the output from EXPLAIN:
>
> NOTICE:  QUERY PLAN:
>
> Seq Scan on pa_shopping_cart  (cost=0.00..7237.94 rows=9420 width=296)
>
> EXPLAIN
>
> Thanks!

Then try

set enable_seqscan to off;
explain select ...

and see what the cost is. Compare it with the value above.

Cheers,

Patrick

pgsql-general by date:

Previous
From: "Mitch Vincent"
Date:
Subject: Re: Query not using index
Next
From: "Mitch Vincent"
Date:
Subject: Re: Using , instead of . for thousands..