SlideShare a Scribd company logo
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.
How to Design for Database
High Availability
Vibhor Kumar, Chief Performance Architect
Marc Linster, Senior Vice President of Product
Development
Bruce Momjian, Postgres Evangelist
1
Welcome – Housekeeping
Items
• Slides and recording will be available in next 48 hours
• Submit questions via GotoWebinar – will be answering at end
• We will be sharing info about EDB and Postgres later
2
Webinar Series
3
April 29 2020 My Favorite Postgres books
May 13 2020
Database Administration for
Postgres
June 3 2020
New Approaches to Integrating
Oracle and Postgres Database
Strategies
June 17 2020 How to Design for Database
High Availability
July 15 2020 Using the Postgres Tuning
Wizard in PEM
Every other Monday at
8:00 AM PDT/ 11:00 AM EDT
16:00 BST/ 17:00 CET
https://www.enterprisedb.com/postgres-pulse
Agenda
● Evolution of replication in Postgres
○ Streaming replication
○ Logical replication
● Replication for high availability
● Important high availability parameters
● Monitor high availability
● Patch the database with minimal downtime
● EDB Postgres Failover Manager (EFM)
● EDB tools to create a highly available Postgres architecture
4
High Availability
5
High Availability
High availability (HA) is a characteristic of a system, which aims to ensure an
agreed level of operational performance, usually uptime, for a higher than normal
period.
● Key Principles
○ Eliminate single point of failure
○ Reliable crossover
○ Detection of failures
6
● RPO – Recovery Point Objective
○ How much data can I lose?
○ Ex: RPO = 2 hours 🡺 In case of a crash
I may forget everything that I did in the
last 2 hours!
● RTO - Recovery Time Objective
○ How much time do I have to recover the
database after a crash?
○ Includes:
■ Load the initial backup
■ Play back the WAL files
Key Metrics for HA/DR
7
● MTTR - Mean Time to Recovery
○ On average – how long will RTO be
○ More WAL files to re-play if the last full backup was a
long time ago
● GRO – Geographic Recovery Objective
○ If my datacenter becomes unavailable, how long will
it take for the service to become available again?
● Maintenance Windows
○ How many hours of planned maintenance per year?
Evolution of Replication in Postgres
8
PostgreSQL 7.x (~2000)
● Replication should not be part of
core Postgres
● Londiste – Slony (trigger based
logical replication)
PostgreSQL 8.0 (~2005)
● Point-In-Time Recovery (WAL)
PostgreSQL 9.4 (~2014)
● Logical Decoding (changeset
extraction)
PostgreSQL 9.0 (~2010)
● Streaming Replication (physical)
PostgreSQL 8.2 (~2006)
● Warm Standby
● EFM for
High Availability
9
Eliminate Single Point of Failure
Eliminate Single Point of
Failure
● WAL shipping based replication
○ Replication based on the archived WAL
● Streaming replication (SR)
○ Streaming WAL files to one or more standbys
● Logical replication
○ Streaming logical data modifications from the WAL.
10
Hot Standby
● Identical to primary system
○ Data is still mirrored in real time
○ Allows READ
○ On failure, can replace primary
● Approaches
○ WAL shipping based
○ Streaming WAL (widely used after 9.0)
11
Hot Standby: WAL Shipping
12
Monitor: WAL Shipping
● Functions on standby
○ pg_is_in_recovery()
○ pg_last_xlog/wal_replay_location/lsn()
○ pg_last_xact_replay_timestamp()
13
Hot standby: Streaming WAL
14
Streaming Replication
● Asynchronous Streaming Replication
● Synchronous Streaming Replication
○ synchronous_standby_names
■ e.g.
■ FIRST 1 (standby_east, standby_west)
■ ANY 3 (standby_east, standby_west, eu_standby_east,
eu_standby_west)
■ 'standby_east, standby_west'
○ synchronous_commit - off/local/remote_write/on/remote_apply
15
Monitor: Streaming Replication
● Views
○ Master: pg_stat_replication
○ Standby: pg_wal_receiver
16
High Availability
17
Reliable Crossover & Detection
18
EDB POSTGRES FAILOVER
MANAGER (EFM)
Protect Your Mission
Critical Applications
from Costly Outages
High Availability
Infrastructure for
EDB Postgres Clusters
Ensure Data Remains
Available in the
Event of a Failure
ELIMINATE SINGLE
POINTS OF FAILURE
DETECTS AND
AUTOMATES FAILOVER
PEACE OF MIND FAILOVER
WILL BE INITIATED
19
Streaming
Replication &
EFM
High Availability
20
Software Updates/Patching
Software Updates: Postgres H.A.
cluster
● Three reasons for software updates
○ Remedy known software issues
○ General stability and reliability of the software
○ Security problem
21
Software Updates: Strategies
● Three strategies
○ All Nodes Patching
○ Rolling Patching
○ Minimum Downtime Patching
22
High Availability
23
Postgres H.A Architecture
USE CASE - Architecture
24
Highly Available Postgres Cluster with Automatic Failover, Backups and Monitoring enabled
High Availability & Resiliency
• Master & Replica spread across
• Failover to most recent standby
• Reconfigure remaining standby to the new
master
• Allow switching the roles of Master-standby
Monitoring, Alerting & Tuning
• Monitor multiple database servers with intuitive
dashboards, email, SNMP alerts, and rich APIs
• Alerts on load, bloat, memory utilization,
server/agent down
• Track slow queries, analyze and tune it
Backup & Recovery
• Fast Backups and trouble free Disaster Recovery
Architecture
Conclusion
● High Availability components
○ Hot Standby (Streaming Replication)
○ EDB Postgres Failover Manager
○ Postgres Enterprise Manager
● Design consideration
○ Near zero downtime software maintenance
○ RPO/RTO/GRO
25
Resources
Blog series
● What Does High Availability Really Mean
● Patching Minor Version in Postgres High Availability (HA) Database Cluster
● Plans & Strategies for DBAs
● Key Parameters and Configuration for Streaming Replication in Postgres 12
● Quick and Reliable Failure Detection with EDB Postgres Failover Manager
26
ONLY OPEN
SOURCE BASED
RDBMS IN
GARTNER MQ
EDB Recognized 7 Years
In A Row on Gartner’s
Magic Quadrant
27
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2020. All rights reserved.
28
Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB.
OVER 4,000 CUSTOMERS
U.S Customers
EMEA Customers APAC Customers
102
of the Fortune
500
337
of the Forbes
Global 2000
EDB OPEN SOURCE LEADERSHIP
NAMED EDB OPEN SOURCE COMMITTERS AND CONTRIBUTORS
29
● CORE TEAM
● ● ●
● MAJOR CONTRIBUTORS ● CONTRIBUTORS
Akshay
Joshi
Amul
Sul
Ashesh
Vashi
Dilip
Kumar
Jeevan
Ladhe
Mithun
Cy
Devrim
Gündüz
Amit
Kapila
Bruce
Momjian
Dave
Page
Robert
Haas
Ashutosh
Sharma
Rushabh
Lathia
- designates committers
30
EDB Postgres Database
24/7 Global Support
Professional Services Postgres Contributions
Tools & Innovation Security/performance
How to Design for Database High Availability
© Copyright EnterpriseDB Corporation, 2020. All rights reserved.32
THANK YOU
info@enterprisedb.com
www.enterprisedb.com

More Related Content

What's hot (20)

PPTX
PostgreSQL as a Strategic Tool
EDB
 
PPTX
Installing Postgres on Linux
EDB
 
PPTX
Automating a PostgreSQL High Availability Architecture with Ansible
EDB
 
PPTX
Database Dumps and Backups
EDB
 
PPTX
The Need For Speed - Strategies to Modernize Your Data Center
EDB
 
PPTX
Why you should use native packages to install PostgreSQL on Linux
EDB
 
PPTX
Webinar: Managing Postgres at Scale
EDB
 
PPTX
An overview of reference architectures for Postgres
EDB
 
PPTX
New enhancements for security and usability in EDB 13
EDB
 
PDF
Best Practices in Security with PostgreSQL
EDB
 
PPTX
An overview of reference architectures for Postgres
EDB
 
PDF
Making your PostgreSQL Database Highly Available
EDB
 
PPTX
Automating Postgres Deployments on AWS and VMware, with Terraform and Ansible
EDB
 
PDF
Remote DBA Service: Powering your DBA needs
EDB
 
PDF
Using PEM to understand and improve performance in Postgres: Postgres Tuning ...
EDB
 
PPTX
PostgreSQL 12: What is coming up?, Enterprise Postgres Day
EDB
 
PDF
Beginner's Guide to High Availability for Postgres
EDB
 
PPTX
Migration DB2 to EDB - Project Experience
EDB
 
PDF
EDB Failover Manager - Features and Demo
EDB
 
PPTX
OLTP+OLAP=HTAP
EDB
 
PostgreSQL as a Strategic Tool
EDB
 
Installing Postgres on Linux
EDB
 
Automating a PostgreSQL High Availability Architecture with Ansible
EDB
 
Database Dumps and Backups
EDB
 
The Need For Speed - Strategies to Modernize Your Data Center
EDB
 
Why you should use native packages to install PostgreSQL on Linux
EDB
 
Webinar: Managing Postgres at Scale
EDB
 
An overview of reference architectures for Postgres
EDB
 
New enhancements for security and usability in EDB 13
EDB
 
Best Practices in Security with PostgreSQL
EDB
 
An overview of reference architectures for Postgres
EDB
 
Making your PostgreSQL Database Highly Available
EDB
 
Automating Postgres Deployments on AWS and VMware, with Terraform and Ansible
EDB
 
Remote DBA Service: Powering your DBA needs
EDB
 
Using PEM to understand and improve performance in Postgres: Postgres Tuning ...
EDB
 
PostgreSQL 12: What is coming up?, Enterprise Postgres Day
EDB
 
Beginner's Guide to High Availability for Postgres
EDB
 
Migration DB2 to EDB - Project Experience
EDB
 
EDB Failover Manager - Features and Demo
EDB
 
OLTP+OLAP=HTAP
EDB
 

Similar to How to Design for Database High Availability (20)

PDF
Beginner's Guide to High Availability for Postgres - French
EDB
 
PPTX
Beginners Guide to High Availability for Postgres
EDB
 
PDF
PostgreSQL HA
haroonm
 
PPTX
High Availability and Disaster Recovery in PostgreSQL - EQUNIX
Julyanto SUTANDANG
 
PDF
Creating customized openSUSE versions with SUSE Studio
elliando dias
 
PDF
Postgres in Production - Best Practices 2014
EDB
 
PDF
What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...
ScaleGrid.io
 
PDF
PostgreSQL High Availability in a Containerized World
Jignesh Shah
 
PDF
Best Practices for a Complete Postgres Enterprise Architecture Setup
EDB
 
PDF
Why MySQL High Availability Matters
Matt Lord
 
PDF
Architecture for building scalable and highly available Postgres Cluster
Ashnikbiz
 
PPTX
HA & DR System Design - Concepts and Solution
Continuity and Resilience
 
PDF
PostgreSQL High Availability in a Containerized World
Jignesh Shah
 
PDF
Top 10 Tips for an Effective Postgres Deployment
EDB
 
PDF
EDB Postgres Failover Manager
EDB
 
PDF
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
Jignesh Shah
 
PDF
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
VMware Tanzu
 
PDF
Planning For Catastrophe with IBM WAS and IBM BPM
WASdev Community
 
PDF
Tapping into New Postgres Resources with Remote DBAs
EDB
 
PPT
2007-05-23 Cecchet_PGCon2007.ppt
nadirpervez2
 
Beginner's Guide to High Availability for Postgres - French
EDB
 
Beginners Guide to High Availability for Postgres
EDB
 
PostgreSQL HA
haroonm
 
High Availability and Disaster Recovery in PostgreSQL - EQUNIX
Julyanto SUTANDANG
 
Creating customized openSUSE versions with SUSE Studio
elliando dias
 
Postgres in Production - Best Practices 2014
EDB
 
What’s the Best PostgreSQL High Availability Framework? PAF vs. repmgr vs. Pa...
ScaleGrid.io
 
PostgreSQL High Availability in a Containerized World
Jignesh Shah
 
Best Practices for a Complete Postgres Enterprise Architecture Setup
EDB
 
Why MySQL High Availability Matters
Matt Lord
 
Architecture for building scalable and highly available Postgres Cluster
Ashnikbiz
 
HA & DR System Design - Concepts and Solution
Continuity and Resilience
 
PostgreSQL High Availability in a Containerized World
Jignesh Shah
 
Top 10 Tips for an Effective Postgres Deployment
EDB
 
EDB Postgres Failover Manager
EDB
 
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
Jignesh Shah
 
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
VMware Tanzu
 
Planning For Catastrophe with IBM WAS and IBM BPM
WASdev Community
 
Tapping into New Postgres Resources with Remote DBAs
EDB
 
2007-05-23 Cecchet_PGCon2007.ppt
nadirpervez2
 
Ad

More from EDB (20)

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

Recently uploaded (20)

PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
July Patch Tuesday
Ivanti
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
July Patch Tuesday
Ivanti
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 

How to Design for Database High Availability

  • 1. © Copyright EnterpriseDB Corporation, 2020. All rights reserved. How to Design for Database High Availability Vibhor Kumar, Chief Performance Architect Marc Linster, Senior Vice President of Product Development Bruce Momjian, Postgres Evangelist 1
  • 2. Welcome – Housekeeping Items • Slides and recording will be available in next 48 hours • Submit questions via GotoWebinar – will be answering at end • We will be sharing info about EDB and Postgres later 2
  • 3. Webinar Series 3 April 29 2020 My Favorite Postgres books May 13 2020 Database Administration for Postgres June 3 2020 New Approaches to Integrating Oracle and Postgres Database Strategies June 17 2020 How to Design for Database High Availability July 15 2020 Using the Postgres Tuning Wizard in PEM Every other Monday at 8:00 AM PDT/ 11:00 AM EDT 16:00 BST/ 17:00 CET https://www.enterprisedb.com/postgres-pulse
  • 4. Agenda ● Evolution of replication in Postgres ○ Streaming replication ○ Logical replication ● Replication for high availability ● Important high availability parameters ● Monitor high availability ● Patch the database with minimal downtime ● EDB Postgres Failover Manager (EFM) ● EDB tools to create a highly available Postgres architecture 4
  • 6. High Availability High availability (HA) is a characteristic of a system, which aims to ensure an agreed level of operational performance, usually uptime, for a higher than normal period. ● Key Principles ○ Eliminate single point of failure ○ Reliable crossover ○ Detection of failures 6
  • 7. ● RPO – Recovery Point Objective ○ How much data can I lose? ○ Ex: RPO = 2 hours 🡺 In case of a crash I may forget everything that I did in the last 2 hours! ● RTO - Recovery Time Objective ○ How much time do I have to recover the database after a crash? ○ Includes: ■ Load the initial backup ■ Play back the WAL files Key Metrics for HA/DR 7 ● MTTR - Mean Time to Recovery ○ On average – how long will RTO be ○ More WAL files to re-play if the last full backup was a long time ago ● GRO – Geographic Recovery Objective ○ If my datacenter becomes unavailable, how long will it take for the service to become available again? ● Maintenance Windows ○ How many hours of planned maintenance per year?
  • 8. Evolution of Replication in Postgres 8 PostgreSQL 7.x (~2000) ● Replication should not be part of core Postgres ● Londiste – Slony (trigger based logical replication) PostgreSQL 8.0 (~2005) ● Point-In-Time Recovery (WAL) PostgreSQL 9.4 (~2014) ● Logical Decoding (changeset extraction) PostgreSQL 9.0 (~2010) ● Streaming Replication (physical) PostgreSQL 8.2 (~2006) ● Warm Standby ● EFM for
  • 10. Eliminate Single Point of Failure ● WAL shipping based replication ○ Replication based on the archived WAL ● Streaming replication (SR) ○ Streaming WAL files to one or more standbys ● Logical replication ○ Streaming logical data modifications from the WAL. 10
  • 11. Hot Standby ● Identical to primary system ○ Data is still mirrored in real time ○ Allows READ ○ On failure, can replace primary ● Approaches ○ WAL shipping based ○ Streaming WAL (widely used after 9.0) 11
  • 12. Hot Standby: WAL Shipping 12
  • 13. Monitor: WAL Shipping ● Functions on standby ○ pg_is_in_recovery() ○ pg_last_xlog/wal_replay_location/lsn() ○ pg_last_xact_replay_timestamp() 13
  • 15. Streaming Replication ● Asynchronous Streaming Replication ● Synchronous Streaming Replication ○ synchronous_standby_names ■ e.g. ■ FIRST 1 (standby_east, standby_west) ■ ANY 3 (standby_east, standby_west, eu_standby_east, eu_standby_west) ■ 'standby_east, standby_west' ○ synchronous_commit - off/local/remote_write/on/remote_apply 15
  • 16. Monitor: Streaming Replication ● Views ○ Master: pg_stat_replication ○ Standby: pg_wal_receiver 16
  • 18. 18 EDB POSTGRES FAILOVER MANAGER (EFM) Protect Your Mission Critical Applications from Costly Outages High Availability Infrastructure for EDB Postgres Clusters Ensure Data Remains Available in the Event of a Failure ELIMINATE SINGLE POINTS OF FAILURE DETECTS AND AUTOMATES FAILOVER PEACE OF MIND FAILOVER WILL BE INITIATED
  • 21. Software Updates: Postgres H.A. cluster ● Three reasons for software updates ○ Remedy known software issues ○ General stability and reliability of the software ○ Security problem 21
  • 22. Software Updates: Strategies ● Three strategies ○ All Nodes Patching ○ Rolling Patching ○ Minimum Downtime Patching 22
  • 24. USE CASE - Architecture 24 Highly Available Postgres Cluster with Automatic Failover, Backups and Monitoring enabled High Availability & Resiliency • Master & Replica spread across • Failover to most recent standby • Reconfigure remaining standby to the new master • Allow switching the roles of Master-standby Monitoring, Alerting & Tuning • Monitor multiple database servers with intuitive dashboards, email, SNMP alerts, and rich APIs • Alerts on load, bloat, memory utilization, server/agent down • Track slow queries, analyze and tune it Backup & Recovery • Fast Backups and trouble free Disaster Recovery Architecture
  • 25. Conclusion ● High Availability components ○ Hot Standby (Streaming Replication) ○ EDB Postgres Failover Manager ○ Postgres Enterprise Manager ● Design consideration ○ Near zero downtime software maintenance ○ RPO/RTO/GRO 25
  • 26. Resources Blog series ● What Does High Availability Really Mean ● Patching Minor Version in Postgres High Availability (HA) Database Cluster ● Plans & Strategies for DBAs ● Key Parameters and Configuration for Streaming Replication in Postgres 12 ● Quick and Reliable Failure Detection with EDB Postgres Failover Manager 26
  • 27. ONLY OPEN SOURCE BASED RDBMS IN GARTNER MQ EDB Recognized 7 Years In A Row on Gartner’s Magic Quadrant 27 CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2020. All rights reserved.
  • 28. 28 Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB. OVER 4,000 CUSTOMERS U.S Customers EMEA Customers APAC Customers 102 of the Fortune 500 337 of the Forbes Global 2000
  • 29. EDB OPEN SOURCE LEADERSHIP NAMED EDB OPEN SOURCE COMMITTERS AND CONTRIBUTORS 29 ● CORE TEAM ● ● ● ● MAJOR CONTRIBUTORS ● CONTRIBUTORS Akshay Joshi Amul Sul Ashesh Vashi Dilip Kumar Jeevan Ladhe Mithun Cy Devrim Gündüz Amit Kapila Bruce Momjian Dave Page Robert Haas Ashutosh Sharma Rushabh Lathia - designates committers
  • 30. 30 EDB Postgres Database 24/7 Global Support Professional Services Postgres Contributions Tools & Innovation Security/performance
  • 32. © Copyright EnterpriseDB Corporation, 2020. All rights reserved.32 THANK YOU [email protected] www.enterprisedb.com