Re: Can Postgres cache a table in memory?

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: Kevin Traub <ktraub(at)verizon(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Can Postgres cache a table in memory?
Date: 2002-10-04 13:14:03
Message-ID: Pine.LNX.4.44.0210041610210.24754-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)postgresql(dot)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(at)matrix(dot)gatewaynet(dot)com
mantzios(at)softlab(dot)ece(dot)ntua(dot)gr

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2002-10-04 13:35:52 Re: Can Postgres cache a table in memory?
Previous Message Shridhar Daithankar 2002-10-04 08:00:54 Re: [HACKERS] Large databases, performance