Re: DB cache size strategies
От | Tom Lane |
---|---|
Тема | Re: DB cache size strategies |
Дата | |
Msg-id | 15335.1076477166@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: DB cache size strategies ("Ed L." <pgsql@bluepolka.net>) |
Ответы |
Re: DB cache size strategies
Re: DB cache size strategies |
Список | pgsql-general |
"Ed L." <pgsql@bluepolka.net> writes: > On Tuesday February 10 2004 1:42, Martijn van Oosterhout wrote: >> I think giving postgresql half your memory is couterproductive. > I get the sense it really depends on the nature of the apps running on the > box. Giving PG half the RAM is counterproductive no matter what --- that pretty much guarantees that every page that's in RAM will be in RAM twice, once in PG buffers and once in kernel buffers. The two reasonable schools of thought are (1) to make PG buffers relatively small and let the kernel do the bulk of the buffering, or (2) to give PG most of the RAM and expect it to do the bulk of the buffering. Past experience has been that theory (1) generally wins. Jan's recent work on ARC buffering may make things more interesting, though. regards, tom lane
В списке pgsql-general по дате отправления: