Re: The planner chooses seqscan+sort when there is an index on the sort column

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: The planner chooses seqscan+sort when there is an index on the sort column
Дата
Msg-id 20060503155432.GA18128@KanotixBox
обсуждение исходный текст
Ответ на The planner chooses seqscan+sort when there is an index on the sort column  (Csaba Nagy <nagy@ecircle-ag.com>)
Ответы Re: The planner chooses seqscan+sort when there is an  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-general
Csaba Nagy <nagy@ecircle-ag.com> schrieb:
> select * from table order by col_1;

Without a WHERE you get the whole table.

A Index-Scan is, in this case, expensive.


HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

Предыдущее
От: "John D. Burger"
Дата:
Сообщение: Re: The planner chooses seqscan+sort when there is an index on the sort column
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: The planner chooses seqscan+sort when there is an