Re: Any way to speed this up?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
Cc: "PostgreSQL Perform" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Any way to speed this up?
Date: 2005-04-07 16:04:34
Message-ID: 3303.1112889874@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Joel Fradkin" <jfradkin(at)wazagua(dot)com> writes:
> Running this explain on windows box, but production on linux both 8.0.1

Are you using any nondefault optimizer settings? The vast bulk of the
time is going into the indexscan on tblassociate (almost 42 out of the
48 seconds), and I'm a bit surprised it didn't choose a seqscan and sort
instead. Or even more likely, forget the merge joins altogether and use
hash joins --- the other tables are plenty small enough to fit in hash
tables.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-04-07 16:13:48 Re: Any way to speed this up?
Previous Message Tom Lane 2005-04-07 15:57:44 Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"