Re: Help interpreting explain analyze output

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ole Tange <postgresql(dot)org(at)tange(dot)dk>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Help interpreting explain analyze output
Date: 2004-08-15 19:40:37
Message-ID: 29079.1092598837@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Ole Tange <postgresql(dot)org(at)tange(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message William Yu 2004-08-15 20:17:13 Re: Help specifying new machine
Previous Message Ole Tange 2004-08-15 19:08:19 Re: Help interpreting explain analyze output