Re: preloading indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: preloading indexes
Дата
Msg-id 16198.1099511717@sss.pgh.pa.us
обсуждение исходный текст
Ответ на preloading indexes  (<stuff@opensourceonline.com>)
Список pgsql-performance
<stuff@opensourceonline.com> writes:
> I am working with some pretty convoluted queries that work very slowly the
> first time they're called but perform fine on the second call. I am fairly
> certain that these differences are due to the caching. Can someone point me
> in a direction that would allow me to pre-cache the critical indexes?

Buy more RAM.  Also check your shared_buffers setting (but realize that
more is not necessarily better).

            regards, tom lane

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

Предыдущее
От: Pierre-Frédéric Caillaud
Дата:
Сообщение: Re: preloading indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: vacuum analyze slows sql query