Re: Best OS & Configuration for Dual Xeon w/4GB & Adaptec RAID 2200S
В списке pgsql-performance по дате отправления:
| От | Claus Guttesen |
|---|---|
| Тема | Re: Best OS & Configuration for Dual Xeon w/4GB & Adaptec RAID 2200S |
| Дата | |
| Msg-id | b41c75520603171529h20090f12s@mail.gmail.com обсуждение |
| Ответ на | Best OS & Configuration for Dual Xeon w/4GB & Adaptec RAID 2200S (Kenji Morishige <kenjim@juniper.net>) |
| Ответы |
Re: Best OS & Configuration for Dual Xeon w/4GB & Adaptec RAID 2200S
|
| Список | pgsql-performance |
> 4. Are there any other settings in the conf file I could try to tweak? One more thing :-) I stumbled over this setting, this made the db (PG 7.4.9) make use of the index rather than doing a sequential scan and it reduced a query from several minutes to some 20 seconds. random_page_cost = 2 (original value was 4). Another thing you ought to do is to to get the four-five most used queries and do an explain analyze in these. Since our website wasn't prepared for this type of statistics I simply did a tcpdump, grep'ed all select's, sorted them and sorted them unique so I could see which queries were used most. regards Claus
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера