From: | "Tille, Andreas" <TilleA(at)rki(dot)de> |
---|---|
To: | |
Cc: | PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
Subject: | Performance question (stripped down the problem) |
Date: | 2001-09-18 12:06:33 |
Message-ID: | Pine.LNX.4.33.0109181400390.9092-100000@wr-linux02.rki.ivbb.bund.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello once more,
I stripped the database down to one single table with only the relevant
columns. A pg_dump can be found under
http://www.foodborne-net.de/~tillea/ifsg/ifsgtest.dump.bz2
I would really like it if you try the query
#!/bin/sh
ERG=$0.ptk
START=`date +%s`
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
let i="`date +%s` - $START"
echo "Query took ${i} seconds." >> result
(which should just measure the time needed for this task). It took my
E250 (2x400MHz, 2GB) server 20 seconds and this is definitely much to
long for our application.
Any hints are gratly appreciated
Andreas.
From | Date | Subject | |
---|---|---|---|
Next Message | Justin Clift | 2001-09-18 12:20:01 | Re: [HACKERS] MySQL development MUST immdediately cease - Due to |
Previous Message | Justin Clift | 2001-09-18 11:54:30 | Re: Ridicolus Postgresql review |