Re: 9.5: Better memory accounting, towards memory-bounded HashAgg
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: 9.5: Better memory accounting, towards memory-bounded HashAgg |
| Дата | |
| Msg-id | 27159.1408212048@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: 9.5: Better memory accounting, towards memory-bounded HashAgg (Tomas Vondra <tv@fuzzy.cz>) |
| Ответы |
Re: 9.5: Better memory accounting, towards memory-bounded
HashAgg
|
| Список | pgsql-hackers |
Tomas Vondra <tv@fuzzy.cz> writes:
> I believe this should check parent->track_mem, just like
> update_allocation, because this way it walks all the parent context up
> to the TopMemoryContext.
TBH, I don't think this "opt-in tracking" business has been thought
through even a little bit; for example, what happens if there is a
declared-to-not-track context in between levels that are declared
to track? And it certainly has not been proven that the extra
complexity actually saves cycles rather than the reverse.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера