Re: suppress output for benchmarking

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: uwcssa <uwcssa(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: suppress output for benchmarking
Date: 2006-01-19 04:11:40
Message-ID: 20060119041140.GA78403@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-01-19 04:48:09 Re: pgxs/windows
Previous Message uwcssa 2006-01-19 03:35:48 suppress output for benchmarking