Skip to main content


Short Description

Waiting to read or update the pg_control file or create a new WAL file.

Detailed Description

The control file pg_control is an 8kb binary file which stores information about various aspects of the PostgreSQL server's internal state, such as the most recent checkpoint, as well as fundamental parameters set by initdb. It is located in the cluster's global/ directory.

The Write Ahead Log (WAL) is the standard way of ensuring data integrity.

How to reduce this wait

Updating the control file and writing WAL logs are fundamental to the normal operation of the database.

Ensure the server I/O subsystem is performing correctly across the cluster.

PostgreSQL Docs - Wait Events of Type IO

PostgreSQL documentation - Write-Ahead Logging (WAL)

pgpedia - pg_control

Search online

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.