Re: preloading indexes

From: <stuff(at)opensourceonline(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: preloading indexes
Date: 2004-11-03 20:56:10
Message-ID: 20041103205613.ITAC27576.fed1rmmtao07.cox.net@CYGNUS
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Thanks - this is what I was afraid of, but I may have to do this

Is there a good way to monitor what's in the cache?

j

<stuff(at)opensourceonline(dot)com> writes:
> The caching appears to disappear overnight.

You've probably got cron jobs that run late at night and blow out your
kernel disk cache by accessing a whole lot of non-Postgres stuff.
(A nightly disk backup is one obvious candidate.) The most likely
solution is to run some cron job a little later to exercise your
database and thereby repopulate the cache with Postgres files before
you get to work ;-)

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Martin Foster 2004-11-03 21:25:45 Re: Restricting Postgres
Previous Message Andrew Sullivan 2004-11-03 20:53:16 Re: preloading indexes