Re: How to time several queries?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: nd02tsk(at)student(dot)hig(dot)se
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: How to time several queries?
Date: 2004-10-18 18:11:27
Message-ID: 4174074F.5010607@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

nd02tsk(at)student(dot)hig(dot)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(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message nd02tsk 2004-10-18 18:28:24 How to time several queries?
Previous Message Rod Dutton 2004-10-18 18:01:25 Queries slow using stored procedures