Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PostgreSQL HA
Search
bjreath
November 21, 2012
Programming
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PostgreSQL HA
bjreath
November 21, 2012
More Decks by bjreath
See All by bjreath
Object-Oriented Design
bjreath
2
150
The Rails View
bjreath
1
130
Other Decks in Programming
See All in Programming
残高管理から台帳サービスへの進化
artoy
1
200
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
142
7.8k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
The Language of Interfaces
destraynor
162
27k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
エンジニアに許された特別な時間の終わり
watany
109
250k
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