| От | Peter Eisentraut |
|---|---|
| Тема | Re: concurrent SELECT blocking ALTER? |
| Дата | |
| Msg-id | 52E98187.2070907@gmx.net обсуждение исходный текст |
| Ответ на | concurrent SELECT blocking ALTER? (Neil Harkins <nharkins@gmail.com>) |
| Ответы |
Re: concurrent SELECT blocking ALTER?
|
| Список | pgsql-general |
On 1/29/14, 4:59 PM, Neil Harkins wrote: > Why are those exclusive locks present? > Can't the database rely on mvcc for those reads > without locking? The autocommit should be > increasing the xid used for the reads, so the > ALTER should be able to slip in-between? One would think so, but it's more complicated. There is a long thread on pgsql-hackers spreading over many months that discusses the intricacies of reducing the strength of the locks taken by DDL commands. This is being addressed, but at the moment most DDL commands take exclusive locks.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера