Re: Indexes not used

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Indexes not used
Дата
Msg-id 15082.984688058@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Indexes not used  ("D. Duccini" <duccini@backpack.com>)
Ответы Re: Indexes not used  ("D. Duccini" <duccini@backpack.com>)
Список pgsql-novice
"D. Duccini" <duccini@backpack.com> writes:
> # explain select * from radusage where account = 'someuser';

> Seq Scan on radusage  (cost=0.00..13839.67 rows=5757 width=50)

Have you done a VACUUM ANALYZE?

The rows count looks like it might be a default estimate (but I'm just
counting on my fingers to guess that you have about a million rows in
the table).  If the rows count *is* accurate then a seq scan is
probably the right thing to be using...

            regards, tom lane

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

Предыдущее
От: "D. Duccini"
Дата:
Сообщение: Indexes not used
Следующее
От: "Jeff Williams"
Дата:
Сообщение: PosgreSQL Windows install