postgresql/src/backend
Fujii Masao 8d9a935965 Add pg_stat_wal statistics view.
This view shows the statistics about WAL activity. Currently it has only
two columns: wal_buffers_full and stats_reset. wal_buffers_full column
indicates the number of times WAL data was written to the disk because
WAL buffers got full. This information is useful when tuning wal_buffers.
stats_reset column indicates the time at which these statistics were
last reset.

pg_stat_wal view is also the basic infrastructure to expose other
various statistics about WAL activity later.

Bump PGSTAT_FILE_FORMAT_ID due to the change in pgstat format.

Bump catalog version.

Author: Masahiro Ikeda
Reviewed-by: Takayuki Tsunakawa, Kyotaro Horiguchi, Amit Kapila, Fujii Masao
Discussion: https://postgr.es/m/188bd3f2d2233cf97753b5ced02bb050@oss.nttdata.com
2020-10-02 10:17:11 +09:00
..
access Add pg_stat_wal statistics view. 2020-10-02 10:17:11 +09:00
bootstrap Improve some ancient, crufty code in bootstrap + initdb. 2020-09-05 16:20:04 -04:00
catalog Add pg_stat_wal statistics view. 2020-10-02 10:17:11 +09:00
commands Reword partitioning error message 2020-09-30 18:25:23 -03:00
executor Move resolution of AlternativeSubPlan choices to the planner. 2020-09-27 12:51:28 -04:00
foreign
jit Move resolution of AlternativeSubPlan choices to the planner. 2020-09-27 12:51:28 -04:00
lib Use pg_bitutils for HyperLogLog. 2020-07-30 09:14:23 -07:00
libpq Message fixes and style improvements 2020-09-14 06:42:30 +02:00
main
nodes Add for_each_from, to simplify loops starting from non-first list cells. 2020-09-28 20:33:13 -04:00
optimizer Add for_each_from, to simplify loops starting from non-first list cells. 2020-09-28 20:33:13 -04:00
parser Add for_each_from, to simplify loops starting from non-first list cells. 2020-09-28 20:33:13 -04:00
partitioning Improve error cursor positions for problems with partition bounds. 2020-09-23 18:04:53 -04:00
po
port Add huge_page_size setting for use on Linux. 2020-07-17 14:33:00 +12:00
postmaster Add pg_stat_wal statistics view. 2020-10-02 10:17:11 +09:00
regex
replication Archive timeline history files in standby if archive_mode is set to "always". 2020-09-29 16:21:46 +09:00
rewrite Redefine pg_class.reltuples to be -1 before the first VACUUM or ANALYZE. 2020-08-30 12:21:51 -04:00
snowball
statistics Remove some more useless assignments. 2020-09-04 14:32:19 -04:00
storage Fix and test snapshot behavior on standby. 2020-09-30 17:28:51 -07:00
tcop Fix bogus completion tag usage in walsender 2020-09-16 21:16:25 -03:00
tsearch Improve behavior of tsearch_readline(), and remove t_readline(). 2020-09-23 20:26:58 -04:00
utils Add pg_stat_wal statistics view. 2020-10-02 10:17:11 +09:00
.gitignore
common.mk
Makefile
nls.mk