Re: Fwd: Help required on query performance

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: dclements89(at)gmail(dot)com
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Fwd: Help required on query performance
Date: 2010-02-01 00:54:51
Message-ID: dcc563d11001311654j4e09a853p9b8f46b0312ba2ad@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sun, Jan 31, 2010 at 5:50 PM, Dave Clements <dclements89(at)gmail(dot)com> wrote:
> Hello, I have this query in my system which takes around 2.5 seconds
> to run. I have diagnosed that the problem is actually a hashjoin on
> perm and s_ast_role tables. Is there a way I can avoid that join? I
> just want to change the
> query and no environment change.

What does

explain analyze select ... (rest of your query)

say?

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dave Clements 2010-02-01 01:02:36 Re: Fwd: Help required on query performance
Previous Message Dave Clements 2010-02-01 00:50:22 Fwd: Help required on query performance