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
Ответ на
Список
Дерево обсуждения
BUG #8470: 9.3 locking/subtransaction performance regression os@ohmu.fi
Re: BUG #8470: 9.3 locking/subtransaction performance regression chrisrow <chrisrow@hushmail.com>
Re: BUG #8470: 9.3 locking/subtransaction performance regression yosxpe23 <wigsalemall.com@gmail.com>
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 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Oskari Saarenmaa <os@ohmu.fi>
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 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 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 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Andres Freund <andres@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 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Oskari Saarenmaa <os@ohmu.fi>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Tomonari Katsumata <katsumata.tomonari@po.ntts.co.jp>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Bruce Momjian <bruce@momjian.us>
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 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #8470: 9.3 locking/subtransaction performance regression Oskari Saarenmaa <os@ohmu.fi>
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
Дата:
FAQ