No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Alexis Guajardo
Alexis Guajardo Use snprintf() to avoid buffer overflow in the case of directory path…
… greater than 256 characters.
Latest commit 8d8bc23 Feb 9, 2018

README.md

pg_page_verification

Keeping data safe is the top responsibility of anyone running a database. To prevent against data loss, the Cloud SQL for PostgreSQL team has developed the PostgreSQL Page Verification tool (pg_page_verification) to verify checksums on PostgreSQL data pages without having to load each page into shared buffer cache. The tool currently skips the Free Space Map (FSM), Visibility Map (VM) and pg_internal.init files since they can be regenerated. It can be run when the database process is online or offline and supports subsequent segments for tables larger than 1GB. Cloud SQL for PostgreSQL uses the tool at scale to validate backups.

Usage

./pg_page_verification -D /path/to/data/dir

Disclaimer

This is not an official Google product.