pgsql: Add the capability to display summary statistics to pg_xlogdump.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Add the capability to display summary statistics to pg_xlogdump.
Дата
Msg-id E1XUzV2-0002mp-JI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

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

Modified Files
--------------
contrib/pg_xlogdump/pg_xlogdump.c |  237 +++++++++++++++++++++++++++++++++++--
doc/src/sgml/pg_xlogdump.sgml     |   12 ++
2 files changed, 237 insertions(+), 12 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: pgsql: Add #define INT64_MODIFIER for the printf length modifier for 64
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Add rmgr callback to name xlog record types for display purposes