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

Re: Bunching "transactions"

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Bunching "transactions"
Date: 2007-10-26 15:08:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Fri, 26 Oct 2007, Jean-David Beyer wrote:

> I think it was Jon Louis Bently who wrote (in his book, "Writing 
> Efficient Programs") something to the effect, "Premature optimization is 
> the root of all evil."

That quote originally comes from Tony Hoare, popularized by a paper 
written by Donald Knuth in 1974.  The full statement is "We should forget 
about small efficiencies, say about 97% of the time: premature 
optimization is the root of all evil.  Yet we should not pass up our 
opportunities in that critical 3%."

My favorite sound-bite on this topic is from William Wulf:  "More 
computing sins are committed in the name of efficiency (without 
necessarily achieving it) than for any other single reason - including 
blind stupidity."  That was back in 1972.  Both his and Knuth's papers 
centered on abusing GOTO, which typically justified at the time via 
performance concerns.

* Greg Smith gsmith(at)gregsmith(dot)com Baltimore, MD

In response to

pgsql-performance by date

Next:From: Jignesh K. ShahDate: 2007-10-26 15:45:26
Subject: Re: [HACKERS] 8.3beta1 testing on Solaris
Previous:From: Jean-David BeyerDate: 2007-10-26 14:12:53
Subject: Re: Bunching "transactions"

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