Re: Performance aggregates

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: snpe <snpe(at)infosky(dot)net>
Cc: PostgreSQL-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Performance aggregates
Date: 2001-05-15 15:28:16
Message-ID: Pine.BSF.4.21.0105150825190.22428-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 15 May 2001, snpe wrote:

> Table e_kalkn have 4668 rows and e_kalkns 101170 rows.
>
> Query :
>
> select roba,sum(izn)
> from e_kalkn k,e_kalkns ks
> where k.id=ks.id
> group by roba
> order by roba
>
> is 2.5 times faster on one commercial database (there are tests on Internet
> that say 'Postgresql is faster than that database).
> I can't say which database it is.

Have you run vacuum analyze (since loading the data) and what does explain
show for the query. Also, what version are you using?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-05-15 15:51:06 Re: locking a dropped table
Previous Message Trygve Falch 2001-05-15 15:24:33 SELECT from a table in another database