pgsql: Add pg_stat_archiver statistics view.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add pg_stat_archiver statistics view.
Date: 2014-01-28 17:59:12
Message-ID: E1W8CwK-0002fz-La@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add pg_stat_archiver statistics view.

This view shows the statistics about the WAL archiver process's activity.

Gabriele Bartolini, reviewed by Michael Paquier, refactored a bit by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9132b189bf5589591cb63fef7952842b772e4fe6

Modified Files
--------------
doc/src/sgml/monitoring.sgml | 67 +++++++++++++++++++
src/backend/catalog/system_views.sql | 11 ++++
src/backend/postmaster/pgarch.c | 21 +++---
src/backend/postmaster/pgstat.c | 121 ++++++++++++++++++++++++++++++++--
src/backend/utils/adt/pgstatfuncs.c | 69 +++++++++++++++++++
src/include/catalog/pg_proc.h | 2 +
src/include/pgstat.h | 34 +++++++++-
src/include/postmaster/pgarch.h | 13 ++++
src/test/regress/expected/rules.out | 8 +++
9 files changed, 327 insertions(+), 19 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-01-28 20:28:12 Re: pgsql: Add pg_stat_archiver statistics view.
Previous Message Tom Lane 2014-01-28 17:34:36 pgsql: Update comment.