Re: Extremely slow HashAggregate in simple UNION query - Mailing list pgsql-performance

From Tom Lane
Subject Re: Extremely slow HashAggregate in simple UNION query
Date
Msg-id 6839.1566675663@sss.pgh.pa.us
Whole thread Raw
In response to Re: Extremely slow HashAggregate in simple UNION query  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: Extremely slow HashAggregate in simple UNION query
List pgsql-performance
Jeff Janes <jeff.janes@gmail.com> writes:
> Most of the time is not after the clock stops, but before the stepwise
> ANALYZE clock starts.  If you just do an EXPLAIN rather than EXPLAIN
> ANALYZE, that is also slow.  The giant hash table is created during the
> planning step (or somewhere around there

It's in executor startup, I believe.

            regards, tom lane



pgsql-performance by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Extremely slow HashAggregate in simple UNION query
Next
From: Andres Freund
Date:
Subject: Re: Extremely slow HashAggregate in simple UNION query