Help needed with perf tests on subtransaction overflow

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Help needed with perf tests on subtransaction overflow
Дата
Msg-id CANbhV-GMGb7ZjE2koPg8T5J3bdDfybP9XeCVKtTxk_qt50pUiA@mail.gmail.com
обсуждение исходный текст
Список pgsql-performance
I've come up with a patch designed to improve performance for the case
where Postgres has one or more overflowed subtransactions, i.e. at
least one open transaction has >64 subtransactions.

So far, performance results are very promising, which shows a loss of
performance of x8-9 unpatched and almost fully restored performance in
the patched version, for a test case of overflowed subxacts with data
contention, in the presence of a long running transaction.
[Image attached]

To be accepted into PG16, we think it's a good idea to gather wide
performance results.

If you use subtransactions in your application, could you help
characterize the performance of this patch? Sorry, no binaries
available, just the patch.
https://www.postgresql.org/message-id/attachment/140021/002_minimize_calls_to_SubTransSetParent.v12.patch

Any test case is OK, as long as you publish the code to run it and
publish the measurements with/without the patch.

Thanks very much.

-- 
Simon Riggs                http://www.EnterpriseDB.com/

Вложения

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

Предыдущее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: =ANY(ARRAY) vs =ANY(ARRAY(expr)) performance
Следующее
От: Stefan Fehrenbach
Дата:
Сообщение: When can joins be avoided?