Re: help with getting index scan

Поиск
Список
Период
Сортировка
От Thomas T. Thai
Тема Re: help with getting index scan
Дата
Msg-id Pine.NEB.4.43.0202250919490.26699-100000@ns01.minnesota.com
обсуждение исходный текст
Ответ на Re: help with getting index scan  (Doug McNaught <doug@wireboard.com>)
Список pgsql-general
On 25 Feb 2002, Doug McNaught wrote:

> "Thomas T. Thai" <tom@minnesota.com> writes:
>
> > i can't seem to get index scan to work on table phone_cat_address. here
> > are my schemas:
>
> Standard question: have you run VACUUM ANALYZE?

yes :) before each test.

> Also, the estimate of rows returned from the phone_cat_address scan is
> pretty large--how large is the table itself?  Sequential scan is
> actually faster if you're going to end up returning most of the rows
> in the table...

yellowpages=# select count(*) from phone_cat_address;
 count
--------
 336702
(1 row)

type typical results should be a tiny fraction of that number.

---
Thomas T. Thai | Minnesota.com | tom@minnesota.com | 612.220.6220
Visit http://www.minnesota.com/




В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: help with getting index scan
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: help with getting index scan