Loading topic
COMMIT returns, your change survives a crash. It keeps that promise without writing every changed data page to disk at commit time. This chapter explains the problem that makes a log necessary. Later chapters cover the log itself and checkpoints.7 min readBEGIN and COMMIT, and with the idea that a flush (an fsync call) forces data from the operating system cache onto stable stora6 min readpsql and a shell on a test server. Here you will follow what PostgreSQL does after an unclean stop, from the first line of the startup log to the first accepted connection.7 min readpostgresql.conf and query pg_settings. Here you will learn which events start a checkpoint, how to tell them apart, and which ones you ca7 min readpg_settings and run queries in psql. It covers what happens to a WAL segment after it is no longer needed for crash recovery, and which features can stop that from happening.6 min readpsql, ALTER SYSTEM and reading postgresql.conf. Tuning here means picking values from evidence, so the chapter first shows what to measure and t6 min readpostgresql.conf and run psql against a test server. The commands use PostgreSQL 15 or later. The paths are examples, so change them to match your system.6 min read