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?