Re: postgresql.conf recommendations

Поиск
Список
Период
Сортировка
От Johnny Tan
Тема Re: postgresql.conf recommendations
Дата
Msg-id CABMVzL2QDmSzJZBa=_41dA1FuW=zdKstdHKSDVKBqPGr6AMXvg@mail.gmail.com
обсуждение исходный текст
Ответ на postgresql.conf recommendations  (Johnny Tan <johnnydtan@gmail.com>)
Список pgsql-performance
On Thu, Feb 7, 2013 at 11:16 PM, Tony Chan <tonychan@emblocsoft.com> wrote:
Hi,

May I know what is your setting for OS cache?


Tony:

Wasn't sure if you were asking me, but here's the output from "free":
# free
             total       used       free     shared    buffers     cached
Mem:     198333224  187151280   11181944          0     155512  179589612
-/+ buffers/cache:    7406156  190927068
Swap:     16777208          0   16777208 


- better to analyze large joins and sequential scan, and turn this parameter, e.g. reduce the size of  effective_cache_size in postgresql.conf and change it  for big queries.

This makes sense. We were setting it based on the tuning guideline from this page:
"Setting effective_cache_size to 1/2 of total memory would be a normal conservative setting, and 3/4 of memory is a more aggressive but still reasonable amount."

johnny 

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

Предыдущее
От: Johnny Tan
Дата:
Сообщение: Re: postgresql.conf recommendations
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: postgresql.conf recommendations