X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A20FED9EA5 for ; Wed, 5 Oct 2005 17:01:28 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88258-09 for ; Wed, 5 Oct 2005 20:01:20 +0000 (GMT) Received: from outbound0.sv.meer.net (outbound0.sv.meer.net [205.217.152.13]) by svr1.postgresql.org (Postfix) with ESMTP id C1483DA29A for ; Wed, 5 Oct 2005 17:01:19 -0300 (ADT) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outbound0.sv.meer.net (8.12.10/8.12.6) with ESMTP id j95JqMsi028240 for ; Wed, 5 Oct 2005 12:52:22 -0700 (PDT) (envelope-from trainor@transborder.net) Received: from [192.168.1.46] (pool-151-197-28-186.phil.east.verizon.net [151.197.28.186]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id j95JqGD4030526 for ; Wed, 5 Oct 2005 12:52:16 -0700 (PDT) (envelope-from trainor@transborder.net) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <17434238.1128481614269.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> References: <17434238.1128481614269.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> Content-Type: multipart/alternative; boundary=Apple-Mail-1--89115678 Message-Id: From: "Douglas J. Trainor" Subject: Re: Is There Any Way .... Date: Wed, 5 Oct 2005 15:52:19 -0400 To: pgsql-performance@postgresql.org X-Mailer: Apple Mail (2.623) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200510/115 X-Sequence-Number: 14883 --Apple-Mail-1--89115678 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed A blast from the past is forwarded below. douglas Begin forwarded message: > From: Tom Lane > Date: August 23, 2005 3:23:43 PM EDT > To: Donald Courtney > Cc: pgsql-performance@postgresql.org, Frank Wiles , > gokulnathbabu manoharan > Subject: Re: [PERFORM] Caching by Postgres > > Donald Courtney writes: >> I am not alone in having the *expectation* that a database should have >> some cache size parameter and the option to skip the file system. If >> I use oracle, sybase, mysql and maxdb they all have the ability to >> size a data cache and move to 64 bits. > > And you're not alone in holding that opinion despite having no shred > of evidence that it's worthwhile expanding the cache that far. > > However, since we've gotten tired of hearing this FUD over and over, > 8.1 will have the ability to set shared_buffers as high as you want. > I expect next we'll be hearing from people complaining that they > set shared_buffers to use all of RAM and performance went into the > tank ... > > regards, tom lane On Oct 4, 2005, at 11:06 PM, Ron Peacetree wrote: > Unfortunately, no matter what I say or do, I'm not going to please > or convince anyone who has already have made their minds up > to the extent that they post comments like Mr Trainor's below. > His response style pretty much proves my earlier point that this > is presently a religious issue within the pg community. > > The absolute best proof would be to build a version of pg that does > what Oracle and DB2 have done and implement it's own DB > specific memory manager and then compare the performance > between the two versions on the same HW, OS, and schema. > > The second best proof would be to set up either DB2 or Oracle so > that they _don't_ use their memory managers and compare their > performance to a set up that _does_ use said memory managers > on the same HW, OS, and schema. > > I don't currently have the resources for either experiment. > > Some might even argue that IBM (where Codd and Date worked) > and Oracle just _might_ have had justification for the huge effort > they put into developing such infrastructure. > > Then there's the large library of research on caching strategies > in just about every HW and SW domain, including DB theory, > that points put that the more context dependent, ie application > or domain specific awareness, caching strategies are the better > they are. > > Maybe after we do all we can about physical IO and sorting > performance I'll take on the religious fanatics on this one. > > One problem set at a time. > Ron --Apple-Mail-1--89115678 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII A blast from the past is forwarded below. douglas Begin forwarded message: 0000,0000,0000From: Tom Lane < 0000,0000,0000Date: August 23, 2005 3:23:43 PM EDT 0000,0000,0000To: Donald Courtney < 0000,0000,0000Cc: pgsql-performance@postgresql.org, Frank Wiles <, gokulnathbabu manoharan < 0000,0000,0000Subject: Re: [PERFORM] Caching by Postgres Donald Courtney < writes: I am not alone in having the *expectation* that a database should have some cache size parameter and the option to skip the file system. If I use oracle, sybase, mysql and maxdb they all have the ability to size a data cache and move to 64 bits. And you're not alone in holding that opinion despite having no shred of evidence that it's worthwhile expanding the cache that far. However, since we've gotten tired of hearing this FUD over and over, 8.1 will have the ability to set shared_buffers as high as you want. I expect next we'll be hearing from people complaining that they set shared_buffers to use all of RAM and performance went into the tank ... regards, tom lane On Oct 4, 2005, at 11:06 PM, Ron Peacetree wrote: Unfortunately, no matter what I say or do, I'm not going to please or convince anyone who has already have made their minds up to the extent that they post comments like Mr Trainor's below. His response style pretty much proves my earlier point that this is presently a religious issue within the pg community. The absolute best proof would be to build a version of pg that does what Oracle and DB2 have done and implement it's own DB specific memory manager and then compare the performance between the two versions on the same HW, OS, and schema. The second best proof would be to set up either DB2 or Oracle so that they _don't_ use their memory managers and compare their performance to a set up that _does_ use said memory managers on the same HW, OS, and schema. I don't currently have the resources for either experiment. Some might even argue that IBM (where Codd and Date worked) and Oracle just _might_ have had justification for the huge effort they put into developing such infrastructure. Then there's the large library of research on caching strategies in just about every HW and SW domain, including DB theory, that points put that the more context dependent, ie application or domain specific awareness, caching strategies are the better they are. Maybe after we do all we can about physical IO and sorting performance I'll take on the religious fanatics on this one. One problem set at a time. Ron --Apple-Mail-1--89115678--