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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
daichi
September 25, 2024
Programming
0
120
PostgreSQLの ロジカルレプリケーションを利用してみる
PostgreSQLについてとロジカルレプリケーションを利用してみる
daichi
September 25, 2024
Tweet
Share
More Decks by daichi
See All by daichi
Agent Skillsを 正しく活用する
daikin555
0
110
データベースエンジニアの仕事と魅力
daikin555
0
78
Other Decks in Programming
See All in Programming
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
260
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
390
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
260
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.1k
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
500
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
530
AI主導でFastAPIのWebサービスを作るときに 人間が構造化すべき境界線
okajun35
0
670
15年目のiOSアプリを1から作り直す技術
teakun
1
620
CSC307 Lecture 13
javiergs
PRO
0
320
TipKitTips
ktcryomm
0
160
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
210
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
170
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
A Soul's Torment
seathinner
5
2.4k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
220
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
380
Writing Fast Ruby
sferik
630
63k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
350
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
77
A better future with KSS
kneath
240
18k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Chasing Engaging Ingredients in Design
codingconduct
0
140
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