Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 451F79FC83D for ; Fri, 26 Oct 2007 12:08:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 51548-03 for ; Fri, 26 Oct 2007 12:08:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from westnet.com (westnet.com [216.187.52.2]) by postgresql.org (Postfix) with ESMTP id 503609FC78C for ; Fri, 26 Oct 2007 12:08:07 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id l9QF87XA016374 for ; Fri, 26 Oct 2007 11:08:07 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id l9QF87cL016369 for ; Fri, 26 Oct 2007 11:08:07 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Fri, 26 Oct 2007 11:08:07 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: pgsql-performance@postgresql.org Subject: Re: Bunching "transactions" In-Reply-To: <4721F5E5.1020808@verizon.net> Message-ID: References: <4720B680.5060407@verizon.net> <60k5pbcc50.fsf@dba2.int.libertyrms.com> <4720EB53.6070009@verizon.net> <60lk9q9b2h.fsf@dba2.int.libertyrms.com> <4721F5E5.1020808@verizon.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/301 X-Sequence-Number: 27323 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@gregsmith.com http://www.gregsmith.com Baltimore, MD