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
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
140
The Rails View
bjreath
1
130
Other Decks in Programming
See All in Programming
AIで効率化できた業務・日常
ochtum
0
160
Performance Engineering for Everyone
elenatanasoiu
0
240
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
1
590
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
260
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
7.1k
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
250
LaravelLive Japan の裏方のすべて — 第188回 PHP勉強会@東京 (2026-06-24)
suguruooki
2
140
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.4k
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
120
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.7k
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
210
Lessons from Spec-Driven Development
simas
PRO
0
230
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
160
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Paper Plane
katiecoart
PRO
1
52k
Writing Fast Ruby
sferik
630
63k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
380
How to train your dragon (web standard)
notwaldorf
97
6.7k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Building Applications with DynamoDB
mza
96
7.1k
How to Ace a Technical Interview
jacobian
281
24k
Practical Orchestrator
shlominoach
191
11k
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