| От | Tom Lane |
|---|---|
| Тема | Re: how much ram do i give postgres? |
| Дата | |
| Msg-id | 20046.1098222136@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | how much ram do i give postgres? (Josh Close <narshe@gmail.com>) |
| Ответы |
Re: how much ram do i give postgres?
|
| Список | pgsql-general |
Josh Close <narshe@gmail.com> writes:
> I know this is kinda a debate, but how much ram do I give postgres?
> I've seen many places say around 10-15% or some say 25%....... If all
> this server is doing is running postgres, why can't I give it 75%+?
> Should the limit be as much as possible as long as the server doesn't
> use any swap?
The short answer is no; the sweet spot for shared_buffers is usually on
the order of 10000 buffers, and trying to go for "75% of RAM" isn't
going to do anything except hurt. For the long answer see the
pgsql-performance list archives.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера