From: Tom Lane <tgl@sss.pgh.pa.us>
To: Torbjörn Andersson <tobbe@embryo.se>
Cc: pgsql-sql@postgresql.org
Subject: Re: How long does it take?
Date: Wed, 13 Feb 2002 16:43:07 -0500
Message-ID: <849.1013636587@sss.pgh.pa.us> (raw)
In-Reply-To: <B89079A1.175D%tobbe@embryo.se>
References: <B89079A1.175D%tobbe@embryo.se>
Torbj=?ISO-8859-1?B?9g==?=rn Andersson <tobbe@embryo.se> writes:
> Does anyone have any good tips on how to measure the time it takes to
> extecute an SQL-statement in psql?
> I'd like to use it in conjunction with EXPLAIN in order to help me determine
> what needs to be optimized as well as checking that my optimization actually
> improved matters...
See "EXPLAIN ANALYZE" in 7.2.
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, tobbe@embryo.se
Subject: Re: How long does it take?
In-Reply-To: <849.1013636587@sss.pgh.pa.us>
* 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