Re: Re: Query not using index

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема Re: Re: Query not using index
Дата
Msg-id 20010510202936.A3697@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответ на Re: Query not using index  (ryan@paymentalliance.net)
Список 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 по дате отправления:

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: Query not using index
Следующее
От: "Mitch Vincent"
Дата:
Сообщение: Re: Using , instead of . for thousands..