Re: Query running slower than same on Oracle

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: "Sailer, Denis (YBUSA-CDR)" <Denis(dot)Sailer(at)Yellowbook(dot)com>, "'pgsql-performance(at)postgresql(dot)org'" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Query running slower than same on Oracle
Date: 2003-06-25 21:51:33
Message-ID: 200306251451.33928.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Denis,

> I'm wondering what else can be done to tune this type of query. Is 3
> minutes reasonable given the amount of data that is loaded into the 3
> tables? Is there anyone else who has made comparisons between Oracle and
> PostgreSQL?

We will probably be a bit slower on aggregates than Oracle is, for reasons
discussed on this list ad nauseum. However, it also looks from the queries
like you forgot to index your foriegn keys.

--
-Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message SZUCS Gábor 2003-06-26 10:30:59 Re: Similar querys, better execution time on worst execution plan
Previous Message Tom Lane 2003-06-25 21:50:45 Re: Query running slower than same on Oracle