Re: [HACKERS] Proposal: Local indexes for partitioned table
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: [HACKERS] Proposal: Local indexes for partitioned table |
| Дата | |
| Msg-id | 20180104192023.pylv7jveepit2245@alvherre.pgsql обсуждение |
| Ответ на | Re: [HACKERS] Proposal: Local indexes for partitioned table (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-hackers |
Robert Haas wrote: > On Thu, Jan 4, 2018 at 11:44 AM, Peter Eisentraut > <peter.eisentraut@2ndquadrant.com> wrote: > > I'm not sure why this feature of automatically picking up matching > > indexes even exists. Is it for some specific workflows or upgrade > > scenarios? It's kind of a surprising feature in a way. > > It allows you to avoid building a new indexes unnecessarily when > attaching a partition. Yeah -- this is important to reduce the duration of the DDL operation, since attaching a partition requires an access exclusive lock. Having to build the index at that point would make that feature pretty much useless for many use cases. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера