Re: CPU usage by sqls - Mailing list pgsql-admin

From ktm@rice.edu
Subject Re: CPU usage by sqls
Date
Msg-id 20131021174840.GA20049@aart.rice.edu
Whole thread Raw
In response to CPU usage by sqls  (Thara Vadakkeveedu <tharagv@yahoo.com>)
List pgsql-admin
On Mon, Oct 21, 2013 at 09:18:18AM -0700, Thara Vadakkeveedu wrote:
> Hi
> Is there a way to get cpu utilization of various sql statements during a specific time period on postgresql ?
> Say I start a performance test, I would like to collect a top sql report at the end of the test (like in sql server)
thatgives details of the top cpu consuming sqls..  
> Also wondering if there is a sql profiler on postgressql that indicates the number of rows read and written to by sql
statements,cpu cost, elapsed time etc during a profiled session. 
> thanks,
> thara.

Hi Thara,

Have you looked at pgbadger?

Cheers,
Ken


pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: CPU usage by sqls
Next
From: Ilya Kosmodemiansky
Date:
Subject: PostgreSQL 9.2.5 Open SuSe rpm