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

From Hannu Krosing
Subject Re: suppress output for benchmarking
Date
Msg-id 1137707189.4296.6.camel@localhost.localdomain
Whole thread Raw
In response to suppress output for benchmarking  (uwcssa <uwcssa@gmail.com>)
Responses Re: suppress output for benchmarking
List pgsql-hackers
Ü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

-------------------
Hannu





pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Surrogate keys (Was: enums)
Next
From: "Jim C. Nasby"
Date:
Subject: Re: suppress output for benchmarking