From: | Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net> |
---|---|
To: | David Teran <david(dot)teran(at)cluster9(dot)com> |
Cc: | PgSQL Performance ML <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: cache whole data in RAM |
Date: | 2004-02-03 13:26:06 |
Message-ID: | 401FA16E.4040202@frodo.hserus.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
David Teran wrote:
> 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.
Neither the DBa or postgresql has to do anything about it. Usually OS caches the
data in it's buffer cache. That is certainly true for linux and freeBSD does
that. Most of the unices certainly do. To my knowledge linux is most aggresive
one at that..(Rather over aggressive..)
Make sure that you size effective cache size correctly. It helps postgresql
planner at times..
HTH
Shridhar
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2004-02-03 13:27:39 | Re: cache whole data in RAM |
Previous Message | David Teran | 2004-02-03 12:54:17 | cache whole data in RAM |