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
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
970
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
550
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
Oxlint JS plugins
kazupon
1
810
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
「ブロックテーマでは再現できない」は本当か?
inc2734
0
790
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
1.1k
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
190
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
180
GitHub's CSS Performance
jonrohan
1032
470k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
200
How to Ace a Technical Interview
jacobian
281
24k
Color Theory Basics | Prateek | Gurzu
gurzu
0
190
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Navigating Team Friction
lara
192
16k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
320
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
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