Re: caching complete table for optimizing search ? - Mailing list pgsql-admin

From Jaime Casanova
Subject Re: caching complete table for optimizing search ?
Date
Msg-id 20041028055839.18967.qmail@web50010.mail.yahoo.com
Whole thread Raw
In response to Re: caching complete table for optimizing search ?  ("Johnson, Heather" <HJohnson@nypost.com>)
List 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

pgsql-admin by date:

Previous
From: "Andrei Bintintan"
Date:
Subject: pg_dump doesn't save correct the sequences
Next
From: Nageshwar Rao
Date:
Subject: Pg_restore is appending the data to existing table