pgsql: Track last time for statistics reset on databases and bgwriter

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Track last time for statistics reset on databases and bgwriter
Date: 2011-02-10 14:15:08
Message-ID: E1PnXIa-000051-6T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Track last time for statistics reset on databases and bgwriter

Tracks one counter for each database, which is reset whenever
the statistics for any individual object inside the database is
reset, and one counter for the background writer.

Tomas Vondra, reviewed by Greg Smith

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4c468b37a281941afd3bf61c782b20def8c17047

Modified Files
--------------
doc/src/sgml/monitoring.sgml | 29 ++++++++++++++++++++++++++---
src/backend/catalog/system_views.sql | 6 ++++--
src/backend/postmaster/pgstat.c | 13 +++++++++++++
src/backend/utils/adt/pgstatfuncs.c | 26 ++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 ++++
src/include/pgstat.h | 4 +++-
src/test/regress/expected/rules.out | 4 ++--
8 files changed, 79 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-02-10 14:25:12 Re: Re: [COMMITTERS] pgsql: Update docs on building for Windows to accomodate current realit
Previous Message Magnus Hagander 2011-02-10 13:38:29 Re: Re: [COMMITTERS] pgsql: Update docs on building for Windows to accomodate current realit