Re: caching table/query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: caching table/query
Дата
Msg-id 28088.1121615607@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: caching table/query  (Tsirkin Evgeny <tsurkin@mail.jct.ac.il>)
Ответы Re: caching table/query  (Tsirkin Evgeny <tsurkin@mail.jct.ac.il>)
Список pgsql-admin
Tsirkin Evgeny <tsurkin@mail.jct.ac.il> writes:
> What i realy want is to say to postgres that the particular
> table should be cached .

Adopting the position that you are smarter than an automatic
optimization algorithm is generally a good way to achieve less
performance, not more.  Especially so if you are willing to override
the automatic algorithm on the strength of guesses that you make
when you haven't even seen the system in operation yet.  The truth
of the matter is that you haven't got the foggiest idea yet where
the system bottlenecks will be, and so you should certainly not be
thinking about how to override the cache manager.

If you've not heard the phrase "premature optimization is the root of
all evil", I suggest you read up on it.  It's generally good advice.

            regards, tom lane

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

Предыдущее
От: Tsirkin Evgeny
Дата:
Сообщение: Re: caching table/query
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Install Problem on Windows XP Home - Password Issue