Re: yet another stupid question (index coverage)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: yet another stupid question (index coverage)
Дата
Msg-id Pine.LNX.4.30.0105172343100.757-100000@peter.localdomain
обсуждение исходный текст
Ответ на yet another stupid question (index coverage)  (Alex Pilosov <alex@pilosoft.com>)
Список pgsql-general
Alex Pilosov writes:

> Explain shows it is using index scan, however, it looks like database is
> fetching blocks from all over the disk, when all information necessary is
> already in index.

All except the all-important piece of information whether the tuple is
visible to the current transaction.  That you need to fetch from the main
table.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: yet another stupid question (index coverage)
Следующее
От: Scott Holmes
Дата:
Сообщение: Inserting Integers will using plpgsql...