From 6b466bf5f2bea0c89fab54eef696bcfc7ecdafd7 Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Sun, 5 Apr 2020 07:34:04 +0530 Subject: Allow pg_stat_statements to track WAL usage statistics. This commit adds three new columns in pg_stat_statements output to display WAL usage statistics added by commit df3b181499. This commit doesn't bump the version of pg_stat_statements as the same is done for this release in commit 17e0328224. Author: Kirill Bychik and Julien Rouhaud Reviewed-by: Julien Rouhaud, Fujii Masao, Dilip Kumar and Amit Kapila Discussion: https://postgr.es/m/CAB-hujrP8ZfUkvL5OYETipQwA=e3n7oqHFU=4ZLxWS_Cza3kQQ@mail.gmail.com --- doc/src/sgml/pgstatstatements.sgml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/pgstatstatements.sgml b/doc/src/sgml/pgstatstatements.sgml index b4df84c60bb..3d261086497 100644 --- a/doc/src/sgml/pgstatstatements.sgml +++ b/doc/src/sgml/pgstatstatements.sgml @@ -264,6 +264,33 @@ + + wal_bytes + numeric + + + Total amount of WAL bytes generated by the statement + + + + + wal_records + bigint + + + Total count of WAL records generated by the statement + + + + + wal_num_fpw + bigint + + + Total count of WAL full page writes generated by the statement + + + -- cgit v1.2.3