2.1 Processes
Definition: The postmaster is the first PostgreSQL process. It listens for connections and starts all the others. A backend is the process that serves one client connection.
| Process | What it does |
|---|---|
| postmaster | Listens on port 5432, starts every other process, restarts them if one crashes |
| client backend | One per connection. Runs that client's SQL |
| checkpointer | At each checkpoint, writes all changed pages from memory to the data files |
| background writer | Writes some changed pages early, so backends rarely wait |
| walwriter | Writes WAL records from memory to the WAL files |
| autovacuum launcher | Starts workers that clean up old row versions |
| io worker (new in 18) | Reads data from disk for backends. PostgreSQL 18 starts 3 by default |
| logical replication launcher | Starts logical replication workers (later module) |
| logger | Writes the server log files |
| archiver (off by default) | Copies each finished WAL file to a safe place, for point-in-time recovery (backup module) |
You will see these processes on your own server in 5.2, right after you install PostgreSQL.
Was this page helpful?
Thanks. Glad it helped.
Thanks for telling us. Email the instructor what was missing, or ask in class.