Re: explain analyze rows=%.0f - Mailing list pgsql-hackers

From Joshua Tolley
Subject Re: explain analyze rows=%.0f
Date
Msg-id 20090529041623.GE15201@eddie
Whole thread Raw
In response to Re: explain analyze rows=%.0f  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: explain analyze rows=%.0f
List pgsql-hackers
On Thu, May 28, 2009 at 11:12:42PM -0400, Robert Haas wrote:
> On Thu, May 28, 2009 at 11:00 PM, Euler Taveira de Oliveira
> > Don't you think is too strange having, for example, 6.67 rows?
>
> No stranger than having it say 7 when it's really not.  Actually mine
> mostly come out 1 when the real value is somewhere between 0.5 and
> 1.49.  :-(

+1. It would help users realize more quickly that some of the values in the
EXPLAIN output are, for instance, *average* number of rows *per iteration* of a
nested loop, say, rather than total rows found in all loops. That's an
important distinction that isn't immediately clear to the novice EXPLAIN
reader, but would become so very quickly as users tried to figure out how a
scan could come up with a fractional row.

- Josh / eggyknap

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Unicode string literals versus the world
Next
From: "Markus Wanner"
Date:
Subject: Re: PostgreSQL Developer meeting minutes up