4 pg_walsummary — print contents of WAL summary files
8 pg_walsummary [option...] [file...]
12 pg_walsummary is used to print the contents of WAL summary files. These
13 binary files are found with the pg_wal/summaries subdirectory of the
14 data directory, and can be converted to text using this tool. This is
15 not ordinarily necessary, since WAL summary files primarily exist to
16 support incremental backup, but it may be useful for debugging
19 A WAL summary file is indexed by tablespace OID, relation OID, and
20 relation fork. For each relation fork, it stores the list of blocks
21 that were modified by WAL within the range summarized in the file. It
22 can also store a "limit block," which is 0 if the relation fork was
23 created or truncated within the relevant WAL range, and otherwise the
24 shortest length to which the relation fork was truncated. If the
25 relation fork was not created, deleted, or truncated within the
26 relevant WAL range, the limit block is undefined or infinite and will
27 not be printed by this tool.
33 By default, pg_walsummary prints one line of output for each
34 range of one or more consecutive modified blocks. This can make
35 the output a lot briefer, since a relation where all blocks from
36 0 through 999 were modified will produce only one line of output
37 rather than 1000 separate lines. This option requests a separate
38 line of output for every modified block.
42 Do not print any output, except for errors. This can be useful
43 when you want to know whether a WAL summary file can be
44 successfully parsed but don't care about the contents.
48 Display version information, then exit.
52 Shows help about pg_walsummary command line arguments, and
57 The environment variable PG_COLOR specifies whether to use color in
58 diagnostic messages. Possible values are always, auto and never.
62 pg_basebackup, pg_combinebackup