Re: Strange indexing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange indexing
Дата
Msg-id 29802.1020100333@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange indexing  (Uros Gruber <uros@sir-mag.com>)
Список pgsql-general
Uros Gruber <uros@sir-mag.com> writes:
> explain select * from test where parent = '1';
> Seq Scan on test  (cost=0.00..1.07 rows=1 width=17)

> Why i there no index scan if i create index. I also run
> vacuum on this table.

After the vacuum, the planner knows that your table is too small to
bother with an indexscan.  Try putting in a more realistic amount of
data.

            regards, tom lane

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

Предыдущее
От: Tom Jenkins
Дата:
Сообщение: Re: What popular, large commercial websites run
Следующее
От: Joshua Drake
Дата:
Сообщение: Re: What popular, large commercial websites run