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
POLARDB を試してみた話(+おまけの話)
Search
hmatsu47
PRO
December 16, 2019
Technology
840
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
POLARDB を試してみた話(+おまけの話)
Alibaba Cloud の ApsaraDB for POLARDB を試してみた
(第二回 DB勉強会 in 愛知@名古屋ギークバー 2019/12/16 LT)
hmatsu47
PRO
December 16, 2019
More Decks by hmatsu47
See All by hmatsu47
中小企業に就職して転職せず30年。結果どうなった?
hmatsu47
PRO
0
91
JAWS ミート 2026 の「出し物」のゲームを Kiro と AI-DLC v2 で作った話
hmatsu47
PRO
0
23
ゲームで挑戦!VPC の気持ちになって IPv4/v6 パケットをルーティングしよう!
hmatsu47
PRO
0
31
続・名古屋城とデータセンター
hmatsu47
PRO
0
29
【再演】IPv6 VPC の実装パターンをいくつか
hmatsu47
PRO
0
34
名古屋城とデータセンター
hmatsu47
PRO
0
42
IPv6 に関する話
hmatsu47
PRO
0
32
さいきんの光ファイバーの話
hmatsu47
PRO
0
77
低いほうのレイヤを見てみる話
hmatsu47
PRO
0
36
Other Decks in Technology
See All in Technology
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
140
20260929_AmazonGuardDutyの検出通知メールにAWS DevOpsAgentの調査結果を追加する
yhana
1
420
ファミコンでPHPを動かす / PHP on the Famicom side b
tomzoh
0
100
企業の現実世界をグラフで写し取る
sansantech
PRO
0
250
[2026 Oracle Technical Deep Dive] オンプレミスDBのCloud移行アプローチ:移行計画に基づくメソッドとツールの選択 (2026年9月17日開催)
oracle4engineer
PRO
0
110
『GOエコノミー 』(相乗りサービス) におけるスペック駆動開発
mot_techtalk
1
250
自律型 AI をセキュアに実装!Gemini と MIG で作る動的コード実行環境
recruitengineers
PRO
1
130
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
120
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
240
AI Made Us Faster at Solving the Wrong Problems
marceloancelmo
0
150
HacobuにおけるFDEとは/登壇資料(戸井田 裕貴)
hacobu
PRO
1
720
SDDの運用にめげずに向き合った話
sansantech
PRO
0
110
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
340
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
290
Practical Orchestrator
shlominoach
192
12k
Typedesign – Prime Four
hannesfritz
42
3.2k
We Have a Design System, Now What?
morganepeng
55
8.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
430
Side Projects
sachag
456
43k
Transcript
POLARDB を試してみた話 (+おまけの話) 第二回 DB勉強会 in 愛知@ 名古屋ギークバー 2019/12/16 まつひさ(hmatsu47)
POLARDB とは? Alibaba Cloud が「次世代 RDB」として提供している マネージドサービスです(ApsaraDB for POLARDB) https://www.alibabacloud.com/ja/products/apsaradb-for-polardb
2
POLARDB とは? MySQL 互換版(5.6 / 8.0)と PostgreSQL 互換版(11)、 Oracle 互換版(EDB
Postgres Advanced Server みたいなの?) があります。 3
POLARDB とは? ちなみに、 アイコンはホッキョクグマ(シロクマ/Polar bear)みたいです 4
出典: https://www.alibabacloud.com/help/doc-detail/58766.htm • 前段に Proxy(R/W & Read LB) • DB
Server とストレージ層を分離 • Log structured storage • Shared distributed storage • 25Gbps x 2ch RDMA • 32Gb/s NVMe SSD POLARDB のアーキテクチャ 5
POLARDB を試してみた 1. MySQL 8.0 互換版起動編 2. MySQL 8.0 互換版のバッファプールまわりを中心に
3. MySQL 8.0 互換版でパラレルクエリを試す 4. PostgreSQL 11 互換版起動+パラレルスキャン編 5. MySQL 8.0 互換版でパラレルクエリ(2) 6. PostgreSQL 11 互換版で Ganos を試す [おまけ] Aurora PostgreSQL 11.4 互換版がひっそりと出ていた ので試してみた(12/17 公開) 6
わかったこと • MySQL 8.0 互換版のベースバージョンは 8.0.13(現時点で) ◦ InnoDB Cluster 対応バージョンではなかったので「POLARDB
で InnoDB Cluster」のようなジョークは試せず… • PostgreSQL 11 互換版のベースバージョンは 11.2(同上) ◦ Aurora PostgreSQL 11 互換版は 11.4 • MySQL 8.0 互換版のオリジナル機能、パラレルクエリは割と まともに機能する ◦ 4core 16GB・4 並列で 2 ~ 3 倍速 • Aurora PostgreSQL 互換版との特性の違い ◦ CPU コア数とストレージ帯域・I/O レイテンシの差が割とそのまま 7
わかったこと • 割とまともなのでツッコミどころが少ない • LT のネタにできそうなものがあまりない… 8
ところで:POLARDB の名前の由来は? • 公式のコメント等は見つからず • 「Aurora」は高緯度の地域で発生するもの ◦ でも、北極 or 南極よりは低緯度(が中心)
• 「Polar」=北極 or 南極 • ということは…? 9
おや? 10
!! aurora さんが POLARDB の中で Log Sequence Number を Push
してる!! …ここに Alibaba Cloud のメッセージが隠されているのでは? (注:妄想です) 11
おまけ:どうでも良い話 POLARDB ネタを LT で話すべく、相棒として Polar bear の ぬいぐるみを AliExpress
で調達 • ついでに(わがアイコン)「柴犬のぬいぐるみ」の仲間も調達 結果… 12
おまけ:どうでも良い話 • 2 匹の柴犬が同じ商品に見えない • くまさんたちの顔も微妙に歪んでる • ↓を検証すべく、柴犬を追加で発注 ◦ どの程度の割合でまともな子がやって来る?
◦ 小さいサイズのが作るの難しい? • 結果は後日!(注:LT 発表しません) 13
おまけ:どうでも良い話 14 • AliExpress アカウントの注文 リストがぬいぐるみだらけに • おっさんアカウントとしては ちょっと気持ち悪い…