Re: help with getting index scan

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

> "Thomas T. Thai" <tom@minnesota.com> writes:
> > i can't seem to get index scan to work on table phone_cat_address.
>
> The planner seems to think that the cid column alone isn't very
> selective, and thus indexscanning on it wouldn't be useful.
> How many distinct cid values do you have?  Also, which PG version is
> this?

yellowpages=# select count(distinct(cid)) from phone_cat_address;
 count
-------
  5139
(1 row)

this is 7.2. i'm just trying to find ways to narrow the search time down.
it's currently taking several seconds.


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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: help with getting index scan
Следующее
От: "Thomas T. Thai"
Дата:
Сообщение: Re: help with getting index scan