X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A243B11F6AFA for ; Fri, 7 Apr 2006 11:37:58 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43559-09 for ; Fri, 7 Apr 2006 11:37:51 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by postgresql.org (Postfix) with ESMTP id 0BFBD11F6B12 for ; Fri, 7 Apr 2006 11:37:55 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 8so362143nzo for ; Fri, 07 Apr 2006 07:37:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WXDlrZN2pgtOQcBlS5d460n6htBIU0mgaArLOJIC6lC6Yixm6XdbR5xoezMHnIcJfdsOJnHLG7GhYRsVoilQlrhOW+Q1M5dkS2bHwgmP+q4cI1mvn5fIh3zcz85/QseBiT7vH6/IfksC8zSpKpKMD1ulBYkUtw9fRVHWwKf6aoQ= Received: by 10.65.126.19 with SMTP id d19mr2103224qbn; Fri, 07 Apr 2006 07:37:34 -0700 (PDT) Received: by 10.65.241.2 with HTTP; Fri, 7 Apr 2006 07:37:34 -0700 (PDT) Message-ID: Date: Fri, 7 Apr 2006 11:37:34 -0300 From: "Charles A. Landemaine" To: pgsql-performance@postgresql.org Subject: Loading the entire DB into RAM MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200604/130 X-Sequence-Number: 18214 I have a web server with PostgreSQL and RHEL. It hosts a search engine, and each time some one makes a query, it uses the HDD Raid array. The DB is not very big, it is less than a GB. I plan to add more RAM anyway. What I'd like to do is find out how to keep the whole DB in RAM so that each time some one does a query, it doesn't use the HDD. Is it possible, if so, how? Thanks, Charles.