SlideShare a Scribd company logo
Overcoming Write
Availability Challenges of
PostgreSQL
Bhavani Rao, John Dalton
Hosted by: Molly Halsey
● Slides and recording will be available in next 48 hours
● Submit questions via Zoom – will be answering at end
Welcome
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.3
Agenda
● High write availability
● Challenges with logical replication
● Solution
● Features and benefits
● Use cases
● Next steps
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.4
High Availability Read Availability Write Availability
What is write availability?
• Redundant DB and infra for
tolerating failures
• Multiple levels of
redundancy for higher avail
HA architecture tailored to
applications that have a high
read to write ratio
HA architecture designed for
applications with a
high write to read ratio
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.5
Replication to active writable standby
Write availability
• Fast failover to secondary database
• Application writing only to one database
• Typically deployed within one region
• Often required for financial applications
M2M1
App
Replication
Connects to M2
when M1 fails
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.6
• Provider: grounded in PostgreSQL,
replication, or other DBMS tech
• License: commercial or open source
• Support: self, community, or vendor
• Deployment: private, public, or multi-
cloud, single or multi-region
Database replication considerations
Many factors to consider
• Ecosystem: other database and systems in
your enterprise infrastructure
• Architecture: centralized or distributed
• Change capture mechanism: invasive or
extension
• Replication method: physical or logical, batch
or continuous
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.7
• Fine-grained control over replicating changes to
data objects, from selected rows to full database
• Node can be on different versions of PostgreSQL
• Bi-directional replication, supports writes to
multiple database nodes
• Interoperability with other database technologies
using ANSI SQL standards
Replication methods
Logical
• Binary data in write ahead logs (WAL) from all
schemas in active DB sent to replicas byte for byte
• Each node on same major PostgreSQL version
• Application writes to active database are
replicated to read only replicas
• Asynchronous and synchronous replication
supported
Physical
Best for Write AvailabilityBest for Read Availability
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.8
Challenges with logical replication tools
• Service must be co-located on same node as PostgreSQL server
• Has single point of failure
• Dependent on vendor provided or forked PostgreSQL
• Limited to DML only changes
• Difficult to scale horizontally
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.9
• Vertical scalability is always limited
• Horizontal scalability enables resiliency
• Multiple redundant managed nodes
enable service availability in case of a
node failure
• Scale replication node to workload
independent of DB node workload
Scalability and availability
Distributing computing architecture as enabler
Horizontal
Increase number
of instances
Vertical
Increase resource
size for node
Solution
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.11
Logical replication with EDB Replicate
WHY
HOW
WHAT
Protects data availability for mission critical applications to mitigate business risk
EDB Replicate is built with Kafka to help eliminate single points of failure and provide high write-
availability
Provides a scalable, fault tolerant logical data replication for single- and multi-master replication use
cases
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.12
How EDB Replicate works
• Each node can publish and subscribe to changes
• Logical decoding of WAL identifies SQL level changes
published via Kafka
• If a node fails another will take over
• Failed database resumes from last sync point, in case of
conflicts last update wins
• Anti-affinity deployment pattern is used, i.e., EDB
Replicate not co-located on database node
Availability
Zone 1
Availability
Zone 3
Availability
Zone 2
App App App
EDB
Replicate 1
EDB
Replicate 2
EDB
Replicate 3
EDB Replicate 3
takes over on
failure at EDB
Replicate 2
Cloud Service Provider
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.13
Software Architecture
Apache Kafka Fault-tolerant distributed streaming
replication
Apache ZooKeeper Distributed configuration management
Apache Avro Compressed data serialization and
schema management
Logical Decoding Logical change data capture component
of Postgres database server
Producer Streams from database to Kafka topic
Consumer Streams from Kafka topic to database
DB
App CLI
Logical
Decoding
EDB Replicate
Consumer
Producer
ZooKeeperController
Kafka Broker
Topic
Avro
REST API
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.14
Apache Kafka
Open source stream-processing platform
• De facto infrastructure standard for capturing and publishing events
• Used to integrate enterprise processes and workflows
• Kafka collects the ‘digital exhaust’ of an enterprise for ML and continuous intelligence
• Distributed architecture provides fault tolerance
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.15
Scalability and flexibility
Feature Benefit
• Horizontally scalable - add replication nodes (Kafka
brokers) with no physical machine limits
• Distributed - replication service is not co-located with
the production database
• Supports community PostgreSQL and EDB Postgres
Advanced Server
• Support different major versions of EDB Postgres
Advanced Server or PostgreSQL in the same cluster
• Increase processing horsepower to match replication
workload without degrading database performance
• Replication processes do not compete for the same
resources as the PostgreSQL instance
• Avoid vendor lock-in by using community PostgreSQL
• Supports rolling upgrades with minimal/zero downtime
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.16
Fault tolerance and performance
Feature Benefit
• Fault-tolerant - resistant to replication
node/machine failure within a cluster
• Supports bidirectional replication; writes on any
node are replicated to other PostgreSQL nodes
• End-to-end data compression with encryption -
Avro data storage format and Kafka data
compression
• No single point of failure. No need to retain WAL
logs when the replication node fails
• Enables complex architectures with multiple
masters, manages conflicts for data consistency
• Reduces message size sent between cluster nodes,
thereby reducing data latency
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.17
Improves usability
Feature Benefit
• Add new DBs without seeding from production
• Row-level filters
• Multiple publications per DBs in same cluster
• Email alerts based on thresholds, monitoring
and centralized event tracking
• High data availability without performance impact
• Replication can be fine grained and integrate data
from multiple DBs
• Changes from multiple database table groupings
can be replicated between DBs
• Simplified maintenance of large clusters
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.18
• Encrypted database connection
• SCRAM and certificate-based authentication
• ACL-based access control
• PostgreSQL 9.6, 10, 11, 12
• RHEL 7 & 8 on x86-64 as RPMs
• Bundled Kafka with compression options
Additional capabilities
Environmental
• CLI configuration management
• Insert, delete and row level
update-update conflicts managed
• Multiple publications per database
• Row level filtering
• Cascading replication
• Offline snapshots
Functional
Recommended
use cases
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.20
APAC EMEANA
• Data availability for applications operating
across multiple geographic regions
• Updates must be to local region data only, ie,
data model supports natural sharding
• All regions have complete data set
• Logistics applications are examples where
data may be needed in multiple regions
Geo-Distributed
Minimize application latency for users
M3M2M1
App App App
Replication
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.21
• For multiple applications with common
reference data
• Application of record maintains data in
master database
• Replicas are read only for reference data
used by applications
• Inventory applications are an example where
product catalog reference data is needed at a
retail store
Data Distribution
Accurate and consistent shared reference data
R2MR1
App1 App2 App3
Replication
Who is EDB?
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.23
EDB supercharges PostgreSQL
Privately Held
Major PostgreSQL
community leader
Over 5000
customers
The largest provider of open-source PostgreSQL
based software, services and support
Founded in
2004
Over 10 years of
consecutive quarterly
subscription growth
500+
employees
16 offices
worldwide
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.24 CONFIDENTIAL
News: EDB Acquires 2ndQuadrant
Now the largest dedicated provider of PostgreSQL products and solutions worldwide
Brings together world’s top PostgreSQL experts, combining two best-in-class technical teams
+
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.25
• Replication mitigates business risk by protecting data availability
for mission critical applications
• Modern PostgreSQL data replication must support the evolving
multi-cloud needs of enterprises
• EDB Replicate is designed for enterprise-class logical replication
Summary
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.26
Learn More
Other resources
EDB Replicate
General Availability late October
Postgres Pulse EDB Youtube
Channel
Contact EDB
info@edbpostgres.com

More Related Content

PPTX
Public Sector Virtual Town Hall: High Availability for PostgreSQL
 
PPTX
Automating a PostgreSQL High Availability Architecture with Ansible
 
PPTX
Expert Guide to Migrating Legacy Databases to Postgres
 
PDF
Making your PostgreSQL Database Highly Available
 
PPTX
PostgreSQL as a Strategic Tool
 
PPTX
An overview of reference architectures for Postgres
 
PPTX
How to Design for Database High Availability
 
PPTX
An overview of reference architectures for Postgres
 
Public Sector Virtual Town Hall: High Availability for PostgreSQL
 
Automating a PostgreSQL High Availability Architecture with Ansible
 
Expert Guide to Migrating Legacy Databases to Postgres
 
Making your PostgreSQL Database Highly Available
 
PostgreSQL as a Strategic Tool
 
An overview of reference architectures for Postgres
 
How to Design for Database High Availability
 
An overview of reference architectures for Postgres
 

What's hot (20)

PDF
Best Practices & Lessons Learned from Deployment of PostgreSQL
 
PDF
Best Practices in Security with PostgreSQL
 
PPTX
Beginner's Guide to High Availability for Postgres
 
PPTX
New enhancements for security and usability in EDB 13
 
PPTX
Beginners Guide to High Availability for Postgres
 
PDF
Introducing Data Redaction - an enabler to data security in EDB Postgres Adva...
 
PPTX
PostgreSQL to Accelerate Innovation
 
PPTX
Database Dumps and Backups
 
PDF
Remote DBA Service: Powering your DBA needs
 
PPTX
An Expert Guide to Migrating Legacy Databases to PostgreSQL
 
PDF
Beginner's Guide to High Availability for Postgres
 
PPTX
New Integration Options with Postgres Enterprise Manager 8.0
 
PDF
Beginner's Guide to High Availability for Postgres - French
 
PPTX
Migration DB2 to EDB - Project Experience
 
PPTX
Szabaduljon ki az Oracle szorításából
 
PDF
EDB & ELOS Technologies - Break Free from Oracle
 
PPTX
PostgreSQL as a Strategic Tool
 
PDF
Using PEM to understand and improve performance in Postgres: Postgres Tuning ...
 
PPTX
Un guide complet pour la migration de bases de données héritées vers PostgreSQL
 
PPTX
OLTP+OLAP=HTAP
 
Best Practices & Lessons Learned from Deployment of PostgreSQL
 
Best Practices in Security with PostgreSQL
 
Beginner's Guide to High Availability for Postgres
 
New enhancements for security and usability in EDB 13
 
Beginners Guide to High Availability for Postgres
 
Introducing Data Redaction - an enabler to data security in EDB Postgres Adva...
 
PostgreSQL to Accelerate Innovation
 
Database Dumps and Backups
 
Remote DBA Service: Powering your DBA needs
 
An Expert Guide to Migrating Legacy Databases to PostgreSQL
 
Beginner's Guide to High Availability for Postgres
 
New Integration Options with Postgres Enterprise Manager 8.0
 
Beginner's Guide to High Availability for Postgres - French
 
Migration DB2 to EDB - Project Experience
 
Szabaduljon ki az Oracle szorításából
 
EDB & ELOS Technologies - Break Free from Oracle
 
PostgreSQL as a Strategic Tool
 
Using PEM to understand and improve performance in Postgres: Postgres Tuning ...
 
Un guide complet pour la migration de bases de données héritées vers PostgreSQL
 
OLTP+OLAP=HTAP
 
Ad

Similar to Overcoming write availability challenges of PostgreSQL (20)

PDF
Optimizing Open Source for Greater Database Savings & Control
 
PPTX
Advanced Database Patterns for Kubernetes
 
PDF
Powerplay: Postgres and Lenovo for the Best Performance & Savings
 
PPTX
New Enterprise Cloud Database Options for 2019
 
PPTX
SQL PASS Taiwan 七月份聚會-1
PPTX
Enterprise-class security with PostgreSQL - 2
PDF
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
 
PDF
Optimize with Open Source
 
PDF
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
PPTX
Rising Interest in Open Source Relational Databases
PDF
Running Production CDC Ingestion Pipelines With Balaji Varadarajan and Pritam...
PPTX
Which PostgreSQL is right for your multi cloud strategy? P2
PDF
Save money with Postgres on IBM PowerLinux
 
PDF
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
PPTX
YARN Ready: Integrating to YARN with Tez
PPTX
Break Free from Oracle
 
PDF
2014.07.11 biginsights data2014
PDF
Hpc lunch and learn
PPTX
Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...
PPTX
Database Virtualization: The Next Wave of Big Data
Optimizing Open Source for Greater Database Savings & Control
 
Advanced Database Patterns for Kubernetes
 
Powerplay: Postgres and Lenovo for the Best Performance & Savings
 
New Enterprise Cloud Database Options for 2019
 
SQL PASS Taiwan 七月份聚會-1
Enterprise-class security with PostgreSQL - 2
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
 
Optimize with Open Source
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Rising Interest in Open Source Relational Databases
Running Production CDC Ingestion Pipelines With Balaji Varadarajan and Pritam...
Which PostgreSQL is right for your multi cloud strategy? P2
Save money with Postgres on IBM PowerLinux
 
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
YARN Ready: Integrating to YARN with Tez
Break Free from Oracle
 
2014.07.11 biginsights data2014
Hpc lunch and learn
Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...
Database Virtualization: The Next Wave of Big Data
Ad

More from EDB (20)

PDF
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
PDF
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
PDF
Migre sus bases de datos Oracle a la nube
 
PDF
EFM Office Hours - APJ - July 29, 2021
 
PDF
Benchmarking Cloud Native PostgreSQL
 
PDF
Las Variaciones de la Replicación de PostgreSQL
 
PDF
NoSQL and Spatial Database Capabilities using PostgreSQL
 
