Re: Can Postgres cache a table in memory? - Mailing list pgsql-sql

From Tom Lane
Subject Re: Can Postgres cache a table in memory?
Date
Msg-id 20416.1033740846@sss.pgh.pa.us
Whole thread Raw
In response to Can Postgres cache a table in memory?  ("Kevin Traub" <ktraub@verizon.net>)
List pgsql-sql
"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


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: rows in order
Next
From: Tom Lane
Date:
Subject: Re: Rule creation