Re: Performance problem, what to do? - Mailing list pgsql-sql

From Archibald Zimonyi
Subject Re: Performance problem, what to do?
Date
Msg-id Pine.LNX.4.21.0112181648130.8378-200000@valdez.netg.se
Whole thread Raw
In response to Re: Performance problem, what to do?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql


> Archibald Zimonyi <archie@netg.se> writes:
> > On demand, I'll post the database structure as well as the SQL query which
> > creates the slow respons. I'll add them as attachments (do they come at
> > all?).
> 
> You're forcing the join order by using explicit JOIN syntax.
> Rearranging the join order might yield a better plan.  See
> http://www.postgresql.org/users-lounge/docs/7.1/postgres/explicit-joins.html
> 
I know I am, but if you look at the plan (which I will again add as an
attachment) you see that the plan looks pretty good, in fact way better
then the original plan did.

I don't know how much time each "unit" takes, but a normal select (SELECT 
* FROM <table>), which might yield a plan of 0..22.2 "units", takes no
time at all. This plan is at most up at 200, which I don't think is costly
considering what it does.

Archie

pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Performance problem, what to do?
Next
From: Iklódi Lajos
Date:
Subject: Re: Execution time problem