pg_rewind

by vmware

vmware / pg_rewind

Tool for resynchronizing a Postgres database after failover

126 Stars 19 Forks Last release: about 5 years ago (PGREWIND1_0_0_PG9_3) 80 Commits 2 Releases

Available items

No Items, yet!

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:

pg_rewind

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.