Re: That EXPLAIN ANALYZE patch still needs work - Mailing list pgsql-hackers

From Tom Lane
Subject Re: That EXPLAIN ANALYZE patch still needs work
Date
Msg-id 10440.1149702732@sss.pgh.pa.us
Whole thread Raw
In response to Re: That EXPLAIN ANALYZE patch still needs work  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Nope, that is certainly not the explanation, because the hash table is
>> loaded in the (single) call of the Hash node at the start of the query.
>> It is static all through the sampled-and-not executions of the Hash Join
>> node, which is where our problem is.

> At the risk of asking a stupid question, it's not perchance including that
> hash build in the first sample it takes of the hash join node?

Sure.  Which is one of the reasons why the first tuple is excluded from
the extrapolation...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: That EXPLAIN ANALYZE patch still needs work
Next
From: Andrew Dunstan
Date:
Subject: Re: ADD/DROP INHERITS