shared_buffers in 8.3 w/ lots of RAM on dedicated PG machine

Поиск
Список
Период
Сортировка
От Peter Schuller
Тема shared_buffers in 8.3 w/ lots of RAM on dedicated PG machine
Дата
Msg-id 20080215123528.GA16532@hyperion.scode.org
обсуждение исходный текст
Ответы Re: shared_buffers in 8.3 w/ lots of RAM on dedicated PG machine  (Kenneth Marshall <ktm@rice.edu>)
Список pgsql-performance
Hello,

my impression has been that in the past, there has been a general
semi-consensus that upping shared_buffers to use the majority of RAM
has not generally been recommended, with reliance on the buffer cache
instead being the recommendation.

Given the changes that have gone into 8.3, in particular with regards
to minimizing the impact of large sequential scans, would it be
correct to say that given that

  - enough memory is left for other PG bits (sort mems and whatnot else)
  - only PG is running on the machine
  - you're on 64 bit so do not run into address space issues
  - the database working set is larger than RAM

it would be generally advisable to pump up shared_buffers pretty much
as far as possible instead of relying on the buffer cache?

--
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org


Вложения

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

Предыдущее
От: "David Crane"
Дата:
Сообщение: Re: Avoid long-running transactions in a long-runningstored procedure?
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: shared_buffers in 8.3 w/ lots of RAM on dedicated PG machine