Re: Why won't it index scan?

Поиск
Список
Период
Сортировка
От John D. Burger
Тема Re: Why won't it index scan?
Дата
Msg-id abcc5c6623f479d60302af9b4e788bce@mitre.org
обсуждение исходный текст
Ответ на Why won't it index scan?  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-general
Ed L. wrote:

> Can someone help me understand why the 8.1.2 query below is
> using a seq scan instead of an index scan?

Because the planner thinks a sequential scan would be faster than an
index scan - in many situations, this is the case.  See the FAQ:

   http://www.postgresql.org/docs/faqs.FAQ.html#item4.6

- John Burger
   MITRE


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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Why won't it index scan?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: DB structure of PostGRE