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 54086329E57 for ; Mon, 18 Oct 2004 19:13:39 +0100 (BST) 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 69404-09 for ; Mon, 18 Oct 2004 18:13:29 +0000 (GMT) Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id A7CAC329DFC for ; Mon, 18 Oct 2004 19:13:28 +0100 (BST) Received: from [192.168.1.20] (clbb-248.saw.net [64.146.135.248]) (authenticated) by hosting.commandprompt.com (8.11.6/8.11.6) with ESMTP id i9IIDOu16699; Mon, 18 Oct 2004 11:13:24 -0700 Message-ID: <4174074F.5010607@commandprompt.com> Date: Mon, 18 Oct 2004 11:11:27 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) X-Accept-Language: en-us, en MIME-Version: 1.0 To: nd02tsk@student.hig.se Cc: pgsql-performance@postgresql.org Subject: Re: How to time several queries? References: <2612.130.243.12.107.1098124104.squirrel@130.243.12.107> In-Reply-To: <2612.130.243.12.107.1098124104.squirrel@130.243.12.107> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/261 X-Sequence-Number: 8737 nd02tsk@student.hig.se wrote: >Hello > >I posted this on the general list but think it would be more appropriate >here. Sorry. > >I know it is possible to time isolated queries through the settting of the >\timing option in psql. This makes PgSQL report the time it took to >perform one operation. > >I would like to know how one can get a time summary of many operations, if >it is at all possible. > > > Hello, You can turn on statement and duration logging in the postgresql.conf >Thank you. > >Tim > > > >---------------------------(end of broadcast)--------------------------- >TIP 4: Don't 'kill -9' the postmaster > > -- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC Postgresql support, programming shared hosting and dedicated hosting. +1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com PostgreSQL Replicator -- production quality replication for PostgreSQL