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 383E8DA1AE for ; Wed, 5 Oct 2005 12:04:18 -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 18660-06 for ; Wed, 5 Oct 2005 15:04:13 +0000 (GMT) Received: from frank.wiles.org (frank.wiles.org [24.124.39.75]) by svr1.postgresql.org (Postfix) with ESMTP id DE60ADA16D for ; Wed, 5 Oct 2005 12:04:11 -0300 (ADT) Received: from kungfu (frank.wiles.org [127.0.0.1]) by frank.wiles.org (8.13.1/8.13.1) with SMTP id j95F472Z012793; Wed, 5 Oct 2005 10:04:07 -0500 Date: Wed, 5 Oct 2005 10:05:43 -0500 From: Frank Wiles To: Ron Peacetree Cc: jd@commandprompt.com, pgsql-performance@postgresql.org Subject: Re: Is There Any Way .... Message-Id: <20051005100543.4b19d4fe.frank@wiles.org> In-Reply-To: <17434238.1128481614269.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> References: <17434238.1128481614269.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> X-Mailer: Sylpheed version 2.0.1 (GTK+ 2.6.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.017 required=5 tests=[AWL=0.017] X-Spam-Level: X-Archive-Number: 200510/103 X-Sequence-Number: 14871 On Tue, 4 Oct 2005 23:06:54 -0400 (EDT) Ron Peacetree wrote: > 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. Isn't this also a very strong argument for putting your caching into your application and not at the database level? As you say the more "application or domain specific" it is the better. I don't see how PostgreSQL is going to magically determine what is perfect for everyone's differing needs and implement it for you. Even rudimentary controls such "always keep this table/index/whatever in RAM" aren't as fine grained or specific enough to get full benefit. My suggestion is to use something like memcached to store your data in, based on the particular needs of your application. This puts all of the control in the hands of the programmer where, in my opinion, it belongs. Just to clarify, I'm not entirely against the idea, but I certainly think there are other areas of PostgreSQL we should be focusing our efforts. --------------------------------- Frank Wiles http://www.wiles.org ---------------------------------