Re: pl/pgsql function spikes CPU 100% - Mailing list pgsql-admin

From Tom Lane
Subject Re: pl/pgsql function spikes CPU 100%
Date
Msg-id 24506.1177396393@sss.pgh.pa.us
Whole thread Raw
In response to Re: pl/pgsql function spikes CPU 100%  (Jeff Frost <jeff@frostconsultingllc.com>)
Responses Re: pl/pgsql function spikes CPU 100%
List pgsql-admin
Jeff Frost <jeff@frostconsultingllc.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

pgsql-admin by date:

Previous
From: Jeff Frost
Date:
Subject: Re: pl/pgsql function spikes CPU 100%
Next
From: Muhammad Isnaini
Date:
Subject: Replication Multi Master Asyncronous