pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Agha Asif Raza <aghaasif@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Profiler for PostgreSQL
Date: Thu, 14 Jul 2005 02:27:32 -0400 (EDT)
Message-ID: <200507140627.j6E6RWv11806@candle.pha.pa.us> (raw)
In-Reply-To: <8d1c715f05071322582a27b996@mail.gmail.com>

Agha Asif Raza wrote:
> Is there any MS-SQL Server like 'Profiler' available for PostgreSQL? A 
> profiler is a tool that monitors the database server and outputs a detailed 
> trace of all the transactions/queries that are executed on a database during 
> a specified period of time. Kindly let me know if any of you knows of such a 
> tool for PostgreSQL.
>  Agha Asif Raza

Sure see log_statement in postgresql.conf.  There are a lot of settings
in there to control what is logged.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (5+ messages)  latest in thread

Message-ID: <200507140627.j6E6RWv11806@candle.pha.pa.us>
Permalink:  ../200507140627.j6E6RWv11806@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200507140627.j6E6RWv11806@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, aghaasif@gmail.com
  Subject: Re: Profiler for PostgreSQL
  In-Reply-To: <200507140627.j6E6RWv11806@candle.pha.pa.us>
  References: <8d1c715f05071322582a27b996@mail.gmail.com> <200507140627.j6E6RWv11806@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox