Re: Performance question (stripped down the problem) - Mailing list pgsql-general

From Tille, Andreas
Subject Re: Performance question (stripped down the problem)
Date
Msg-id Pine.LNX.4.33.0109191130100.9092-100000@wr-linux02.rki.ivbb.bund.de
Whole thread Raw
In response to Re: Performance question (stripped down the problem)  ("Matt Block" <matt@blockdev.net>)
List pgsql-general
On Tue, 18 Sep 2001, Matt Block wrote:

> > echo "SELECT Hauptdaten_Fall.MeldeKategorie, Count
> > (Hauptdaten_Fall.ID) AS Anz FROM Hauptdaten_Fall
> > WHERE (((Hauptdaten_Fall.IstAktuell)=20)) GROUP
> > BY Hauptdaten_Fall.MeldeKategorie ORDER BY
> > Hauptdaten_Fall.MeldeKategorie;" | psql ifsgtest > result
>
> I've not yet looked at the rest of the problem, but doesn't
> ORDER BY make GROUP BY redundant?  Just an extra sort?
No it doesn´t.  I have to do exact this query.

Kind regards

         Andreas.

pgsql-general by date:

Previous
From: Doug Moore
Date:
Subject: read in to psql from file
Next
From: Jean-Christophe Boggio
Date:
Subject: Fwd: URGENT ! Nouveau virus