From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Kevin Traub <ktraub@verizon.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Can Postgres cache a table in memory?
Date: Fri, 4 Oct 2002 16:14:03 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0210041610210.24754-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <anhio7$2ac4$1@news.hub.org>
On Thu, 3 Oct 2002, Kevin Traub wrote:
> Hello all;
>
> 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?
>
> Any help would be appreciated.
You need to tune first of all shared_buffers.
Change the postgres.conf file usual in $PGDATA directory.
Bare in mind that one buffer holds 8k of data.
>
> Thanks;
> -Kevin Traub
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel: +30-10-8981112
fax: +30-10-8981877
email: achill@matrix.gatewaynet.com
mantzios@softlab.ece.ntua.gr
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: achill@matrix.gatewaynet.com, ktraub@verizon.net
Subject: Re: Can Postgres cache a table in memory?
In-Reply-To: <Pine.LNX.4.44.0210041610210.24754-100000@matrix.gatewaynet.com>
* 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