Performance question (stripped down the problem)
От | Tille, Andreas |
---|---|
Тема | Performance question (stripped down the problem) |
Дата | |
Msg-id | Pine.LNX.4.33.0109181400390.9092-100000@wr-linux02.rki.ivbb.bund.de обсуждение исходный текст |
Ответ на | Re: Performance question (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
Ответы |
Re: Performance question (stripped down the problem)
Re: Performance question (stripped down the problem) Re: Performance question (stripped down the problem) |
Список | 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;" | psqlifsgtest > 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.
В списке pgsql-general по дате отправления: