Tool for resynchronizing a Postgres database after failover
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
pgrewind is a tool for synchronizing a PostgreSQL data directory with another PostgreSQL data directory that was forked from the first one. The result is equivalent to rsyncing the first data directory (referred to as the old cluster from now on) with the second one (the new cluster). The advantage of pgrewind over rsync is that pg_rewind uses the WAL to determine changed data blocks, and does not require reading through all files in the cluster. That makes it a lot faster when the database is large and only a small portion of it differs between the clusters.
Note: As pgrewind has been included in PostgreSQL 9.5, new major releases of pgrewind will not be included in this repository. This means that master branch is now inactive.
For those reasons, this branch is actually empty of content and will not be updated anymore. For versions compatible with PostgreSQL 9.3 and 9.4, please refer to branches REL93STABLE and REL94STABLE respectively.