Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E339064029B for ; Wed, 25 Mar 2009 17:13:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 72840-01-3 for ; Wed, 25 Mar 2009 17:13:37 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f167.google.com (mail-ew0-f167.google.com [209.85.219.167]) by mail.postgresql.org (Postfix) with ESMTP id 52508633A2F for ; Wed, 25 Mar 2009 17:12:27 -0300 (ADT) Received: by ewy11 with SMTP id 11so345684ewy.19 for ; Wed, 25 Mar 2009 13:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hvFwBqFQCdSZxFz0lRhUoTRh367XHtr1YqPwui7bjQE=; b=fsEJ1It7VzY3SfszDzipy1u4U1Jn1nf+z/ArFdYgC7igulPWQQgelvxLkQP+PZr19t 4dsw2J6BnZVpBiqsv4RICvBJEmxkbrbBcA7bFCf2+cYZN8+ttAIMqCyFuNi9A636y/Rr pF0G4EOaMv3jsT+WCkcccZBa/VArAbeEYTPdk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MgOc3NugTsClQiSmHPucLrnA0nrpLxbG5uIIm3wnxA7zjaMCn9vab0fga+hLq5v511 GEJ6veOniV37827ik6Q6rGEVUHyNt6Af97IRUAEwg3s/8pndkNxPV6vb6KF0kMpp49pV PHi6RG9VjgYfwzIMUgnYpipwdxrCSccTYLwnk= MIME-Version: 1.0 Received: by 10.210.71.13 with SMTP id t13mr4388780eba.50.1238011945302; Wed, 25 Mar 2009 13:12:25 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Mar 2009 14:12:25 -0600 Message-ID: Subject: Re: [SQL] Can we load all database objects in memory? From: Scott Marlowe To: DM Cc: pgsql-general@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/1094 X-Sequence-Number: 145680 On Wed, Mar 25, 2009 at 1:20 PM, DM wrote: > Hi All, > > I have a database of 10GB. > My Database Server has a RAM of 16GB > > Is there a way that I can load all the database objects to memory? Just replying to pgsql-general... Yeah, just select * from table for each table, then they'll be in kernel cache and ready to go.