From: | Klein Balázs <Balazs(dot)Klein(at)axelero(dot)hu> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: view or index to optimize performance |
Date: | 2005-12-22 23:42:56 |
Message-ID: | 20051222234307.5E491202E86D@graveyard2.mail.t-online.hu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
thanks for the help
>What you could do is partition the table so that critical information is
>stored in a smaller table while everything else goes to a larger table.
I was thinking the other way round - maybe I can split the large table by
creating a materialized view. But than I read that it is maybe unnecessary
to create a materialized view because pg
"Materialized views sound a useful workaround, if your database doesn't have
a query cache. If you do have a query cache, then you already effectively
have eager or lazy materialized views (depending on your isolation level):
Just use your normal view (or query) and let the database figure it out."
Quote from Farce Pest in
http://spyced.blogspot.com/2005/05/materialized-views-in-postgresql.html
But later in the same blog it seems to indicate that there is a choice to
either use or not use the query cache of pg.
So I don't know now how this cache works and whether it could help me in
this.
SWK
From | Date | Subject | |
---|---|---|---|
Next Message | Carlos Moreno | 2005-12-22 23:45:51 | Re: Why is create function bringing down the Backend server? |
Previous Message | John Sidney-Woollett | 2005-12-22 22:32:23 | Re: [Slony1-general] Mem usage/leak - advice needed |