May 2019
Intermediate to advanced
600 pages
20h 46m
English
The pg_controldata utility is a PostgreSQL server application that shows the content of a server's control file. The control file is located within the data directory of a server, and it is created at database initialization time. Some of the information within it is updated regularly, and some is only updated when certain major events occur.
The full output of pg_controldata looks like the following (some values may change over time as the server runs):
pg_control version number: 1100Catalog version number: 201809051Database system identifier: 6678846522653464085Database cluster state: in productionpg_control last modified: Sun Apr 14 22:37:42 2019Latest checkpoint location: 0/B29DDF8… (not shown in full)
Read now
Unlock full access