pgsql: Expose the estimation of number of changed tuples since last ana

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Expose the estimation of number of changed tuples since last ana
Date: 2013-07-05 13:11:32
Message-ID: E1Uv5nQ-0007pB-0g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Expose the estimation of number of changed tuples since last analyze

This value, now pg_stat_all_tables.n_mod_since_analyze, was already
tracked and used by autovacuum, but not exposed to the user.

Mark Kirkwood, review by Laurenz Albe

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c87ff71f374652936a6089215a30998492b14d52

Modified Files
--------------
doc/src/sgml/monitoring.sgml | 5 +++++
src/backend/catalog/system_views.sql | 1 +
src/backend/utils/adt/pgstatfuncs.c | 17 +++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 2 ++
src/test/regress/expected/rules.out | 3 +++
6 files changed, 29 insertions(+), 1 deletion(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Cédric Villemain 2013-07-05 13:43:41 Re: pgsql: Expose the estimation of number of changed tuples since last ana
Previous Message Michael Meskes 2013-07-05 09:15:54 pgsql: Applied patch by MauMau <maumau307@gmail.com> to escape filename