pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Sailer, Denis (YBUSA-CDR) <Denis.Sailer@Yellowbook.com>
To: 'pgsql-performance@postgresql.org' <pgsql-performance@postgresql.org>
Subject: Re: Query running slower than same on Oracle
Date: Wed, 25 Jun 2003 14:51:33 -0700
Message-ID: <200306251451.33928.josh@agliodbs.com> (raw)
In-Reply-To: <58D6EF5727036048BC9E08ECB711A42092ECD0@crmsmail.corp.ybusa.net>
References: <58D6EF5727036048BC9E08ECB711A42092ECD0@crmsmail.corp.ybusa.net>

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




view thread (3+ messages)

Message-ID: <200306251451.33928.josh@agliodbs.com>
Permalink:  ../200306251451.33928.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200306251451.33928.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, Denis.Sailer@Yellowbook.com
  Subject: Re: Query running slower than same on Oracle
  In-Reply-To: <200306251451.33928.josh@agliodbs.com>
  References: <58D6EF5727036048BC9E08ECB711A42092ECD0@crmsmail.corp.ybusa.net> <200306251451.33928.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox