| От | Tom Lane |
|---|---|
| Тема | Re: Online index builds |
| Дата | |
| Msg-id | 6983.1166026366@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Online index builds (Csaba Nagy <nagy@ecircle-ag.com>) |
| Ответы |
Re: Online index builds
|
| Список | pgsql-general |
Csaba Nagy <nagy@ecircle-ag.com> writes:
> So an implementation which optimistically builds the new index
> concurrently while holding no lock, and then hopes for the 3rd
> transaction to be able to get the exclusive lock and be able to swap the
> new index in the place of the old index, and error out if it can't - it
> is perfectly acceptable.
It would maybe be acceptable if there were a way to clean up the mess
after a failure, but there wouldn't be ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера