X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 876AC52D3B for ; Thu, 14 Jul 2005 03:27:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91341-04 for ; Thu, 14 Jul 2005 06:27:33 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 4FA6652C70 for ; Thu, 14 Jul 2005 03:27:32 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j6E6RWv11806; Thu, 14 Jul 2005 02:27:32 -0400 (EDT) From: Bruce Momjian Message-Id: <200507140627.j6E6RWv11806@candle.pha.pa.us> Subject: Re: Profiler for PostgreSQL In-Reply-To: <8d1c715f05071322582a27b996@mail.gmail.com> To: Agha Asif Raza Date: Thu, 14 Jul 2005 02:27:32 -0400 (EDT) Cc: pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/165 X-Sequence-Number: 13406 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