| От | Shridhar Daithankar |
|---|---|
| Тема | Re: cache whole data in RAM |
| Дата | |
| Msg-id | 401FA16E.4040202@frodo.hserus.net обсуждение исходный текст |
| Ответ на | cache whole data in RAM (David Teran <david.teran@cluster9.com>) |
| Список | pgsql-performance |
David Teran wrote: > we are trying to speed up a database which has about 3 GB of data. The > server has 8 GB RAM and we wonder how we can ensure that the whole DB is > read into RAM. We hope that this will speed up some queries. Neither the DBa or postgresql has to do anything about it. Usually OS caches the data in it's buffer cache. That is certainly true for linux and freeBSD does that. Most of the unices certainly do. To my knowledge linux is most aggresive one at that..(Rather over aggressive..) Make sure that you size effective cache size correctly. It helps postgresql planner at times.. HTH Shridhar
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера