Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EC662475F6E for ; Wed, 18 Sep 2002 06:49:48 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 8998C475F64 for ; Wed, 18 Sep 2002 06:49:48 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id AA9AA3819B1; Wed, 18 Sep 2002 06:49:47 -0400 (EDT) From: "Gaetano Mendola" X-Newsgroups: comp.databases.postgresql.performance, comp.databases.postgresql.admin Subject: DB totaly in memory Date: Wed, 18 Sep 2002 12:49:58 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 32 Message-ID: X-Complaints-To: news@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: pgsql-admin@postgresql.org, pgsql-performance@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/217 X-Sequence-Number: 5756 Hi all, My database size is ~ 43M $> pwd /var/lib/pgsql/data/base $> du . -h 1.7M ./1 1.7M ./16555 39M ./220628 43M . the postgres is running with the parameter shared_buffers = 30400 So I'm using 256MB of shared memory. Now my question is, apparently all my entire database can be in memory, how should I set the others parameters to suggest that all my database is in memory? I'm wondering about in particular to the parameter: random_page_cost Some one have some suggestions ? Ciao Gaetano.