Re: Query caching

From: Frank Joerdens <frank(at)joerdens(dot)de>
To: "Poul L(dot) Christiansen" <poulc(at)cs(dot)auc(dot)dk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Query caching
Date: 2000-11-01 10:08:32
Message-ID: 20001101110832.B6798@rakete.joerdens.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, Nov 01, 2000 at 10:16:58AM +0000, Poul L. Christiansen wrote:
> PostgreSQL hits the disk on UPDATE/DELETE/INSERT operations. SELECT's
> are cached, but the default cache is only ½MB of RAM. You can change
> this to whatever you want.

That sound like a very cool thing to do, and the default seems awfully
conservative, given the average server´s RAM equipment nowadays. If you
have a small Linux server with 128 MB of RAM, it would be interesting to
see what happens, performance-wise, if you increase the cache for
selects to, for instance, 64 MB. Has anyone tried to benchmark this? How
would you benchmark it? Where do you change this cache size? How do you
keep the cache from being swapped out to disk (which would presumably
all but eradicate the benefits of such a measure)?

Cheers Frank

--
frank joerdens

joerdens new media
urbanstr. 116
10967 berlin
germany

e: frank(at)joerdens(dot)de
t: +49 (0)30 69597650
f: +49 (0)30 7864046
h: http://www.joerdens.de

pgp public key: http://www.joerdens.de/pgp/frank_joerdens.asc

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karel Zak 2000-11-01 10:13:03 Re: Re: [GENERAL] Query caching
Previous Message Nick Fankhauser 2000-11-01 09:39:29 Character type delimiters - Can they be changed?

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2000-11-01 10:13:03 Re: Re: [GENERAL] Query caching
Previous Message Karel Zak 2000-11-01 09:52:51 Re: Query cache import?