Skip site navigation (1) Skip section navigation (2)

Re: Benchmarking Function

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: David Wheeler <david(at)kineticode(dot)com>
Subject: Re: Benchmarking Function
Date: 2006-05-21 19:23:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

> The idea of the control is, of course, to subtract the overhead of  
> the benchmarking function from the code actually being tested. So I  
> guess my question is, how important is it to have the control there,  
> and, if it is important, how should it actually work?

Well, per our conversation the approach doesn't really work.   EXECUTE 
'string' + generate_series seems to carry a substantial and somewhat random 
overhead, between 100ms and 200ms -- enough to wipe out any differences 
between queries.

Josh Berkus
Aglio Database Solutions
San Francisco

In response to


pgsql-performance by date

Next:From: Brendan DuddridgeDate: 2006-05-21 20:01:14
Subject: Re: Performs WAY better with enable_seqscan = off
Previous:From: RagnarDate: 2006-05-21 10:50:11
Subject: Re: Performs WAY better with enable_seqscan = off

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group