Re: Help: how to speed up query after db server reboot
В списке pgsql-performance по дате отправления:
| От | Magnus Hagander |
|---|---|
| Тема | Re: Help: how to speed up query after db server reboot |
| Дата | |
| Msg-id | 9837222c0909030051t1663ac8et2b739b5f805de382@mail.gmail.com обсуждение |
| Ответ на | Help: how to speed up query after db server reboot (Wei Yan <weiyan1@gmail.com>) |
| Ответы |
Re: Help: how to speed up query after db server reboot
|
| Список | pgsql-performance |
On Wed, Sep 2, 2009 at 00:01, Wei Yan<weiyan1@gmail.com> wrote: > Hi: > > Looks like after postgres db server reboot, first query is very slow > (10+mins). After the system cache built, query is pretty fast. > Now the question is how to speed up the first query slow issue? > > Any pointers? Schedule a run of a couple of representative queries right as the database has started? That should pre-populate the cache before your users get there, hopefully. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера