Re: join over 12 tables takes 3 secs to plan

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Hilmar Lapp <hlapp(at)gmx(dot)net>
Cc: Ron Johnson <ron(dot)l(dot)johnson(at)COX(dot)NET>, PgSQL Performance ML <pgsql-performance(at)postgresql(dot)org>
Subject: Re: join over 12 tables takes 3 secs to plan
Date: 2003-01-03 17:01:29
Message-ID: Pine.LNX.4.33.0301030958540.13778-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-performance

On Thu, 2 Jan 2003, Hilmar Lapp wrote:

>
> On Thursday, January 2, 2003, at 04:01 PM, Ron Johnson wrote:
>
> >
> > Could it be that PG isn't the proper tool for the job? Of course,
> > at USD20K/cp, Oracle may be slightly out of budget.
> >
> >
>
> We are in fact an Oracle shop, but the application I tried to get
> running (http://trackplus.sourceforge.net/) I wanted to run on an OSS
> RDBMS so that I could easily move it onto my laptop etc (BTW apparently
> it was primarily developed on InterBase/Firebird). Anyway, I was able
> to cut the planning time for those queries in half by setting
> geqo_pool_size to 512. However, now it gets stuck for an excessive
> amount of time after the issue update page and I have no idea what's
> going on, and I'm not in the mood to track it down. So finally I'm
> giving up and I'm rolling it out on MySQL on which it is working fine,
> even though I don't like MySQL to say the least.

Have you tried it on firebird for linux? It's an actively developed rdbms
that's open source too. If this was developed for it, it might be a
better fit to use that for now, and then learn postgresql under the less
rigorous schedule of simply porting, not having to get a product out the
door.

Is an explicit join the answer here? i.e. will the number of rows we get
from each table in a single query likely to never change? If so then you
could just make an explicit join and be done with it.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeff 2003-01-03 17:12:44 Re: join over 12 tables takes 3 secs to plan
Previous Message Nic Ferrier 2003-01-03 16:35:05 Re: Patch for streaming resultsets [Viruschecked]

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff 2003-01-03 17:12:44 Re: join over 12 tables takes 3 secs to plan
Previous Message Charles H. Woloszynski 2003-01-03 00:36:12 Re: join over 12 tables takes 3 secs to plan