]> granicus.if.org Git - postgresql/commit
Add the capability to display summary statistics to pg_xlogdump.
authorAndres Freund <andres@anarazel.de>
Fri, 19 Sep 2014 14:33:16 +0000 (16:33 +0200)
committerAndres Freund <andres@anarazel.de>
Fri, 19 Sep 2014 14:33:16 +0000 (16:33 +0200)
commitbdd5726c347016ea34e9fb68d1b8b71046e25d2e
tree2569cdff72f079c6c7a6c78e8e1cfdb01c43136f
parent728f152e07f998d2cb4fe5f24ec8da2c3bda98f2
Add the capability to display summary statistics to pg_xlogdump.

The new --stats/--stats=record options to pg_xlogdump display per
rmgr/per record statistics about the parsed WAL. This is useful to
understand what the WAL primarily consists of, to allow targeted
optimizations on application, configuration, and core code level.

It is likely that we will want to fine tune the statistics further,
but the feature already is quite helpful.

Author: Abhijit Menon-Sen, slightly editorialized by me
Reviewed-By: Andres Freund, Dilip Kumar and Furuya Osamu
Discussion: 20140604104716.GA3989@toroid.org
contrib/pg_xlogdump/pg_xlogdump.c
doc/src/sgml/pg_xlogdump.sgml