Re: view or index to optimize performance

Поиск
Список
Период
Сортировка
От Klein Balázs
Тема Re: view or index to optimize performance
Дата
Msg-id 20051222234307.5E491202E86D@graveyard2.mail.t-online.hu
обсуждение исходный текст
Ответ на Re: view or index to optimize performance  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: view or index to optimize performance
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Carlos Moreno
Дата:
Сообщение: Re: Why is create function bringing down the Backend server?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: view or index to optimize performance