query profiling

From: Jeff Davis <jdavis-pgsql(at)empires(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: query profiling
Date: 2005-09-09 19:39:14
Message-ID: 4321E4E2.8030105@empires.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm aware of log_statement_stats, but as far as profiling goes, it's a
bit crude.

Is there an easier way to determine, for example, all the queries that
take longer than 0.5 seconds? I'd like to do this on a production
system, so I'd like to avoid anything that would crush performance or
cause any kind of downtime.

I could probably make log_statement_stats work, I'm just looking for an
easier way.

Regards,
Jeff Davis

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Jenkins 2005-09-09 19:50:37 Re: Problem creating a database in a script; '"template1" is being accessed'
Previous Message Madison Kelly 2005-09-09 19:30:32 Problem creating a database in a script; '"template1" is being accessed'