| От | Tom Lane |
|---|---|
| Тема | Re: Statement Queuing |
| Дата | |
| Msg-id | 23042.1153366443@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Statement Queuing (Mark Kirkwood <markir@paradise.net.nz>) |
| Ответы |
Re: Statement Queuing
|
| Список | pgsql-hackers |
Mark Kirkwood <markir@paradise.net.nz> writes:
> Right - in principle it is not that difficult to add (once I have the
> machinery for the cost limiter going properly that is). I thinking we
> could either:
> 1. Add hooks to count work_mem allocations where they happen, or
> 2. Scan the plan tree and deduce how many work_mem allocations there
> will be.
The problem with this is that many of the cost models depend on
work_mem, so you can't simply arbitrarily alter the setting
after-the-fact. At least not if you don't want to kill performance.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера