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のロジカルレプリケーションを利用してみる
Search
daichi
September 25, 2024
Programming
0
82
PostgreSQLの ロジカルレプリケーションを利用してみる
PostgreSQLについてとロジカルレプリケーションを利用してみる
daichi
September 25, 2024
Tweet
Share
More Decks by daichi
See All by daichi
データベースエンジニアの仕事と魅力
daikin555
0
68
Other Decks in Programming
See All in Programming
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
500
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
260
git worktree × Claude Code × MCP ~生成AI時代の並列開発フロー~
hisuzuya
1
530
Select API from Kotlin Coroutine
jmatsu
1
220
5つのアンチパターンから学ぶLT設計
narihara
1
150
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
690
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
390
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
50
32k
関数型まつりレポート for JuliaTokai #22
antimon2
0
160
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
120
VS Code Update for GitHub Copilot
74th
2
600
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
180
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Six Lessons from altMBA
skipperchong
28
3.9k
Making Projects Easy
brettharned
116
6.3k
Faster Mobile Websites
deanohume
307
31k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
GraphQLとの向き合い方2022年版
quramy
49
14k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Documentation Writing (for coders)
carmenintech
72
4.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
125
52k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Transcript
PostgreSQLの ロジカルレプリケーションを 利用してみる EXPLORING DATA SYNCHRONIZATION WITH POSTGRESQL LOGICAL REPLICATION
伊藤 大地(いとうだいち) ディップ株式会社所属のDBエンジニア 先日、北海道フルマラソンに出ました が20kmでタイムアウト
PostgreSQLについて
PostgreSQL(ポストグレエスキューエル) Postgreプロジェクト
ロジカルレプリケーション について
高可用化と負荷分散 画像引用:https://www.fujitsu.com/jp/products/software/resources/feature- stories/postgres/article-index/logical-replication-tutorial/
ストリーミングレプリケーション との違い
画像引用:https://www.fujitsu.com/jp/products/software/resources/feature- stories/postgres/article-index/logical-replication-tutorial/
AWS EC2とAurora PostgreSQL ロジカルレプリケーションの設定方法
postgresql.confとpg_hba.confの設定更新 パブリッシャーの作成 カスタムクラスターパラメータグループの更新 サブスクライバーの作成 EC2 Aurora
実際にやってみる
躓いたこと
pglogicalと組み込みロジカルレプリケーションがあること https://github.com/2ndQuadrant/pglogical https://www.postgresql.jp/docs/15/logical- replication-quick-setup.html