Re: help with getting index scan

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: help with getting index scan
Дата
Msg-id 21476.1014654641@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: help with getting index scan  ("Thomas T. Thai" <tom@minnesota.com>)
Ответы Re: help with getting index scan
Список pgsql-general
"Thomas T. Thai" <tom@minnesota.com> writes:
> On Mon, 25 Feb 2002, Tom Lane wrote:
>> How many distinct cid values do you have?  Also, which PG version is
>> this?

>   5139

Hmm, seems like that ought to be selective enough.  What does pg_stats
show for phone_cat_address?  (And phone_cat, for that matter.)

If you set enable_seqscan to off, do you get a plan you like better?
If so, what is it?

            regards, tom lane

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

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