Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.
/ pg_rewind Public archive

Tool for resynchronizing a Postgres database after failover

Notifications You must be signed in to change notification settings

vmware-archive/pg_rewind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 

Repository files navigation

pg_rewind
=========

pg_rewind 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 pg_rewind
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 pg_rewind has been included in PostgreSQL 9.5, new major releases
of pg_rewind 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 REL9_3_STABLE and REL9_4_STABLE respectively.