| От | Guillaume Smet |
|---|---|
| Тема | Re: weird performances problem |
| Дата | |
| Msg-id | 4382E9A2.5080102@openwide.fr обсуждение исходный текст |
| Ответ на | Re: weird performances problem (Andrew Sullivan <ajs@crankycanuck.ca>) |
| Список | pgsql-performance |
Andrew, > I would be very suspicious of that much memory for sort. Please see > the docs for what that does. That is the amount that _each sort_ can > allocate before spilling to disk. > If some set of your users are > causing complicated queries with, say, four sorts apiece, then each > user is potentially allocating 4x that much memory. That's going to > wreak havoc on your disk buffers (which are tricky to monitor on most > systems, and impossible on some). Yes, we have effectively complicated queries. That's why we put the sort_mem so high. I'll see if we can put it lower for the next few days to see if it improves our performances. Thanks for your help. -- Guillaume
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера