| От | Tom Lane |
|---|---|
| Тема | Re: DB Performance |
| Дата | |
| Msg-id | 27429.1036173877@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | DB Performance (Gary DeSorbo <isasitis@uchicago.edu>) |
| Список | pgsql-admin |
Gary DeSorbo <isasitis@uchicago.edu> writes:
> Postgres is configured as follows:
> sort_mem = 128672
> shared_buffers = 60800
> fsync = false
Yipes. Back off that sort_mem setting --- that's 128M *per sort*,
which will undoubtedly run you out of memory (or at least into serious
swapping) as soon as several processes try to do concurrent sorts.
Something in the vicinity of 5 or 10 meg is probably more reasonable.
If you have multiple drives consider relocating the WAL (pg_xlog/)
onto a different drive, preferably one that normally doesn't touch
anything but WAL.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера