pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: nd02tsk@student.hig.se
Cc: pgsql-performance@postgresql.org
Subject: Re: How to time several queries?
Date: Mon, 18 Oct 2004 11:11:27 -0700
Message-ID: <4174074F.5010607@commandprompt.com> (raw)
In-Reply-To: <2612.130.243.12.107.1098124104.squirrel@130.243.12.107>
References: <2612.130.243.12.107.1098124104.squirrel@130.243.12.107>

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




view thread (4+ messages)  latest in thread

Message-ID: <4174074F.5010607@commandprompt.com>
Permalink:  ../4174074F.5010607@commandprompt.com/
Also on:    postgresql.org/message-id/4174074F.5010607@commandprompt.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jd@commandprompt.com, nd02tsk@student.hig.se
  Subject: Re: How to time several queries?
  In-Reply-To: <4174074F.5010607@commandprompt.com>

* 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