pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: stuff@opensourceonline.com
Cc: pgsql-performance@postgresql.org
Subject: Re: preloading indexes
Date: Wed, 03 Nov 2004 15:53:09 -0500
Message-ID: <16805.1099515189@sss.pgh.pa.us> (raw)
In-Reply-To: <20041103201948.HWSQ12834.fed1rmmtao10.cox.net@CYGNUS>
References: <20041103201948.HWSQ12834.fed1rmmtao10.cox.net@CYGNUS>

<stuff@opensourceonline.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



view thread (12+ messages)  latest in thread

Message-ID: <16805.1099515189@sss.pgh.pa.us>
Permalink:  ../16805.1099515189@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16805.1099515189@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stuff@opensourceonline.com
  Subject: Re: preloading indexes
  In-Reply-To: <16805.1099515189@sss.pgh.pa.us>

* 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