Re: BUG #8470: 9.3 locking/subtransaction performance regression

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #8470: 9.3 locking/subtransaction performance regression
Дата
Msg-id 20131223195300.GK22570@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BUG #8470: 9.3 locking/subtransaction performance regression  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: BUG #8470: 9.3 locking/subtransaction performance regression  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: BUG #8470: 9.3 locking/subtransaction performance regression  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-bugs
Alvaro Herrera wrote:

> ... in particular, this change allows us to revert the addition of
> MultiXactHasRunningRemoteMembers(), and simply use
> MultiXactIdIsRunning() in the two places that required it.

And doing that enables simplifying this patch a bit, so here it is one
more time.  Hopefully this is the final version -- I intend to push it
to 9.3 and master.

Please *note the behavior change* of HeapTupleSatisfiesUpdate: it will
now return HeapTupleBeingUpdated when a tuple is locked by an Xid that's
a subtransaction of the current top transactionn.  That case previously
returned HeapTupleBeingUpdated.  If someone wants to say that we
shouldn't change that in 9.3, please speak up.  But do note that it was
already returning that valu ewhen the lock was a multixact, so the new
behavior can be said to be more consistent.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: balazs@obiserver.hu
Дата:
Сообщение: BUG #8698: cast and view
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #8470: 9.3 locking/subtransaction performance regression