Re: Seq. scan when using comparison operators, why?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Seq. scan when using comparison operators, why?
Дата
Msg-id 20020408110513.M77664-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: Seq. scan when using comparison operators, why?  (Bill Gribble <grib@linuxdevel.com>)
Список pgsql-general
On 8 Apr 2002, Bill Gribble wrote:

> On Mon, 2002-04-08 at 07:45, Martijn van Oosterhout wrote:
> > "Properly" in your opinion. It's more likely that postgres has a better idea
> > of which one is faster...
>
> This seems to be the standard response to any message questioning the
> query planner's strategy.

Perhaps you missed the part of his message where he asks for more
information and gives a short reason why it *might* be choosing
sequence scan?

(quoted from Martijn's message)
"How many rows are there in the table? If you're going to match most of
the table, it's faster to scan the entire table than it is the scan the
index."


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

Предыдущее
От: "Jeffrey W. Baker"
Дата:
Сообщение: Re: more about pg_toast growth
Следующее
От: Darren Ferguson
Дата:
Сообщение: Re: Tcl_CreateSlave error (pg 7.1.2, RH 7.2)