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 BDD53D1B55C for ; Wed, 4 Feb 2004 22:44:48 +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 91487-03 for ; Wed, 4 Feb 2004 18:44:47 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id BE370D1B4DA for ; Wed, 4 Feb 2004 18:44:46 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i14Mik1Y029970 for ; Wed, 4 Feb 2004 22:44:46 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i14Mid0T029938 for pgsql-performance@postgresql.org; Wed, 4 Feb 2004 22:44:39 GMT From: William Yu X-Newsgroups: comp.databases.postgresql.performance Subject: Re: cache whole data in RAM Date: Wed, 04 Feb 2004 14:44:42 -0800 Organization: Hub.Org Networking Services Lines: 19 Message-ID: References: <13E980A8-5648-11D8-BC99-000A95A6F0DC@cluster9.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <13E980A8-5648-11D8-BC99-000A95A6F0DC@cluster9.com> To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/64 X-Sequence-Number: 5588 David Teran wrote: > Hi, > > we are trying to speed up a database which has about 3 GB of data. The > server has 8 GB RAM and we wonder how we can ensure that the whole DB is > read into RAM. We hope that this will speed up some queries. > > regards David > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > Upon bootup, automatically run "SELECT * FROM xyz" on every table in your database.