Jeff Self <jself(at)nngov(dot)com> writes:
> if it's too OT, let me know, and I'll stop. The query "SELECT authuser,
> SUM(bytes) AS traffic FROM logfile GROUP BY authuser ORDER BY traffic"
> [is slow]
What datatype are the columns used in the query? And what PG version
are we talking about?
regards, tom lane