pg_checksums
Enable/disable checksums offline and verify them online or offline
pg_checksums : Enable/disable checksums offline and verify them online or offline
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 5110 | pg_checksums | pg_checksums | 1.4 |
ADMIN | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| ------- | Yes | No | No | No | no | no |
| Relationships | |
|---|---|
| See Also | amcheck pg_catcheck pg_orphaned pg_pathcheck pg_isok pg_surgery pageinspect pg_repack adminpack |
Packages
| Linux / PG | PG19 | PG18 | PG17 | PG16 | PG15 |
|---|---|---|---|---|---|
| el8.x86_64 | N/A | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| el8.aarch64 | N/A | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| el9.x86_64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| el9.aarch64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| el10.x86_64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| el10.aarch64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| d12.x86_64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| d12.aarch64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| d13.x86_64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| d13.aarch64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| u22.x86_64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| u22.aarch64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| u24.x86_64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| u24.aarch64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| u26.x86_64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
| u26.aarch64 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 | PGDG 1.4 |
Source
github.com/credativ/pg_checksums
pg_checksums-1.4.tar.gz
Install
Make sure PGDG repo available:
Install this extension with pig:
This extension does not need CREATE EXTENSION DDL command
Usage
pg_checksums: Activate/deactivate/verify checksums in offline Postgres clusters
pg_checksums_ext is a command-line tool (based on PostgreSQL’s built-in pg_checksums) that can verify, activate, or deactivate page-level checksums for a PostgreSQL cluster. It extends the built-in tool with online verification, SIGUSR1 progress toggling, fine-grained progress reporting, and I/O rate limiting.
Verify Checksums (can be done online)
Enable Checksums (requires clean shutdown)
Disable Checksums (requires clean shutdown)
Additional Options
-D, --pgdata– data directory path--check/--enable/--disable– operation mode--progress– show progress reporting--filenode– check only a specific filenode--no-sync– skip fsync--verbose– verbose output--debug– debug output- Send
SIGUSR1to toggle progress reporting during operation