Re: reorderbuffer: memory overconsumption with medium-size subxacts
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: reorderbuffer: memory overconsumption with medium-size subxacts |
| Дата | |
| Msg-id | 20181216203030.jo5nndymtiuykud6@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: reorderbuffer: memory overconsumption with medium-size subxacts (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: reorderbuffer: memory overconsumption with medium-size subxacts
|
| Список | pgsql-hackers |
On 2018-Dec-16, Andres Freund wrote: > > I think there's a one-line fix, attached: just add the number of changes > > in a subxact to nentries_mem when the transaction is assigned to the > > parent. > > Isn't this going to cause significant breakage, because we rely on > nentries_mem to be accurate? > > /* try to load changes from disk */ > if (entry->txn->nentries != entry->txn->nentries_mem) Bahh. Are you suggesting I should try a more thorough rewrite of reorderbuffer.c? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера