Re: Procedural Code Profiling - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Procedural Code Profiling
Date
Msg-id 162867790708170031v318bbc1dyb3e85bdbcdf280d7@mail.gmail.com
Whole thread Raw
In response to Procedural Code Profiling  (Lewis Cunningham <lewisc@rocketmail.com>)
List pgsql-general
2007/8/6, Lewis Cunningham <lewisc@rocketmail.com>:
> Hi all,
>
> What is the best tool for an app to profile procedural code in
> postgres?  I want to instrument my code and trace it so that I can
> see which code bits are sucking up the cpu and time.  I know I can
> stick messages in the code and gather my own stats but I was
> wondering is there are any good tools to automate this.
>
> Specifically working with pl/pgSQL and 8.2 (on Linux or windows) if
> that helps.
>
> Thanks,
>
> LewisC
>

pgfouine is the best

Regards
Pavel Stehule

pgsql-general by date:

Previous
From: Tyson Lloyd Thwaites
Date:
Subject: Re: [RESEND] Transaction auto-abort causes grief with Spring Framework
Next
From: "Pavel Stehule"
Date:
Subject: Re: [BUGS] some information