[HACKERS] Display number of heap accesses for index scans

Поиск
Список
Период
Сортировка
От Andres Freund
Тема [HACKERS] Display number of heap accesses for index scans
Дата
Msg-id 20171104194537.kvdu3wie5wjmp7y6@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: [HACKERS] Display number of heap accesses for index scans
Список pgsql-hackers
Hi,

right now it's hard to figure out whether a plain indexscan returns
matches that then get eliminated due to visibility checks in the
heap. For both index only scans (via "Heap Fetches") and bitmapscans
(via row mismatches between bitmap heap and index scans) one can gather
that to some degree from explain analyze.

The number of index lookups that failed to return anything can be a
critical performance factor in OLTP workloads.  Therefore it seems like
it'd be a good idea to extend the explain analyze output to include that
information.

Greetings,

Andres Freund


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: [HACKERS] [PATCH] A hook for session start
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] Add some const decorations to prototypes