pgsql: Expose track_iotiming data via the statistics collector.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Expose track_iotiming data via the statistics collector.
Date: 2012-04-05 15:46:01
Message-ID: E1SFosr-00073R-Ci@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Expose track_iotiming data via the statistics collector.

Ants Aasma's original patch to add timing information for buffer I/O
requests exposed this data at the relation level, which was judged too
costly. I've here exposed it at the database level instead.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/644828908fb132ee1f1da5b8b7975c0d73d6158a

Modified Files
--------------
doc/src/sgml/config.sgml | 7 +++++--
doc/src/sgml/monitoring.sgml | 19 +++++++++++++++++++
src/backend/catalog/system_views.sql | 2 ++
src/backend/postmaster/pgstat.c | 16 ++++++++++++++--
src/backend/storage/buffer/bufmgr.c | 10 +++++++---
src/backend/utils/adt/pgstatfuncs.c | 32 ++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 ++++
src/include/pgstat.h | 14 ++++++++++++++
src/test/regress/expected/rules.out | 2 +-
10 files changed, 99 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-04-05 15:52:18 pgsql: Correctly explain units used by function-timing stats functions.
Previous Message Tom Lane 2012-04-05 01:50:42 pgsql: Fix plpgsql named-cursor-parameter feature for variable name con