Re: suppress output for benchmarking
От | Jim C. Nasby |
---|---|
Тема | Re: suppress output for benchmarking |
Дата | |
Msg-id | 20060119214828.GE78403@pervasive.com обсуждение исходный текст |
Ответ на | Re: suppress output for benchmarking (Hannu Krosing <hannu@skype.net>) |
Список | 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@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
В списке pgsql-hackers по дате отправления: