Re: CPU Intensive query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Abu Mushayeed <abumushayeed(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: CPU Intensive query
Date: 2007-05-18 21:51:04
Message-ID: 3287.1179525064@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Abu Mushayeed <abumushayeed(at)yahoo(dot)com> writes:
> The query is as follows and it's explain plan is also attached:

The query itself seems to be a simple join over not too many rows, so
I don't see how it could be taking 24 hours. What I suspect is you're
incurring lots and lots of invocations of those user-written functions
and one of them has suddenly decided to get very slow.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Abu Mushayeed 2007-05-18 22:26:08 Re: CPU Intensive query
Previous Message Abu Mushayeed 2007-05-18 21:37:27 Re: CPU Intensive query