pgsql: Remove O(N^2) performance issue with multiple SAVEPOINTs.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Remove O(N^2) performance issue with multiple SAVEPOINTs.
Дата
Msg-id E1QjD43-00083m-Tq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove O(N^2) performance issue with multiple SAVEPOINTs.
Subtransaction locks now released en masse at main commit, rather than
repeatedly re-scanning for locks as we ascend the nested transaction tree.
Split transaction state TBLOCK_SUBEND into two states, TBLOCK_SUBCOMMIT
and TBLOCK_SUBRELEASE to allow the commit path to be optimised using
the existing code in ResourceOwnerRelease() which appears to have been
intended for this usage, judging from comments therein.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7cb7122800ec996d4849ce9b4ad3065db19a2aae

Modified Files
--------------
src/backend/access/transam/xact.c |  102 +++++++++++++++++++++++++------------
1 files changed, 70 insertions(+), 32 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Some refinement for the "fast path" lock patch.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Add expected regress output on stricter isolation levels