PDF
Is There Anything PgBouncer Can’t Do?
 
PDF
Data Analysis with TensorFlow in PostgreSQL
 
PDF
Practical Partitioning in Production with Postgres
 
PDF
A Deeper Dive into EXPLAIN
 
PDF
IOT with PostgreSQL
 
PDF
A Journey from Oracle to PostgreSQL
 
PDF
Psql is awesome!
 
PDF
EDB 13 - New Enhancements for Security and Usability - APJ
 
PPTX
Comment sauvegarder correctement vos données
 
PDF
Cloud Native PostgreSQL - Italiano
 
PDF
New enhancements for security and usability in EDB 13
 
PPTX
Best Practices in Security with PostgreSQL
 
PDF
Cloud Native PostgreSQL - APJ
 
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migre sus bases de datos Oracle a la nube
 
EFM Office Hours - APJ - July 29, 2021
 
Benchmarking Cloud Native PostgreSQL
 
Las Variaciones de la Replicación de PostgreSQL
 
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Is There Anything PgBouncer Can’t Do?
 
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
 

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Electronic commerce courselecture one. Pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Approach and Philosophy of On baking technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
Digital-Transformation-Roadmap-for-Companies.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
Electronic commerce courselecture one. Pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Big Data Technologies - Introduction.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
sap open course for s4hana steps from ECC to s4
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Approach and Philosophy of On baking technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine learning based COVID-19 study performance prediction
Advanced methodologies resolving dimensionality complications for autism neur...
Unlocking AI with Model Context Protocol (MCP)
Agricultural_Statistics_at_a_Glance_2022_0.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
MIND Revenue Release Quarter 2 2025 Press Release

Overcoming write availability challenges of PostgreSQL

  • 1. Overcoming Write Availability Challenges of PostgreSQL Bhavani Rao, John Dalton Hosted by: Molly Halsey
  • 2. ● Slides and recording will be available in next 48 hours ● Submit questions via Zoom – will be answering at end Welcome
  • 3. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.3 Agenda ● High write availability ● Challenges with logical replication ● Solution ● Features and benefits ● Use cases ● Next steps
  • 4. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.4 High Availability Read Availability Write Availability What is write availability? • Redundant DB and infra for tolerating failures • Multiple levels of redundancy for higher avail HA architecture tailored to applications that have a high read to write ratio HA architecture designed for applications with a high write to read ratio
  • 5. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.5 Replication to active writable standby Write availability • Fast failover to secondary database • Application writing only to one database • Typically deployed within one region • Often required for financial applications M2M1 App Replication Connects to M2 when M1 fails
  • 6. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.6 • Provider: grounded in PostgreSQL, replication, or other DBMS tech • License: commercial or open source • Support: self, community, or vendor • Deployment: private, public, or multi- cloud, single or multi-region Database replication considerations Many factors to consider • Ecosystem: other database and systems in your enterprise infrastructure • Architecture: centralized or distributed • Change capture mechanism: invasive or extension • Replication method: physical or logical, batch or continuous
  • 7. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.7 • Fine-grained control over replicating changes to data objects, from selected rows to full database • Node can be on different versions of PostgreSQL • Bi-directional replication, supports writes to multiple database nodes • Interoperability with other database technologies using ANSI SQL standards Replication methods Logical • Binary data in write ahead logs (WAL) from all schemas in active DB sent to replicas byte for byte • Each node on same major PostgreSQL version • Application writes to active database are replicated to read only replicas • Asynchronous and synchronous replication supported Physical Best for Write AvailabilityBest for Read Availability
  • 8. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.8 Challenges with logical replication tools • Service must be co-located on same node as PostgreSQL server • Has single point of failure • Dependent on vendor provided or forked PostgreSQL • Limited to DML only changes • Difficult to scale horizontally
  • 9. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.9 • Vertical scalability is always limited • Horizontal scalability enables resiliency • Multiple redundant managed nodes enable service availability in case of a node failure • Scale replication node to workload independent of DB node workload Scalability and availability Distributing computing architecture as enabler Horizontal Increase number of instances Vertical Increase resource size for node
  • 11. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.11 Logical replication with EDB Replicate WHY HOW WHAT Protects data availability for mission critical applications to mitigate business risk EDB Replicate is built with Kafka to help eliminate single points of failure and provide high write- availability Provides a scalable, fault tolerant logical data replication for single- and multi-master replication use cases
  • 12. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.12 How EDB Replicate works • Each node can publish and subscribe to changes • Logical decoding of WAL identifies SQL level changes published via Kafka • If a node fails another will take over • Failed database resumes from last sync point, in case of conflicts last update wins • Anti-affinity deployment pattern is used, i.e., EDB Replicate not co-located on database node Availability Zone 1 Availability Zone 3 Availability Zone 2 App App App EDB Replicate 1 EDB Replicate 2 EDB Replicate 3 EDB Replicate 3 takes over on failure at EDB Replicate 2 Cloud Service Provider
  • 13. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.13 Software Architecture Apache Kafka Fault-tolerant distributed streaming replication Apache ZooKeeper Distributed configuration management Apache Avro Compressed data serialization and schema management Logical Decoding Logical change data capture component of Postgres database server Producer Streams from database to Kafka topic Consumer Streams from Kafka topic to database DB App CLI Logical Decoding EDB Replicate Consumer Producer ZooKeeperController Kafka Broker Topic Avro REST API
  • 14. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.14 Apache Kafka Open source stream-processing platform • De facto infrastructure standard for capturing and publishing events • Used to integrate enterprise processes and workflows • Kafka collects the ‘digital exhaust’ of an enterprise for ML and continuous intelligence • Distributed architecture provides fault tolerance
  • 15. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.15 Scalability and flexibility Feature Benefit • Horizontally scalable - add replication nodes (Kafka brokers) with no physical machine limits • Distributed - replication service is not co-located with the production database • Supports community PostgreSQL and EDB Postgres Advanced Server • Support different major versions of EDB Postgres Advanced Server or PostgreSQL in the same cluster • Increase processing horsepower to match replication workload without degrading database performance • Replication processes do not compete for the same resources as the PostgreSQL instance • Avoid vendor lock-in by using community PostgreSQL • Supports rolling upgrades with minimal/zero downtime
  • 16. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.16 Fault tolerance and performance Feature Benefit • Fault-tolerant - resistant to replication node/machine failure within a cluster • Supports bidirectional replication; writes on any node are replicated to other PostgreSQL nodes • End-to-end data compression with encryption - Avro data storage format and Kafka data compression • No single point of failure. No need to retain WAL logs when the replication node fails • Enables complex architectures with multiple masters, manages conflicts for data consistency • Reduces message size sent between cluster nodes, thereby reducing data latency
  • 17. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.17 Improves usability Feature Benefit • Add new DBs without seeding from production • Row-level filters • Multiple publications per DBs in same cluster • Email alerts based on thresholds, monitoring and centralized event tracking • High data availability without performance impact • Replication can be fine grained and integrate data from multiple DBs • Changes from multiple database table groupings can be replicated between DBs • Simplified maintenance of large clusters
  • 18. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.18 • Encrypted database connection • SCRAM and certificate-based authentication • ACL-based access control • PostgreSQL 9.6, 10, 11, 12 • RHEL 7 & 8 on x86-64 as RPMs • Bundled Kafka with compression options Additional capabilities Environmental • CLI configuration management • Insert, delete and row level update-update conflicts managed • Multiple publications per database • Row level filtering • Cascading replication • Offline snapshots Functional
  • 20. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.20 APAC EMEANA • Data availability for applications operating across multiple geographic regions • Updates must be to local region data only, ie, data model supports natural sharding • All regions have complete data set • Logistics applications are examples where data may be needed in multiple regions Geo-Distributed Minimize application latency for users M3M2M1 App App App Replication
  • 21. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.21 • For multiple applications with common reference data • Application of record maintains data in master database • Replicas are read only for reference data used by applications • Inventory applications are an example where product catalog reference data is needed at a retail store Data Distribution Accurate and consistent shared reference data R2MR1 App1 App2 App3 Replication
  • 23. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.23 EDB supercharges PostgreSQL Privately Held Major PostgreSQL community leader Over 5000 customers The largest provider of open-source PostgreSQL based software, services and support Founded in 2004 Over 10 years of consecutive quarterly subscription growth 500+ employees 16 offices worldwide
  • 24. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.24 CONFIDENTIAL News: EDB Acquires 2ndQuadrant Now the largest dedicated provider of PostgreSQL products and solutions worldwide Brings together world’s top PostgreSQL experts, combining two best-in-class technical teams +
  • 25. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.25 • Replication mitigates business risk by protecting data availability for mission critical applications • Modern PostgreSQL data replication must support the evolving multi-cloud needs of enterprises • EDB Replicate is designed for enterprise-class logical replication Summary
  • 26. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.26 Learn More Other resources EDB Replicate General Availability late October Postgres Pulse EDB Youtube Channel Contact EDB info@edbpostgres.com