pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Traub <ktraub@verizon.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Can Postgres cache a table in memory?
Date: Fri, 04 Oct 2002 10:14:06 -0400
Message-ID: <20416.1033740846@sss.pgh.pa.us> (raw)
In-Reply-To: <anhio7$2ac4$1@news.hub.org>
References: <anhio7$2ac4$1@news.hub.org>

"Kevin Traub" <ktraub@verizon.net> writes:
> I'm trying to speed up a query which returns the majority of a table so and
> index isn't helpful.
> I've got more than enough RAM to hold my table so, can anyone tell me if
> there is there a way to force Postgres to cache a table in RAM?

There is no need to do anything; if you're hitting the table a lot, it
should all migrate into kernel disk buffers.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <20416.1033740846@sss.pgh.pa.us>
Permalink:  ../20416.1033740846@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20416.1033740846@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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ktraub@verizon.net
  Subject: Re: Can Postgres cache a table in memory?
  In-Reply-To: <20416.1033740846@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