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

What's hot

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

What's hot (20)

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

Similar to Overcoming write availability challenges of PostgreSQL

Optimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & ControlOptimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & Control
EDB
 
Advanced Database Patterns for Kubernetes
Advanced Database Patterns for KubernetesAdvanced Database Patterns for Kubernetes
Advanced Database Patterns for Kubernetes
EDB
 
Powerplay: Postgres and Lenovo for the Best Performance & Savings
Powerplay: Postgres and Lenovo for the Best Performance & SavingsPowerplay: Postgres and Lenovo for the Best Performance & Savings
Powerplay: Postgres and Lenovo for the Best Performance & Savings
EDB
 
New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019
EDB
 
SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1SQL PASS Taiwan 七月份聚會-1
SQL PASS Taiwan 七月份聚會-1
SQLPASSTW
 
Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroliOptymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
Optymalizacja środowiska Open Source w celu zwiększenia oszczędności i kontroli
EDB
 
Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open Source
EDB
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnikbiz
 
Rising Interest in Open Source Relational Databases
Rising Interest in Open Source Relational DatabasesRising Interest in Open Source Relational Databases
Rising Interest in Open Source Relational Databases
Christopher Foot
 
Running Production CDC Ingestion Pipelines With Balaji Varadarajan and Pritam...
Running Production CDC Ingestion Pipelines With Balaji Varadarajan and Pritam...Running Production CDC Ingestion Pipelines With Balaji Varadarajan and Pritam...
Running Production CDC Ingestion Pipelines With Balaji Varadarajan and Pritam...
HostedbyConfluent
 
Which PostgreSQL is right for your multi cloud strategy? P2
Which PostgreSQL is right for your multi cloud strategy? P2Which PostgreSQL is right for your multi cloud strategy? P2
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
Save money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxSave money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinux
EDB
 
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed ServiceCloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
VMware Tanzu
 
YARN Ready: Integrating to YARN with Tez
YARN Ready: Integrating to YARN with Tez YARN Ready: Integrating to YARN with Tez
YARN Ready: Integrating to YARN with Tez
Hortonworks
 
Break Free from Oracle
Break Free from OracleBreak Free from Oracle
Break Free from Oracle
EDB
 
2014.07.11 biginsights data2014
2014.07.11 biginsights data20142014.07.11 biginsights data2014
2014.07.11 biginsights data2014
Wilfried Hoge
 
Hpc lunch and learn
Hpc lunch and learnHpc lunch and learn
Hpc lunch and learn
John D Almon
 
Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...
Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...
Scaling out Driverless AI with IBM Spectrum Conductor - Kevin Doyle - H2O AI ...
Sri Ambati
 
Database Virtualization: The Next Wave of Big Data
Database Virtualization: The Next Wave of Big DataDatabase Virtualization: The Next Wave of Big Data
Database Virtualization: The Next Wave of Big Data
exponential-inc
 

Similar to Overcoming write availability challenges of PostgreSQL (20)

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

More from EDB

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

More from EDB (20)

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

Recently uploaded

AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
Vadym Kazulkin
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 

Recently uploaded (20)

AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 

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