X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 15B8AD1DEB3 for ; Thu, 26 Feb 2004 14:26:04 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 32454-09 for ; Thu, 26 Feb 2004 10:26:05 -0400 (AST) Received: from anchor-post-37.mail.demon.net (anchor-post-36.mail.demon.net [194.217.242.86]) by svr1.postgresql.org (Postfix) with ESMTP id 91C7FD1B994 for ; Thu, 26 Feb 2004 10:26:01 -0400 (AST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-37.mail.demon.net with esmtp (Exim 3.35 #1) id 1AwMSi-000HeG-0b; Thu, 26 Feb 2004 14:26:04 +0000 Received: by mainbox.archonet.com (Postfix, from userid 529) id A50BF1729D; Thu, 26 Feb 2004 14:26:03 +0000 (GMT) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 8D3A4167F9; Thu, 26 Feb 2004 14:26:01 +0000 (GMT) From: Richard Huxton To: David Pradier , pgsql-performance@postgresql.org Subject: Re: A cache for the results of queries ? Date: Thu, 26 Feb 2004 14:26:00 +0000 User-Agent: KMail/1.5 References: <20040226133038.GA1481@apartia.fr> In-Reply-To: <20040226133038.GA1481@apartia.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402261426.00730.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/298 X-Sequence-Number: 5822 On Thursday 26 February 2004 13:30, David Pradier wrote: > Hi everybody, > > i'd like to know if it exists a system of cache for the results of > queries. > > What i'd like to do : > > select whatever_things from (selection_in_cache) where special_conditions; > > The interesting thing would be to have a precalculated > selection_in_cache, especially when selection_in_cache is a very long > list of joins... You might want to search the archives for the -sql list for a message "Materialized View Summary" - some time this week. That's almost exactly what you want. -- Richard Huxton Archonet Ltd