| От | Tom Lane |
|---|---|
| Тема | Re: Vacuum: allow usage of more than 1GB of work mem |
| Дата | |
| Msg-id | 7684.1473185509@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Vacuum: allow usage of more than 1GB of work mem (Simon Riggs <simon@2ndquadrant.com>) |
| Ответы |
Re: Vacuum: allow usage of more than 1GB of work mem
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndquadrant.com> writes:
> Is there a reason we can't use repalloc here?
(1) repalloc will probably copy the data.
(2) that answer doesn't excuse you from choosing a limit.
We could get around (1) by something like Robert's idea of segmented
allocation, but TBH I've seen nothing on this thread to make me think
it's necessary or would even result in any performance improvement
at all. The bigger we make that array, the worse index-cleaning
is going to perform, and complicating the data structure will add
another hit on top of that.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера