Re: suppress output for benchmarking

From: Hannu Krosing <hannu(at)skype(dot)net>
To: uwcssa <uwcssa(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: suppress output for benchmarking
Date: 2006-01-19 21:46:29
Message-ID: 1137707189.4296.6.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-01-19 21:48:28 Re: suppress output for benchmarking
Previous Message Martijn van Oosterhout 2006-01-19 21:29:20 Re: Surrogate keys (Was: enums)