From: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
---|---|
To: | Hannu Krosing <hannu(at)skype(dot)net> |
Cc: | uwcssa <uwcssa(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: suppress output for benchmarking |
Date: | 2006-01-19 21:48:28 |
Message-ID: | 20060119214828.GE78403@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jan 19, 2006 at 11:46:29PM +0200, Hannu Krosing wrote:
> ??hel kenal p??eval, K, 2006-01-18 kell 22:35, kirjutas uwcssa:
> > 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?
>
> If you do EXPLAIN ANALYSE QUERY instead of just QUERY, then the backend
> discards all rows returned and just gives back performance data
The flipside is that EXPLAIN ANALYZE adds it's own (non-trivial)
overhead to the query.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2006-01-19 21:56:17 | Re: [PATCH] Better way to check for getaddrinfo function. |
Previous Message | Hannu Krosing | 2006-01-19 21:46:29 | Re: suppress output for benchmarking |