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 14:55:17 -0500
Message-ID: <16198.1099511717@sss.pgh.pa.us> (raw)
In-Reply-To: <20041103173054.EJWF21506.fed1rmmtao05.cox.net@CYGNUS>
References: <20041103173054.EJWF21506.fed1rmmtao05.cox.net@CYGNUS>
<stuff@opensourceonline.com> writes:
> I am working with some pretty convoluted queries that work very slowly the
> first time they're called but perform fine on the second call. I am fairly
> certain that these differences are due to the caching. Can someone point me
> in a direction that would allow me to pre-cache the critical indexes?
Buy more RAM. Also check your shared_buffers setting (but realize that
more is not necessarily better).
regards, tom lane
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: <16198.1099511717@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