PostgreSQL 19 to Allow Enabling Data Checksums Online Without Downtime
PostgreSQL 19 introduces the ability to enable data checksums on a live database cluster without requiring a shutdown, a significant improvement over previous versions. Data checksums help detect silent storage or I/O corruption that can cause queries to return incorrect results undetected. Earlier PostgreSQL versions required the offline pg_checksums tool to add checksums, making the process disruptive and time-consuming for production systems. The new pg_enable_data_checksums() function runs the checksum process in the background while the application remains active, with optional throttling to reduce performance impact. PostgreSQL 18 already enables checksums by default for new clusters, but the online feature in version 19 addresses clusters upgraded from older, checksum-free installations.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in