Re: help with getting index scan
От | Thomas T. Thai |
---|---|
Тема | Re: help with getting index scan |
Дата | |
Msg-id | Pine.NEB.4.43.0202251036430.27000-100000@ns01.minnesota.com обсуждение исходный текст |
Ответ на | help with getting index scan ("Thomas T. Thai" <tom@minnesota.com>) |
Ответы |
Re: help with getting index scan
|
Список | pgsql-general |
On Mon, 25 Feb 2002, Tom Lane wrote: > "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.) sorry tom, i'm still new to PostgreSQL. what is pg_stats and how do i use it in the way you've asked? > If you set enable_seqscan to off, do you get a plan you like better? > If so, what is it? with seqscan off, the query still takes about the same about of time (around 8 secs). i'd like to get it down to 1 if possible.
В списке pgsql-general по дате отправления: