Skip to content

Commit 25d124a

Browse files
authored
pg_waldump: update page (#18859)
1 parent 0be04e7 commit 25d124a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

pages/common/pg_waldump.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
# pg_waldump
22

3-
> Display a human-readable rendering of the write-ahead log (WAL).
3+
> Display a human-readable rendering of the write-ahead log (WAL) of a PostgreSQL database cluster.
44
> More information: <https://www.postgresql.org/docs/current/pgwaldump.html>.
55
6-
- Basic invocation reading a WAL segment (or range):
6+
- Display WAL records from a specific segment:
7+
8+
`pg_waldump {{start_segment}}`
9+
10+
- Display WAL records between two segments:
711

812
`pg_waldump {{start_segment}} {{end_segment}}`
913

1014
- Specify the WAL file directory:
1115

1216
`pg_waldump {{start_segment}} {{end_segment}} {{[-p|--path]}} {{path}}`
1317

14-
- Start from a particular WAL location (LSN):
15-
16-
`pg_waldump {{start_segment}} {{end_segment}} {{[-s|--start]}} {{lsn}}`
17-
18-
- Stop at a particular WAL location (LSN):
19-
20-
`pg_waldump {{start_segment}} {{end_segment}} {{[-e|--end]}} {{lsn}}`
21-
2218
- Follow new WAL entries as they arrive:
2319

2420
`pg_waldump {{start_segment}} {{end_segment}} {{[-f|--follow]}}`
@@ -27,10 +23,14 @@
2723

2824
`pg_waldump {{start_segment}} {{end_segment}} {{[-n|--limit]}} {{count}}`
2925

30-
- Quiet mode (suppress output except errors):
26+
- Display summary statistics instead of individual records:
3127

32-
`pg_waldump {{start_segment}} {{end_segment}} {{[-q|--quiet]}}`
28+
`pg_waldump {{start_segment}} {{end_segment}} {{[-z|--stats]}}`
3329

3430
- Filter by resource manager:
3531

3632
`pg_waldump {{start_segment}} {{end_segment}} {{[-r|--rmgr]}} {{rmgr_name}}`
33+
34+
- Display help:
35+
36+
`pg_waldump {{[-?|--help]}}`

0 commit comments

Comments
 (0)