From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | "Kevin Traub" <ktraub(at)verizon(dot)net>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Can Postgres cache a table in memory? |
Date: | 2002-10-04 13:35:52 |
Message-ID: | 200210041435.52552.dev@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Thursday 03 Oct 2002 3:03 pm, 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?
You're probably just as well off if you let your OS deal with caching the
underlying file. What figures are you getting (use the "free" command if in
linux). It might be that you've given Postgresql *too* much memory, and
that's interfering with your OS.
Could you provide brief hardware specs, the size of the table concerned, time
taken?
--
Richard Huxton
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleus Mantzios | 2002-10-04 13:36:12 | Re: rows in order |
Previous Message | Achilleus Mantzios | 2002-10-04 13:14:03 | Re: Can Postgres cache a table in memory? |