Re: Re: Query not using index

From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: ryan(at)paymentalliance(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: Query not using index
Date: 2001-05-10 19:29:36
Message-ID: 20010510202936.A3697@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 10, 2001 at 01:22:56PM +0000, ryan(at)paymentalliance(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fran Fabrizio 2001-05-10 19:30:01 formatting a date
Previous Message Dominic J. Eidson 2001-05-10 19:27:20 Re: my connections never die