Re: Help interpreting explain analyze output - Mailing list pgsql-performance

From Tom Lane
Subject Re: Help interpreting explain analyze output
Date
Msg-id 29079.1092598837@sss.pgh.pa.us
Whole thread Raw
In response to Re: Help interpreting explain analyze output  (Ole Tange <postgresql.org@tange.dk>)
List pgsql-performance
Ole Tange <postgresql.org@tange.dk> writes:
> Now I am curious: Why isn't DISTINCT implemented using a Hash aggregate?

Partly lack of round tuits, partly the fact that it is closely
intertwined with ORDER BY and I'm not sure what side-effects would
arise from separating them.  In particular, the DISTINCT ON special
case stops making any sense at all if it's not tied to a sort/uniq
underlying implementation.

            regards, tom lane

pgsql-performance by date:

Previous
From: Ole Tange
Date:
Subject: Re: Help interpreting explain analyze output
Next
From: William Yu
Date:
Subject: Re: Help specifying new machine