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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
bjreath
November 21, 2012
Programming
220
0
Share
PostgreSQL HA
bjreath
November 21, 2012
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
20260514_its_the_context_window_stupid.pdf
heita
0
1k
AgentCore Optimizationを始めよう!
licux
3
240
関係性から理解する"同一性"の型用語たち
pvcresin
1
170
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.6k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
3
490
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
0
210
継続的な負荷検証を目指して
pyama86
3
1.2k
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
450
ハーネスエンジニアリングとは?
kinopeee
13
7.1k
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
2
140
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
140
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.7k
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.7k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
Navigating Weather and Climate Data
rabernat
0
190
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
370
The Invisible Side of Design
smashingmag
302
52k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Designing for Timeless Needs
cassininazir
1
220
Six Lessons from altMBA
skipperchong
29
4.2k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
360
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