Re: Profiler for PostgreSQL

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Agha Asif Raza <aghaasif(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Profiler for PostgreSQL
Date: 2005-07-14 06:27:32
Message-ID: 200507140627.j6E6RWv11806@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Dan Harris 2005-07-14 06:28:05 Re: Quad Opteron stuck in the mud
Previous Message Greg Stark 2005-07-14 06:12:30 Re: Quad Opteron stuck in the mud