mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 08:50:10 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,10 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pg_waldump
|
||||
|
||||
> Display a human-readable rendering of the write-ahead log (WAL).
|
||||
> Display a human-readable rendering of the write-ahead log (WAL) of a PostgreSQL database cluster.
|
||||
> More information: <https://www.postgresql.org/docs/current/pgwaldump.html>.
|
||||
|
||||
- Basic invocation reading a WAL segment (or range):
|
||||
- Display WAL records from a specific segment:
|
||||
|
||||
`pg_waldump {{start_segment}}`
|
||||
|
||||
- Display WAL records between two segments:
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}}`
|
||||
|
||||
@@ -16,14 +20,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-p|--path]}} {{path}}`
|
||||
|
||||
- Start from a particular WAL location (LSN):
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-s|--start]}} {{lsn}}`
|
||||
|
||||
- Stop at a particular WAL location (LSN):
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-e|--end]}} {{lsn}}`
|
||||
|
||||
- Follow new WAL entries as they arrive:
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-f|--follow]}}`
|
||||
@@ -32,10 +28,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-n|--limit]}} {{count}}`
|
||||
|
||||
- Quiet mode (suppress output except errors):
|
||||
- Display summary statistics instead of individual records:
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-q|--quiet]}}`
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-z|--stats]}}`
|
||||
|
||||
- Filter by resource manager:
|
||||
|
||||
`pg_waldump {{start_segment}} {{end_segment}} {{[-r|--rmgr]}} {{rmgr_name}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`pg_waldump {{[-?|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user