Re: pl/pgsql function spikes CPU 100%

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pl/pgsql function spikes CPU 100%
Date: 2007-04-24 06:33:13
Message-ID: 24506.1177396393@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jeff Frost <jeff(at)frostconsultingllc(dot)com> writes:
> Well, finally got this system upgraded to 8.1.8, but unfortunately, that did
> not resolve this. Is there any reasonable way to see where this function is
> spending it's time?

I've grown enamored of oprofile lately --- if you're on a recent Linux
system, try that. Solaris' DTrace is said to have equivalent
capability. On other systems you could consider plain 'ol gprof.

Any of these will require a certain amount of man-page-reading :-(

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message sufian khan 2007-04-24 07:08:28 Help me to decrypt password
Previous Message Jeff Frost 2007-04-24 06:18:20 Re: pl/pgsql function spikes CPU 100%