Re: query optimiser changes 6.5->7.0

Поиск
Список
Период
Сортировка
От Jeff Hoffmann
Тема Re: query optimiser changes 6.5->7.0
Дата
Msg-id 3937D85E.D1136092@propertykey.com
обсуждение исходный текст
Ответ на query optimiser changes 6.5->7.0  ("Simon Hardingham" <simon@netxtra.net>)
Список pgsql-general
Martijn van Oosterhout wrote:

> > set enable_seqscan=off;
>
> But doesn't this mean that if there are no appropriate
> indicies defined on a table, queries will fail?

no, it just makes sequential scans a very bad choice.  of course, if
there aren't any other choices, you're stuck going with the bad choice.
that means that if there aren't any other options (i.e. indexes) you'll
always revert to a sequential scan.

jeff

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

Предыдущее
От: moebius@ip-solutions.net
Дата:
Сообщение: recipe database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: query optimiser changes 6.5->7.0