Re: Timestamp index not used

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Timestamp index not used
Дата
Msg-id 17620.1052371605@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Timestamp index not used  (<david@stanaway.net>)
Список pgsql-sql
<david@stanaway.net> writes:
> radius=# EXPLAIN SELECT * from alldata where loggedat > '2003-05-07';
> NOTICE:  QUERY PLAN:
> Seq Scan on alldata  (cost=0.00..286136.26 rows=1428487 width=780)
^^^^^^^^^^^^

The planner seems to think that this query will return rather a lot of
rows ... which would imply that a seqscan isn't necessarily a bad idea.
Is that rows estimate accurate?  (If not, have you ANALYZEd this table
lately?)
        regards, tom lane



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

Предыдущее
От:
Дата:
Сообщение: Timestamp index not used
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: seeing type defination..