| От | Tom Lane |
|---|---|
| Тема | Re: Tuning PostgreSQL to use more RAM... |
| Дата | |
| Msg-id | 21440.966655048@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Tuning PostgreSQL to use more RAM... ("Steve Wolfe" <steve@iboats.com>) |
| Список | pgsql-general |
"Steve Wolfe" <steve@iboats.com> writes:
> While I don't mind disk cache, I feel that we could get better
> performance by letting postgres use another hundred megs or so, especially
> since our entire /usr/local/pgsql/base directory has only 134 megs of data.
> We're currently starting the postmaster with "-B 2048".
You might try increasing the default -S setting as well.
I am not convinced that increasing -B to huge values will be a net win.
At some point you will start losing performance due to the sequential
scans of the buffer cache that are done at transaction commit (and other
places IIRC). I haven't done any benchmarking of different settings,
however, so I have no idea what the optimal level might be.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера