Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PostgreSQL HA
Search
bjreath
November 21, 2012
Programming
0
210
PostgreSQL HA
bjreath
November 21, 2012
Tweet
Share
More Decks by bjreath
See All by bjreath
Object-Oriented Design
bjreath
2
140
The Rails View
bjreath
1
130
Other Decks in Programming
See All in Programming
AtCoder Conference 2025
shindannin
0
960
Python札幌 LT資料
t3tra
7
1.1k
AtCoder Conference 2025「LLM時代のAHC」
imjk
2
680
AIエージェントの設計で注意するべきポイント6選
har1101
6
3.2k
CSC307 Lecture 04
javiergs
PRO
0
650
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
0
870
Graviton と Nitro と私
maroon1st
0
170
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
370
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
2.2k
ThorVG Viewer In VS Code
nors
0
710
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
500
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
130
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
49
Code Review Best Practice
trishagee
74
19k
Ethics towards AI in product and experience design
skipperchong
2
180
KATA
mclloyd
PRO
33
15k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
75
30 Presentation Tips
portentint
PRO
1
190
Into the Great Unknown - MozCon
thekraken
40
2.2k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
140
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
890
Transcript
PostgreSQL Log Shipping Brian Reath CCI Systems, Inc. Wednesday, November
21, 12
HA Techniques • Shared Disk • File System Replication (DRBD)
• Transaction Log Shipping (WAL) Wednesday, November 21, 12
Log Shipping • Master - continuous archive mode • Slave(s)
- continuous recovery mode • warm standby • File-based versus streaming Wednesday, November 21, 12
Hot Standby • Allows standby servers to service read queries
• Useful for distributing read load across database servers • Asynchronous behavior may cause inconsistency across nodes Wednesday, November 21, 12
Node Promotion • pg_ctl promote • Virtual IPs • Heartbeat
/ Pacemaker • keepalived Wednesday, November 21, 12
Master-Slave with Rails • Master services all reads & writes
• Master writes & slaves read • Octopus gem • Round-robin read query assignment • Introduces complexities Wednesday, November 21, 12
References • PostgreSQL 9.2 Docs • Backup and Restore •
High Availability, Load Balancing, and Replication Wednesday, November 21, 12