pg_checksums
Activate/deactivate/verify checksums in offline Postgres clusters
Repository
credativ/pg_checksums
https://github.com/credativ/pg_checksums
Source
pg_checksums-1.3.tar.gz
pg_checksums-1.3.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_checksums | 1.3 | ADMIN | BSD-2-Clause | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 5110 | pg_checksums | No | Yes | No | No | No | Yes | - |
| Related | amcheck pg_catcheck pg_orphaned pg_pathcheck pg_isok pg_surgery pageinspect pg_repack adminpack |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PGDG | 1.3 | 1817161514 | pg_checksums | - |
| RPM | PGDG | 1.3 | 1817161514 | pg_checksums_$v | - |
| DEB | PGDG | 1.3 | 1817161514 | postgresql-$v-pg-checksums | - |
Install
You can install pg_checksums directly. First, make sure the PGDG repository is added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
This extension does not require
CREATE EXTENSION
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
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)