Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2012-04-05 15:52:18
Subject: pgsql: Correctly explain units used by function-timing statsfunctions.
Previous:From: Tom LaneDate: 2012-04-05 01:50:42
Subject: pgsql: Fix plpgsql named-cursor-parameter feature for variable namecon

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group