pgsql: Add wait events for checkpoint delay mechanism.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Add wait events for checkpoint delay mechanism.
Дата
Msg-id E1qr9CK-000HZM-JW@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add wait events for checkpoint delay mechanism.

When MyProc->delayChkptFlags is set to temporarily block phase
transitions in a concurrent checkpoint, the checkpointer enters a
sleep-poll loop to wait for the flag to be cleared.  We should show that
as a wait event in the pg_stat_activity view.

Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CA%2BhUKGL7Whi8iwKbzkbn_1fixH3Yy8aAPz7mfq6Hpj7FeJrKMg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0013ba290b6684d095d93517ff2ca1fadf79bdb9

Modified Files
--------------
src/backend/access/transam/xlog.c               | 4 ++++
src/backend/utils/activity/wait_event_names.txt | 2 ++
2 files changed, 6 insertions(+)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: doc: Mention timezone(zone, time) in section for AT TIME ZONE
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add support for AT LOCAL