| От | Josh Berkus |
|---|---|
| Тема | Re: The black art of postgresql.conf tweaking |
| Дата | |
| Msg-id | 200408060929.19840.josh@agliodbs.com обсуждение |
| Ответ на | Re: The black art of postgresql.conf tweaking (Gaetano Mendola <mendola@bigfoot.com>) |
| Ответы |
Re: The black art of postgresql.conf tweaking
|
| Список | pgsql-performance |
Paul, > > Physical Memory: 2077264 kB > > sort_mem = 12000 Hmmm. Someone may already have mentioned this, but that looks problematic. You're allowing up to 12MB per sort, and up to 300 connections. Even if each concurrent connection averages only one sort (and they can use more) that's 3600MB ... roughly 1.5 times your *total* RAM, leaving out RAM for Apache, postmaster, shared buffers, etc. I strongly suggest that you either decrease your total connections or your sort_mem, or both. -- Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера