Re: Yet another question about not use on indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Yet another question about not use on indexes
Дата
Msg-id 13082.1052662532@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Yet another question about not use on indexes  (Xevi Serrats <tomcatbsd@yahoo.es>)
Список pgsql-performance
=?iso-8859-1?q?Xevi=20Serrats?= <tomcatbsd@yahoo.es> writes:
> pfc=# explain select * from document where codi=2;
>                         QUERY PLAN
> ----------------------------------------------------------
>  Seq Scan on document  (cost=0.00..1.19 rows=1 width=120)
>    Filter: (codi = 2)
> (2 rows)

Judging from the cost estimate, this table is too small to bother with
an indexscan.

            regards, tom lane


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Yet another question about not use on indexes
Следующее
От: "Lucas Adamski"
Дата:
Сообщение: Re: Hack around lack of CORRESPONDING BY in EXCEPT?