About Access paths

Поиск
Список
Период
Сортировка
От Ioannis Theoharis
Тема About Access paths
Дата
Msg-id Pine.GSO.4.58.0503062229230.14330@ourania.ics.forth.gr
обсуждение исходный текст
Ответ на Postgres cluster  (Morten <lists@kikobu.com>)
Ответы Re: About Access paths  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general

Hi,

in case that one has a table R(att0 int4, att1 int4), an index on att1
and a query selecting only att1 whith a range condition over att1, then
the optimal access path for a rdbms would be "INDEX ONLY SCAN", which means
scan only the index, and not the relation (all the needed information
exists in index, because the select clause has only the att1 attribute).
This access path is selected in this case by Oracle.

As far as i can see, postgresql select a simple "INDEX SCAN using index"
on table.

Is there any tuning that one has to do, in order to make postgresql's
optimizer to select "INDEX ONLY SCAN" ?
Or postgresql doesn't support this feature at all?

thanks.



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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [ADMIN] PostgreSQL installation problem on Windows XP Home
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: About Access paths