Re: brin autosummarization -- autovacuum "work items"
Вложения
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: brin autosummarization -- autovacuum "work items" |
| Дата | |
| Msg-id | 20170331184919.6eh3hdgskxjcnppt@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: [HACKERS] brin autosummarization -- autovacuum "work items" (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: brin autosummarization -- autovacuum "work items"
|
| Список | pgsql-hackers |
Here's a version of this patch which I consider final. Thanks for your tips on using DSA. No crashes now. I am confused about not needing dsa_attach the second time around. If I do that, the dsa handle has been 0x7f'd, which I don't understand since it is supposed to be allocated in TopMemoryContext. I didn't dig too deep to try and find what is causing that behavior. Once we do, it's easy to remove the dsa_detach/dsa_attach calls. I added a new SQL-callable function to invoke summarization of an individual page range. That is what I wanted to do in vacuum (rather than a scan of the complete index), and it seems independently useful. I also removed the behavior that on index creation the final partial block range is always summarized. It's pointless. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера