X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 5339D30FCFE for ; Wed, 25 Jun 2003 21:52:37 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 11058-09 for ; Wed, 25 Jun 2003 18:52:27 -0300 (ADT) Received: from davinci.ethosmedia.com (unknown [209.10.40.251]) by svr1.postgresql.org (Postfix) with ESMTP id 9CE1730FC66 for ; Wed, 25 Jun 2003 18:52:26 -0300 (ADT) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3153993; Wed, 25 Jun 2003 14:52:39 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "Sailer, Denis (YBUSA-CDR)" , "'pgsql-performance@postgresql.org'" Subject: Re: Query running slower than same on Oracle Date: Wed, 25 Jun 2003 14:51:33 -0700 User-Agent: KMail/1.4.3 References: <58D6EF5727036048BC9E08ECB711A42092ECD0@crmsmail.corp.ybusa.net> In-Reply-To: <58D6EF5727036048BC9E08ECB711A42092ECD0@crmsmail.corp.ybusa.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306251451.33928.josh@agliodbs.com> X-Archive-Number: 200306/174 X-Sequence-Number: 2258 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= =20 discussed on this list ad nauseum. However, it also looks from the querie= s=20 like you forgot to index your foriegn keys. --=20 -Josh Berkus Aglio Database Solutions San Francisco