Skip site navigation (1) Skip section navigation (2)

Re: Performance problem, what to do?

From: Archibald Zimonyi <archie(at)netg(dot)se>
To: postgres sql list <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Performance problem, what to do?
Date: 2001-12-18 15:50:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql

> Archibald Zimonyi <archie(at)netg(dot)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
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.


Attachment: explain.txt
Description: text/plain (4.7 KB)

In response to

pgsql-sql by date

Next:From: Josh BerkusDate: 2001-12-18 16:37:46
Subject: Re: Operation on bit strings with different length
Previous:From: Tom LaneDate: 2001-12-18 15:36:54
Subject: Re: Performance problem, what to do?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group