table of contents
PG_WALSUMMARY(1) | PostgreSQL 17.0 Documentation | PG_WALSUMMARY(1) |
NAME¶
pg_walsummary - print contents of WAL summary files
SYNOPSIS¶
pg_walsummary [option...] [file...]
DESCRIPTION¶
pg_walsummary is used to print the contents of WAL summary files. These binary files are found with the pg_wal/summaries subdirectory of the data directory, and can be converted to text using this tool. This is not ordinarily necessary, since WAL summary files primarily exist to support incremental backup, but it may be useful for debugging purposes.
A WAL summary file is indexed by tablespace OID, relation OID, and relation fork. For each relation fork, it stores the list of blocks that were modified by WAL within the range summarized in the file. It can also store a "limit block," which is 0 if the relation fork was created or truncated within the relevant WAL range, and otherwise the shortest length to which the relation fork was truncated. If the relation fork was not created, deleted, or truncated within the relevant WAL range, the limit block is undefined or infinite and will not be printed by this tool.
OPTIONS¶
-i
--individual
-q
--quiet
-V
--version
-?
--help
ENVIRONMENT¶
The environment variable PG_COLOR specifies whether to use color in diagnostic messages. Possible values are always, auto and never.
SEE ALSO¶
2024 | PostgreSQL 17.0 |