pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org
To: pgsql-performance@postgresql.org
Subject: DB totaly in memory
Date: Wed, 18 Sep 2002 12:49:58 +0200
Message-ID: <am9lob$12el$1@news.hub.org> (raw)

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.






Message-ID: <am9lob$12el$1@news.hub.org>
Permalink:  ../am9lob$12el$1@news.hub.org/
Also on:    postgresql.org/message-id/am9lob$12el$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mendola@bigfoot.com, pgsql-performance@postgresql.org
  Subject: Re: DB totaly in memory
  In-Reply-To: <am9lob$12el$1@news.hub.org>
  References: <am9lob$12el$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox