Skip site navigation (1) Skip section navigation (2)

Re: caching complete table for optimizing search ?

From: Jaime Casanova <systemguards(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: caching complete table for optimizing search ?
Date: 2004-10-28 05:58:39
Message-ID: 20041028055839.18967.qmail@web50010.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-admin
> 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

In response to

pgsql-admin by date

Next:From: Nageshwar RaoDate: 2004-10-28 06:04:29
Subject: Pg_restore is appending the data to existing table
Previous:From: Andrei BintintanDate: 2004-10-28 05:50:06
Subject: pg_dump doesn't save correct the sequences

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group