Re: [HACKERS] Display number of heap accesses for index scans - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: [HACKERS] Display number of heap accesses for index scans
Date
Msg-id CAPpHfdtQT51jJn3BJSsOcgJvsJbN1ntVEPzQc80nOojqvzW+_g@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Display number of heap accesses for index scans  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Nov 6, 2017 at 6:33 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Peter Geoghegan <pg@bowt.ie> writes:
> Andres Freund <andres@anarazel.de> wrote:
>> 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.

> I certainly agree.

Doesn't the EXPLAIN (BUFFERS) output already address this?

In plain index scan EXPLAIN (ANALYZE, BUFFERS) doesn't distinguish buffers accessed in index and buffers accessed in heap

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company 

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] why not parallel seq scan for slow functions
Next
From: Raúl Marín Rodríguez
Date:
Subject: Re: [HACKERS] pow support for pgbench