How To Configure pglogical | streaming replication for PostgreSQL
The pglogical extension provides logical streaming replication for PostgreSQL We use the following terms to describe data streams between nodes, deliberately reused from the earlier Slony technology: • Nodes - PostgreSQL database instances • Providers and Subscribers - roles taken by Nodes • Replication Set - a collection of tables Architectural details: • pglogical works on a per-database level, not whole server level like physical streaming replication • One Provider may feed multiple Subscribers without incurring additional disk write overhead • One Subscriber can merge changes from several origins and detect conflict between changes with automatic and configurable conflict resolution (some, but not all aspects required for multi-master). • Cascading replication is implemented in the form of changeset forwarding. Requirements :- To use pglogical the provider and subscriber must be running PostgreSQL 9.4 or newer. The pglogical exten...