| От | Neil Conway |
|---|---|
| Тема | Re: changing sort_mem on the fly? |
| Дата | |
| Msg-id | 1106894066.3226.104.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Re: changing sort_mem on the fly? ("Jim C. Nasby" <decibel@decibel.org>) |
| Ответы |
Re: changing sort_mem on the fly?
|
| Список | pgsql-general |
On Thu, 2005-01-27 at 20:03 -0600, Jim C. Nasby wrote: > Yes, there is a risk allowing ad-hoc settings; you can starve the > machine for memory. A malicious user who can execute SELECT queries can already consume an arbitrary amount of memory -- say, by disabling GEQO and self-joining pg_class to itself 50 times. I'm not sure that letting users modify sort_mem/work_mem actually increases the risk from malicious users. Restricting this parameter to superusers only would also be a hit to usability. -Neil
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера