Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets |
| Дата | |
| Msg-id | 15837.1071710403@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets (Hannu Krosing <hannu@tm.ee>) |
| Ответы |
Re: OLAP CUBE/ROLLUP Operators and GROUP BY grouping sets
|
| Список | pgsql-hackers |
Hannu Krosing <hannu@tm.ee> writes:
> OTOH, I'm not sure if hash aggregates can already spill to disk if not
> enough memory is available for keeping them all.
They do not, which is something it'd be good to fix, since if the
planner drastically underestimates the number of groups, you could end
up with a hashtable far bigger than the advertised SortMem. Even if
this doesn't end up with an "out of memory" error, it could still drive
you into swap hell.
(Maybe that should be Robert's get-your-feet-wet project.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера