Re: Concurrent MERGE

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Concurrent MERGE
Дата
Msg-id 4C5B3FE1.5030500@agliodbs.com
обсуждение исходный текст
Ответ на Re: Concurrent MERGE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Concurrent MERGE  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
Re: Concurrent MERGE  (Andres Freund <andres@anarazel.de>)
Re: Concurrent MERGE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Hm?  Please explain what you're talking about.

Transaction A locks 1 and wants a lock on 2
Transaction B locks 2 and wants a lock on 3
Transaction C locks 3 and wants a lock on 1

I've never had the deadlock detector successfully deal with the above.
Let alone a 4-way.

> Not sure I believe this either; one deadlock kills one transaction.
> If you lose multiple transactions I think you had multiple deadlocks.

Deadlock termination kills *all* of the transactions involved in the
deadlock; what else could it do?  This is as opposed to serialization
failures, in which usually only one of the transactions involved fails.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Concurrent MERGE
Следующее
От: Mike Fowler
Дата:
Сообщение: Re: Initial review of xslt with no limits patch