LinuxCommandLibrary

pg_waldump

displays WAL file contents in human-readable format

TLDR

Dump WAL file

$ pg_waldump [walfile]
copy
Dump with record details
$ pg_waldump -r [record_type] [walfile]
copy
Dump range
$ pg_waldump -s [start_lsn] -e [end_lsn] [walfile]
copy

SYNOPSIS

pg_waldump [options] [startseg] [endseg]

DESCRIPTION

pg_waldump displays WAL file contents in human-readable format. Shows transaction details and operations. Useful for debugging and understanding WAL activity.

PARAMETERS

-p, --path dir

WAL directory.
-r, --rmgr name
Filter by resource manager.
-s, --start lsn
Start LSN.
-e, --end lsn
End LSN.
-n, --limit n
Limit records.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community