show Heap Fetches in EXPLAIN for index-only scans - Mailing list pgsql-hackers

From Robert Haas
Subject show Heap Fetches in EXPLAIN for index-only scans
Date
Msg-id CA+TgmoYwVhYkGJfNWz7DF3P5VPw-8qv97o8dwdhfpxf6O1tYfw@mail.gmail.com
Whole thread Raw
Responses Re: show Heap Fetches in EXPLAIN for index-only scans  (Magnus Hagander <magnus@hagander.net>)
Re: show Heap Fetches in EXPLAIN for index-only scans  (Peter Geoghegan <peter@2ndquadrant.com>)
Re: show Heap Fetches in EXPLAIN for index-only scans  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: show Heap Fetches in EXPLAIN for index-only scans  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
I think that people who are using index-only scans are going to want
some way to find out the degree to which the scans are in fact
index-only.

So here's a 5-line patch that adds the number of heap fetches to the
EXPLAIN ANALYZE output.  This might not be all the instrumentation
we'll ever want here, but I think we at least want this much.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Disabled features on Hot Standby
Next
From: Robert Haas
Date:
Subject: Re: Disabled features on Hot Standby