From: | Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> |
---|---|
To: | PgSQL Performance ML <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: join over 12 tables takes 3 secs to plan |
Date: | 2003-01-03 00:01:10 |
Message-ID: | 1041552070.16584.191.camel@haggis |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc pgsql-performance |
On Thu, 2003-01-02 at 15:40, Joe Conway wrote:
> Hilmar Lapp wrote:
> > As an added note, appreciating that query optimization is a difficult
> > problem, and I do think PostgreSQL is a great product. Having said
> > that, I've written 16-table joins for Oracle and always found them to
> > plan within a second or two, so that's why I thought there's nothing
> > special about the query I posted ... I'm not saying this to be bashful
> > about PostgreSQL, but rather to suggest that apparently there are ways
> > to do it pretty fast.
>
> I could be wrong, but I believe Oracle uses its rule based optimizer by
> default, not its cost based optimizer. A rule based optimizer will be very
> quick all the time, but might not pick the best plan all the time, because it
> doesn't consider the statistics of the data. Any idea which one you were using
> in your Oracle experience?
Remember also that the commercial RDMBSs have had many engineers working
for many years on these problems, whereas PostgreSQL hasn't...
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.
--
+------------------------------------------------------------+
| Ron Johnson, Jr. mailto:ron(dot)l(dot)johnson(at)cox(dot)net |
| Jefferson, LA USA http://members.cox.net/ron.l.johnson |
| |
| "Basically, I got on the plane with a bomb. Basically, I |
| tried to ignite it. Basically, yeah, I intended to damage |
| the plane." |
| RICHARD REID, who tried to blow up American Airlines |
| Flight 63 |
+------------------------------------------------------------+
From | Date | Subject | |
---|---|---|---|
Next Message | Noel | 2003-01-03 00:15:08 | Re: error when using move, any suggestions? |
Previous Message | Nic Ferrier | 2003-01-02 22:57:54 | Re: [PATCHES] Fwd: Patch for streaming resultsets |
From | Date | Subject | |
---|---|---|---|
Next Message | Hilmar Lapp | 2003-01-03 00:24:51 | Re: join over 12 tables takes 3 secs to plan |
Previous Message | Hilmar Lapp | 2003-01-02 22:49:01 | Re: join over 12 tables takes 3 secs to plan |