pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaime Casanova <systemguards@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: caching complete table for optimizing search ?
Date: Thu, 28 Oct 2004 00:58:39 -0500 (CDT)
Message-ID: <20041028055839.18967.qmail@web50010.mail.yahoo.com> (raw)
In-Reply-To: <2563CFA30A899A44BEFF5BC0CB030F7617FC10@NYPEXCH01.NYPOST>

> Hello,
> 
> I'm running a search query on a table with
> approximately 120.000 rows
> (3848 relpages, dbsize tablesize 30MB).
> 
> Because of poor performance I would like to cache
> the complete table in memory, but I'm not sure which
> config param I have
> to use to accomplish 
> that.
> The other tables in the db are rather small.

Maybe a redesign of the query is a better idea.
What about creating indexes?

If you provide info about the tables and the query
maybe we can help you.

Your table is very small (just 120.000 rows) but think
about cache a table of millions of rows thats not
optimus.


> 
> What configuration values are best for this kind of
> database ?
> 
> Postgres 8.0beta2 on a
> RedHat-Linux with
> Pentium Celeron 1500
> 256MB RAM
> 

There are some docs talking about modifiyng the
postgresql.conf, but i said info about your database,
your tables and data is needed.


Maybe the PERFORMANCE list is more adecuate.
> 
> Thx
> berger
> 
> 

you welcome.


regards,
Jaime Casanova

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



view thread (3+ messages)

Message-ID: <20041028055839.18967.qmail@web50010.mail.yahoo.com>
Permalink:  ../20041028055839.18967.qmail@web50010.mail.yahoo.com/
Also on:    postgresql.org/message-id/20041028055839.18967.qmail@web50010.mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: systemguards@yahoo.com
  Subject: Re: caching complete table for optimizing search ?
  In-Reply-To: <20041028055839.18967.qmail@web50010.mail.yahoo.com>
  References: <2563CFA30A899A44BEFF5BC0CB030F7617FC10@NYPEXCH01.NYPOST> <20041028055839.18967.qmail@web50010.mail.yahoo.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