The next generation of logical replication for PostgreSQL
pglogical is a logical replication system implemented entirely as a PostgreSQL extension. Fully integrated, it requires no triggers or external programs. This alternative to physical replication is a highly efficient method of replicating data using a publish/subscribe model for selective replication.
pglogical forms the foundation for Postgres-BDR – which runs as an extension on top of it – providing the essential logical replication and other technologies for its features.
Connect PostgreSQL with other data sources and targets
The 3rd generation of pglogical separates out the receiver and writer processes, creating a pluggable architecture for non-PostgreSQL subscribers & providers. Pglogical already supports Kafka and RabbitMQ, with many more in the pipeline.
Minimize downtime with physical failover
pglogical has the ability to failover to a physical standby, thereby ensuring that all standby databases in the cluster remain available as standbys to the new primary. A physical failover ensures that all data is present in the new primary, rather than a subset – as opposed to failing over to a logical standby, which does not guarantee the entire dataset.
Seamlessly replicate new and updated data structures
With Transparent DDL Replication, pglogical provides seamless replication for any updates to the data structure of the source database. The DDL replication is statement-based, i.e. it is the statement that is replicated, not the result.
Transparent partitioning support
Through seamless integration of partitioned tables, pglogical allows you to specify the root table and replicates all partitions. Different partitioning configurations can be defined on the subscriber, including replication of a non-partitioned table to a partitioned one, and vice versa. Partitioning support is elastic, allowing to add and remove partitions transparently.
Row and column filters
Taking advantage of logical replication, pglogical allows to filter rows and/or columns that need to be replicated to the standby database. Being selective during replication allows for reduced traffic, as well as data segregation as needed.
pglogical 2.2.1 released – October 29, 2018
pglogical is available for PostgreSQL 9.4 – 11. It is available via 2ndQuadrant’s apt and yum repositories for Debian and Red Hat family (RHEL, CentOS, and Fedora). You can use standard apt and yum package managers for installing pglogical with your instance of PostgreSQL.
Detailed installation instructions are available here.
pglogical is fully open source, released under the PostgreSQL licence with copyright novated to the PostgreSQL Development Group.
2ndQuadrant provides PostgreSQL solutions for the Enterprise. Our support engineers have over 100 years of combined code contributions to the PostgreSQL project, making us the only company to contribute enterprise features to all of the last 13 releases. This is paired with 17+ years of hands-on experience through client engagements and allows us to integrate customized solutions with our customers – making 2ndQuadrant the Gold Standard for PostgreSQL products & services.
To request more information about pglogical please complete the contact form below and we will have someone contact you as soon as possible!