| От | Josh Berkus |
|---|---|
| Тема | Re: postgresql.conf |
| Дата | |
| Msg-id | 200307301019.21870.josh@agliodbs.com обсуждение |
| Ответ на | postgresql.conf ("scott.marlowe" <scott.marlowe@ihs.com>) |
| Список | pgsql-performance |
Scott, > I'm guessing OLTP needs things like FSM cranked up, > OLAP (a for analytical) needs more shared buffers and sort memory > Webserver might be better served just slightly higher values than default > but well under those of either OLTP or OLAP... Yes. Take sort_mem for example: OLTP_SM 1024 OLTP_LM 2048 OLAP_SM 4096 OLAP_LM 16384 WWW_SM 512 WWW_LM 1024 Workstation 1024 The basic idea is: More RAM => more sort_mem More concurrent queries => less sort_mem Larger data sets => more sort_mem Lots of grouped aggregates => more sort_mem -- -Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера