SlideShare a Scribd company logo
27/1/2014

Confidential information, for internal use only

Various HA and
DR setups for
Postgres Plus
Advanced Server
Contents
Active – Passive OS HA Clustering
Log Shipping Replication (Hot Standby Mode)
Hot Streaming Replication (Hot Standby Mode)
EDB Postgres Plus Failover Manager
HA with read scaling (with pg-pool)
xDB Single Master Replication (SMR)
xDB Multi Master Replication (MMR)
Use Cases

Confidential information, for internal use only

•
•
•
•
•
•
•
•

2
Active – Passive OS HA Clustering

Confidential information, for internal use only

• Using OS Clustering
• Using a shared disk for data

3
File Based Log Shipping Replication (Hot Standby
Mode)

Confidential information, for internal use only

• Uses WAL (Write Ahead Log)
• Archived WAL is shipped to Hot
Standby Node
• Hot Standby node can be used
for read scalability

4
Hot Streaming Replication (Hot Standby Mode)

Confidential information, for internal use only

• Uses WAL (Write Ahead Log)
• WAL is continuously shipped
through an opened TCP
channel to Hot Standby Node
• Hot Standby node can be used
for read scalability

5
Agent
Agent
Confidential information, for internal use only

EDB Postgres Plus Failover Manager

6
Postgres Plus Failover Manager
•A solution to aid in the creation of highly
available configurations of Postgres
•Monitors the health of a Postgres HA
configuration

•Used in conjunction with Streaming
Replication

Master

Slave

CONFIDENTIAL
© 2011 EnterpriseDB. All rights reserved.

•Automates the failover process in the event
of a failure

Witness

7
HA with read scaling (with pg-pool)

Confidential information, for internal use only

• Using pg-pool
• Using redundant disk for data
• Hot Standby node can be used
for read scalability

8
xDB Single Master Replication (SMR)
Trigger based replication
Publication – Subscription
Snapshot and Continuous
Cascading Replication
Read Scalability
Master DB can be:
•
•
•

Confidential information, for internal use only

•
•
•
•
•
•

Oracle
MSSQL
Postgres Plus Advanced Server
9
• Trigger based replication
• 2 or more Masters can be Sync
• Auto Conflict Detection &
Resolution
• Read & Write Scalability

Confidential information, for internal use only

xDB Multi Master Replication (MMR)

10
11

Confidential information, for internal use only

More Related Content

What's hot (20)

PDF
Linux tuning to improve PostgreSQL performance
PostgreSQL-Consulting
 
PPTX
X-DB Replication Server and MMR
Ashnikbiz
 
PPTX
PostgreSQL and Linux Containers
Jignesh Shah
 
PPTX
PostgreSQL Hangout Parameter Tuning
Ashnikbiz
 
PPT
PostgreSQL9.3 Switchover/Switchback
Vibhor Kumar
 
PDF
Built-in Replication in PostgreSQL
Masao Fujii
 
PDF
Streaming Replication (Keynote @ PostgreSQL Conference 2009 Japan)
Masao Fujii
 
PDF
Deep Dive into RDS PostgreSQL Universe
Jignesh Shah
 
PDF
PostgreSQL replication
Masao Fujii
 
PDF
2016 may-countdown-to-postgres-v96-parallel-query
Ashnikbiz
 
DOCX
Master master vs master-slave database
Wipro
 
PDF
Best Practices with PostgreSQL on Solaris
Jignesh Shah
 
PDF
Tuning DB2 in a Solaris Environment
Jignesh Shah
 
PDF
hbaseconasia2017: Large scale data near-line loading method and architecture
HBaseCon
 
PDF
Overview of Postgres Utility Processes
EDB
 
PPT
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
Command Prompt., Inc
 
ODP
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Experts, Inc.
 
PDF
Geographically Distributed PostgreSQL
mason_s
 
PDF
My experience with embedding PostgreSQL
Jignesh Shah
 
PDF
hbaseconasia2017: HBase Disaster Recovery Solution at Huawei
HBaseCon
 
Linux tuning to improve PostgreSQL performance
PostgreSQL-Consulting
 
X-DB Replication Server and MMR
Ashnikbiz
 
PostgreSQL and Linux Containers
Jignesh Shah
 
PostgreSQL Hangout Parameter Tuning
Ashnikbiz
 
PostgreSQL9.3 Switchover/Switchback
Vibhor Kumar
 
Built-in Replication in PostgreSQL
Masao Fujii
 
Streaming Replication (Keynote @ PostgreSQL Conference 2009 Japan)
Masao Fujii
 
Deep Dive into RDS PostgreSQL Universe
Jignesh Shah
 
PostgreSQL replication
Masao Fujii
 
2016 may-countdown-to-postgres-v96-parallel-query
Ashnikbiz
 
Master master vs master-slave database
Wipro
 
Best Practices with PostgreSQL on Solaris
Jignesh Shah
 
Tuning DB2 in a Solaris Environment
Jignesh Shah
 
hbaseconasia2017: Large scale data near-line loading method and architecture
HBaseCon
 
Overview of Postgres Utility Processes
EDB
 
Building tungsten-clusters-with-postgre sql-hot-standby-and-streaming-replica...
Command Prompt., Inc
 
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Experts, Inc.
 
Geographically Distributed PostgreSQL
mason_s
 
My experience with embedding PostgreSQL
Jignesh Shah
 
hbaseconasia2017: HBase Disaster Recovery Solution at Huawei
HBaseCon
 

Similar to PostreSQL HA and DR Setup & Use Cases (20)

PPTX
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
xKinAnx
 
PPTX
Hadoop Architecture_Cluster_Cap_Plan
Narayana B
 
PPTX
HBase Operations and Best Practices
Venu Anuganti
 
PPTX
Red Hat Ceph Storage Acceleration Utilizing Flash Technology
Red_Hat_Storage
 
PDF
Is your Elastic Cluster Stable and Production Ready?
DoiT International
 
PDF
Tips and Tricks for SAP Sybase IQ
Don Brizendine
 
PPTX
Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
Red_Hat_Storage
 
PDF
Tuning Linux Windows and Firebird for Heavy Workload
Marius Adrian Popa
 
PPTX
Spectrum Scale Unified File and Object with WAN Caching
Sandeep Patil
 
PPTX
Software Defined Analytics with File and Object Access Plus Geographically Di...
Trishali Nayar
 
PPTX
AFM Configuration in GPFS or Spectrum Scale .pptx
g66b7yer1
 
PDF
Hive spark-s3acommitter-hbase-nfs
Yifeng Jiang
 
PPTX
In-memory Caching in HDFS: Lower Latency, Same Great Taste
DataWorks Summit
 
PPTX
Taking Splunk to the Next Level - Architecture Breakout Session
Splunk
 
PDF
Oracle db architecture
Simon Huang
 
ODP
Efficient data maintaince in GlusterFS using Databases
Joseph Elwin Fernandes
 
PDF
Red Hat Storage Server Administration Deep Dive
Red_Hat_Storage
 
PDF
Managing and Configuring Databases
Ram Kedem
 
PDF
Kafka tiered-storage-meetup-2022-final-presented
Sumant Tambe
 
PPTX
Ceph - High Performance Without High Costs
Jonathan Long
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
xKinAnx
 
Hadoop Architecture_Cluster_Cap_Plan
Narayana B
 
HBase Operations and Best Practices
Venu Anuganti
 
Red Hat Ceph Storage Acceleration Utilizing Flash Technology
Red_Hat_Storage
 
Is your Elastic Cluster Stable and Production Ready?
DoiT International
 
Tips and Tricks for SAP Sybase IQ
Don Brizendine
 
Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
Red_Hat_Storage
 
Tuning Linux Windows and Firebird for Heavy Workload
Marius Adrian Popa
 
Spectrum Scale Unified File and Object with WAN Caching
Sandeep Patil
 
Software Defined Analytics with File and Object Access Plus Geographically Di...
Trishali Nayar
 
AFM Configuration in GPFS or Spectrum Scale .pptx
g66b7yer1
 
Hive spark-s3acommitter-hbase-nfs
Yifeng Jiang
 
In-memory Caching in HDFS: Lower Latency, Same Great Taste
DataWorks Summit
 
Taking Splunk to the Next Level - Architecture Breakout Session
Splunk
 
Oracle db architecture
Simon Huang
 
Efficient data maintaince in GlusterFS using Databases
Joseph Elwin Fernandes
 
Red Hat Storage Server Administration Deep Dive
Red_Hat_Storage
 
Managing and Configuring Databases
Ram Kedem
 
Kafka tiered-storage-meetup-2022-final-presented
Sumant Tambe
 
Ceph - High Performance Without High Costs
Jonathan Long
 
Ad

More from Ashnikbiz (20)

PPTX
CloudOps_tool.pptx
Ashnikbiz
 
PPTX
Webinar_CloudOps final.pptx
Ashnikbiz
 
PPTX
Autoscaling in Kubernetes (K8s)
Ashnikbiz
 
PPTX
Why and how to use Kubernetes for scaling of your multi-tier (n-tier) appli...
Ashnikbiz
 
PDF
Zero trust in a multi tenant environment
Ashnikbiz
 
PPTX
Deploy and automate ‘Secrets Management’ for a multi-cloud environment
Ashnikbiz
 
PPTX
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
PPTX
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
PPTX
The Best Approach For Multi-cloud Infrastructure Provisioning-2
Ashnikbiz
 
PPTX
The Best Approach For Multi-cloud Infrastructure Provisioning
Ashnikbiz
 
PPTX
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
PPTX
Which PostgreSQL is right for your multi cloud strategy? P1
Ashnikbiz
 
PPTX
Reduce the complexities of managing Kubernetes clusters anywhere 2
Ashnikbiz
 
PPTX
Reduce the complexities of managing Kubernetes clusters anywhere
Ashnikbiz
 
PPTX
Enhance your multi-cloud application performance using Redis Enterprise P2
Ashnikbiz
 
PPTX
Enhance your multi-cloud application performance using Redis Enterprise P1
Ashnikbiz
 
PPTX
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
PPTX
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
PPTX
Enterprise-class security with PostgreSQL - 1
Ashnikbiz
 
PPTX
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
CloudOps_tool.pptx
Ashnikbiz
 
Webinar_CloudOps final.pptx
Ashnikbiz
 
Autoscaling in Kubernetes (K8s)
Ashnikbiz
 
Why and how to use Kubernetes for scaling of your multi-tier (n-tier) appli...
Ashnikbiz
 
Zero trust in a multi tenant environment
Ashnikbiz
 
Deploy and automate ‘Secrets Management’ for a multi-cloud environment
Ashnikbiz
 
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
Deploy, move and manage Postgres across cloud platforms
Ashnikbiz
 
The Best Approach For Multi-cloud Infrastructure Provisioning-2
Ashnikbiz
 
The Best Approach For Multi-cloud Infrastructure Provisioning
Ashnikbiz
 
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
Which PostgreSQL is right for your multi cloud strategy? P1
Ashnikbiz
 
Reduce the complexities of managing Kubernetes clusters anywhere 2
Ashnikbiz
 
Reduce the complexities of managing Kubernetes clusters anywhere
Ashnikbiz
 
Enhance your multi-cloud application performance using Redis Enterprise P2
Ashnikbiz
 
Enhance your multi-cloud application performance using Redis Enterprise P1
Ashnikbiz
 
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
Gain multi-cloud versatility with software load balancing designed for cloud-...
Ashnikbiz
 
Enterprise-class security with PostgreSQL - 1
Ashnikbiz
 
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
Ad

Recently uploaded (20)

PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 

PostreSQL HA and DR Setup & Use Cases

  • 1. 27/1/2014 Confidential information, for internal use only Various HA and DR setups for Postgres Plus Advanced Server
  • 2. Contents Active – Passive OS HA Clustering Log Shipping Replication (Hot Standby Mode) Hot Streaming Replication (Hot Standby Mode) EDB Postgres Plus Failover Manager HA with read scaling (with pg-pool) xDB Single Master Replication (SMR) xDB Multi Master Replication (MMR) Use Cases Confidential information, for internal use only • • • • • • • • 2
  • 3. Active – Passive OS HA Clustering Confidential information, for internal use only • Using OS Clustering • Using a shared disk for data 3
  • 4. File Based Log Shipping Replication (Hot Standby Mode) Confidential information, for internal use only • Uses WAL (Write Ahead Log) • Archived WAL is shipped to Hot Standby Node • Hot Standby node can be used for read scalability 4
  • 5. Hot Streaming Replication (Hot Standby Mode) Confidential information, for internal use only • Uses WAL (Write Ahead Log) • WAL is continuously shipped through an opened TCP channel to Hot Standby Node • Hot Standby node can be used for read scalability 5
  • 6. Agent Agent Confidential information, for internal use only EDB Postgres Plus Failover Manager 6
  • 7. Postgres Plus Failover Manager •A solution to aid in the creation of highly available configurations of Postgres •Monitors the health of a Postgres HA configuration •Used in conjunction with Streaming Replication Master Slave CONFIDENTIAL © 2011 EnterpriseDB. All rights reserved. •Automates the failover process in the event of a failure Witness 7
  • 8. HA with read scaling (with pg-pool) Confidential information, for internal use only • Using pg-pool • Using redundant disk for data • Hot Standby node can be used for read scalability 8
  • 9. xDB Single Master Replication (SMR) Trigger based replication Publication – Subscription Snapshot and Continuous Cascading Replication Read Scalability Master DB can be: • • • Confidential information, for internal use only • • • • • • Oracle MSSQL Postgres Plus Advanced Server 9
  • 10. • Trigger based replication • 2 or more Masters can be Sync • Auto Conflict Detection & Resolution • Read & Write Scalability Confidential information, for internal use only xDB Multi Master Replication (MMR) 10
  • 11. 11 Confidential information, for internal use only