Re: suppress output for benchmarking

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: suppress output for benchmarking
Дата
Msg-id 1137707189.4296.6.camel@localhost.localdomain
обсуждение исходный текст
Ответ на suppress output for benchmarking  (uwcssa <uwcssa@gmail.com>)
Ответы Re: suppress output for benchmarking  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список 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 по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Surrogate keys (Was: enums)
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: suppress output for benchmarking