Re: timing queries?

From: "Nicolai Tufar" <ntufar(at)apb(dot)com(dot)tr>
To: "Andy Kriger" <akriger(at)greaterthanone(dot)com>, "Pgsql-General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: timing queries?
Date: 2002-12-02 18:54:02
Message-ID: 015a01c29a34$2e475980$8016a8c0@apb.com.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

EXPLAIN ANALYZE <your query here>

----- Original Message -----
From: "Andy Kriger" <akriger(at)greaterthanone(dot)com>
To: "Pgsql-General" <pgsql-general(at)postgresql(dot)org>
Sent: Monday, December 02, 2002 8:05 PM
Subject: [GENERAL] timing queries?

> Is it possible to find out how long a query takes in the psql command-line
> tool? For example, when I exectute a query I want to see 28ms or whatever
> before the query results. If not in the command-line tool, is there a way
to
> log this info? (I have query logging turned on, but that just shows the
> query being executed). I need this info to compare against making calls
> through JDBC and through an object-layer on top of JDBC.
>
> thx
> andy
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2002-12-02 19:13:13 Arrays: missing/skipped elements
Previous Message SZUCS Gábor 2002-12-02 18:48:13 Re: Arrays: determining size