pgsql: Track statistics for spilling of changes from ReorderBuffer.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Track statistics for spilling of changes from ReorderBuffer.
Date: 2019-11-21 02:45:13
Message-ID: E1iXcT3-0001TR-Le@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Track statistics for spilling of changes from ReorderBuffer.

This adds the statistics about transactions spilled to disk from
ReorderBuffer. Users can query the pg_stat_replication view to check
these stats.

Author: Tomas Vondra, with bug-fixes and minor changes by Dilip Kumar
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/688b0b7f-2f6c-d827-c27b-216a8e3ea700@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9290ad198b15d6b986b855d2a58d087a54777e87

Modified Files
--------------
doc/src/sgml/monitoring.sgml | 20 ++++++++++++
src/backend/catalog/system_views.sql | 5 ++-
src/backend/replication/logical/reorderbuffer.c | 12 +++++++
src/backend/replication/walsender.c | 42 +++++++++++++++++++++++--
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 6 ++--
src/include/replication/reorderbuffer.h | 11 +++++++
src/include/replication/walsender_private.h | 5 +++
src/test/regress/expected/rules.out | 7 +++--
9 files changed, 101 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2019-11-21 10:24:09 pgsql: Improve tab-completion for ALTER MATERIALIZED VIEW.
Previous Message Michael Paquier 2019-11-21 01:24:40 pgsql: Provide statistics for hypothetical BRIN indexes