Re: preloading indexes

Поиск
Список
Период
Сортировка
От
Тема Re: preloading indexes
Дата
Msg-id 20041103191247.GFZT27576.fed1rmmtao07.cox.net@CYGNUS
обсуждение исходный текст
Ответ на Re: preloading indexes  ("Matt Clark" <matt@ymogen.net>)
Ответы Re: preloading indexes
Список pgsql-performance

That’s correct – I’d like to be able to keep particular indexes in RAM available all the time

 

The best way to get all the stuff needed by a query into RAM is to run the query.  Is it more that you want to 'pin' the data in RAM so it doesn't get overwritten by other queries?

 

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?

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

Предыдущее
От: patrick ~
Дата:
Сообщение: vacuum analyze slows sql query
Следующее
От: Doug Y
Дата:
Сообщение: Re: vacuum analyze slows sql query