Re: suppress output for benchmarking - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: suppress output for benchmarking
Date
Msg-id 20060119041140.GA78403@pervasive.com
Whole thread Raw
In response to suppress output for benchmarking  (uwcssa <uwcssa@gmail.com>)
List pgsql-hackers
On Wed, Jan 18, 2006 at 10:35:48PM -0500, uwcssa wrote:
>  I am testing the performance of postgresql on a set of workloads. However,
> the output significantly affects the performance evaluation. Is there a way
> to by-pass all output of select statements so the timing reflects only the
> query evaluation process?

SELECT count(*) FROM (SELECT ...) a;

If you're using psql \timing will probably be useful as well.

And this is better suited for -general...
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


pgsql-hackers by date:

Previous
From: uwcssa
Date:
Subject: suppress output for benchmarking
Next
From: Bruce Momjian
Date:
Subject: Re: pgxs/windows