LinuxCommandLibrary

pg_controldata

displays PostgreSQL cluster control information

TLDR

Show cluster control data

$ pg_controldata [data_dir]
copy
Show with PGDATA environment
$ pg_controldata
copy

SYNOPSIS

pg_controldata [option] [-D] datadir

DESCRIPTION

pg_controldata displays PostgreSQL cluster control information. Shows WAL position, checkpoint info, and database state. Useful for disaster recovery and debugging.

PARAMETERS

-D, --pgdata dir

Data directory.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community