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
MySQL Database Service レビュー
Search
Shinya Omori
October 23, 2020
Technology
490
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MySQL Database Service レビュー
MySQL Technology Cafe #10
https://oracle-code-tokyo-dev.connpass.com/event/190438/
Shinya Omori
October 23, 2020
More Decks by Shinya Omori
See All by Shinya Omori
AWSを軸に考えるマルチクラウドアーキテクチャ
shinpy
0
87
老舗OCIクラウドインテグレーターが語る-現場で培ったクラウドリフトのリアルと成功のカギ
shinpy
0
350
Cloudii発!!リアルOCI事例とAI挑戦
shinpy
0
120
OCIjp_Oracle AI World_Recap
shinpy
2
310
OCI Cloud Native アーキテクチャ from 他社クラウド_移行の秘訣 v2
shinpy
1
110
AWS案件で得たナレッジ紹介_20240920
shinpy
0
150
OCI Cloud Native アーキテクチャ from 他社クラウド_移行の秘訣
shinpy
0
260
Oracle Cloud Infrastructure Advent Calendar 2023- Cloudii -
shinpy
0
300
OCIJP#33_NetworkFirewall
shinpy
0
670
Other Decks in Technology
See All in Technology
iOSDC Japan 2026 day1 TrackC 10:50
feedtailor
0
130
絵ではじめるKubernetesセキュリティ
aoi1
3
470
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
6
1.6k
WAF 運用改善の承認サイクル/SRE_BizReach_MIXI_1
visional_engineering_and_design
2
650
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
120
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
310
事業課題から技術的負債に向き合う
sansantech
PRO
2
1.3k
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
1.3k
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
430
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
170
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Embracing the Ebb and Flow
colly
88
5.2k
Leo the Paperboy
mayatellez
9
2.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
520
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
Transcript
“MySQL Database Service レビュー" - MySQL Technology Café #10 -
2 Copyright © 2020 Atomitech Inc. All rights reserved. 1
2 3 Introduction MDSレビュー & DEMO まとめ Agenda
3 Copyright © 2020 Atomitech Inc. All rights reserved. ⼤森
信哉 @shinpy 株式会社アトミテック クラウドサービス事業である (クラウディ)を担当 福島県会津若松市 在住(フル・リモート) インフラエンジニア兼エバンジェリスト クラウドはAWSを趣味で触るところから →OCI(Oracle Cloud Infrastructure)に関わり始めて2年!! 好きなサービス: OCI = Loggingサービス そのうちきっと、MySQL(MDS)
4 Copyright © 2020 Atomitech Inc. All rights reserved. ⼤塚
健治朗 @koko_kotsu 株式会社アトミテック クラウドサービス事業である (クラウディ)を担当 埼⽟県 在住(ご時世もありホボ・リモート) インフラエンジニア2年⽬ クラウドは去年から触り始めました! (オンプレ未経験) 好きなサービス: Oracle Database(DBCS) ゆくゆくはMySQL(MDS) ※今後増える予定
5 Copyright © 2020 Atomitech Inc. All rights reserved. OCIjpはOCIエキスパートによるユーザーコミュニティです。
毎⽉第3⽕曜⽇ごろに開催しています。 ⼤規模な構築事例や初⼼者向けハンズオンなど OCIに関わることなら何でも取り上げます! OCI初⼼者歓迎!! 毎⽉第3⽕曜⽇ イベント実施 twitter connpass
6 Copyright © 2020 Atomitech Inc. All rights reserved. @Cloudii_jp
https://cloudii.jp/ ※最近リニューアルしました!! ハッシュタグ #Cloudii Cloudii Blog
7 Copyright © 2020 Atomitech Inc. All rights reserved. Cloudii
の プロダクト
8 Copyright © 2020 Atomitech Inc. All rights reserved. プロダクト
| Cloudii CM Portalとは uクラウドサービス管理を統合したWebアプリケーション ステータス 可視化 コスト分析 マルチクラウド 対応 ガバナンス • Oracle Cloud • AWS • Microsoft Azure ...etc • インスタンス稼働状況 • OS情報 • 各構成管理 ...etc • 部署毎 • コンパートメント毎 • タグ毎 ...etc • イベントログ ※操作ログ等 • アラート通知 ...etc
9 Copyright © 2020 Atomitech Inc. All rights reserved. Cloudii
CM Portalを⾒てみよう(´・Д・)」 ※下記サイトからデモをご利用可能です。 https://cloudii.jp/products/ ※DEMO
10 Copyright © 2020 Atomitech Inc. All rights reserved. MDSレビュー
11 Copyright © 2020 Atomitech Inc. All rights reserved. WEB
DB インターネット Internet Gateway VCN OCI • Cloudii CM Portalでは「MySQL」を採⽤ • Computeインスタンス(DBサーバ)に「MySQL」を実装 MDS評価経緯 • OCIで「MDS」のLA(Limited Availability/限定版)が利⽤可能になる • DBサーバを「MDS」に置き換えても問題なく稼働できるか評価/検証 MDS
12 Copyright © 2020 Atomitech Inc. All rights reserved. 構成図(MDS導⼊前)
API JOB WEB DB Nginx MySQL v8.0 Cloudii CM Portal 構成図
13 Copyright © 2020 Atomitech Inc. All rights reserved. 構成図(MDS導⼊後)
API JOB WEB Nginx MySQL v8.0 MDS Cloudii CM Portal 構成図 • 「JOB」機能をWEBサーバ に集約 • IaaSを1台削減 運⽤コスト削減できる!?
14 Copyright © 2020 Atomitech Inc. All rights reserved. 検証
全て「デフォルト」で実装を試みた • デフォルトのシェイプ構成では、エラーが発⽣し構築できず… • 「MySQL構成の作成」を利⽤し設定を修正 -「sql_mode」 → STRICT_TRANS_TABLESを外した -「default_authentication_plugin」 → 「caching_sha2_password 」から「mysql_native_password」に修正
15 Copyright © 2020 Atomitech Inc. All rights reserved. 「シェイプ」ってなに?
• 「OCPU(CPUコア)」と「メモリ」を組合せた仮想スペック ※AWSのインスタンスサイズ • 「MDS」は4つのシェイプを選択可能 • q d • D • s OCI tips OCPUとは 1OCPU(=1コア) スレッド1 スレッド2 AWSの場合 スレッド1 = 1vCPU
16 Copyright © 2020 Atomitech Inc. All rights reserved. •
「my.cnf」や「SHOW VARIABLES」の設定が集約 • シェイプに応じた値が予めセット 「チューニング」不要で構築可能 検証 シェイプによって値が違う! ※VM Standard E2.1の⼀部 ◆MDSのデフォルト構成
17 Copyright © 2020 Atomitech Inc. All rights reserved. •
「GUIベース」で直観的にMySQLのチューニング可能 • 作成したカスタム構成はOCIに保存される ⇒ 同じ構成のMDSを1ボタンで作成可能! ※注意:シェイプは合わせる必要がある(異なるシェイプでの利⽤NG) 検証 ※ MDS作成画⾯の⼀部 ※シェイプ⼀覧画⾯ カスタム構成は、実際に触ってみましょう〜(´・Д・)」 ◆MDSのカスタム構成
18 Copyright © 2020 Atomitech Inc. All rights reserved. 来たる…2020年9⽉24⽇…
19 Copyright © 2020 Atomitech Inc. All rights reserved. ※じつは…5⽉頃から選択はできましたw
20 Copyright © 2020 Atomitech Inc. All rights reserved. ※DEMO
21 Copyright © 2020 Atomitech Inc. All rights reserved. 感想
• バックアップ設定が簡単、30分単位で指定できる ⇒リストアは、「新規DBにリストア」のみ可能 • OSへのSSH接続は不可 (PaaSですから!!) ⇒DBCS (Oracle DB) はSSH接続しroot化可能 (PaaSなのに?…) • OCIの操作や他社クラウドでのGUI操作に慣れてれば、直観的に構築可能
22 Copyright © 2020 Atomitech Inc. All rights reserved. 要望
• 「ネットワーク・セキュリティ・グループ」に対応してほしい • 「シェイプの複製(クローン)」ボタン復活を!! ※LAの時はありました • MDSデプロイ後に変数チューニング(更新)したい。 • 「intel」、「E3」シェイプも選択したい。 • 固定IP対応 • 柔軟なスケールアップ対応を!! • ログってどこで⾒るんだろう?サポート問い合わせ? ※Loggingサービスに対応すると良さそう
23 Copyright © 2020 Atomitech Inc. All rights reserved. ⽐較
※弊社調べ ※性能除く 【OCI】 MDS 【AWS】 RDS for MySQL 【AWS】 Amazon Aurora MySQL 【OCI】 DBCS Oracle DB ⽐較スペック 【スペック】 1OCPU / MEM 8GB 【シェイプ】 VM.Standard E2.1 【スペック】 2vCPU / MEM 8GB 【インスタンスタイプ】 db.t3.large 【スペック】 2vCPU / MEM 16GB 【インスタンスタイプ】 db.r5.large 【スペック】 1OCPU / MEM 15GB 【シェイプ】 VM.Standard 2.1 使⽤可能バージョン 8.0 5.5,5.6,5.7,8.0 5.6,5.7 11g,12c,18c,19c 1時間当たりの料⾦ ※1 ディスク容量 除く ※2 通信料等 除く ※3 1$=120円 \10 \25 \42 \26
24 Copyright © 2020 Atomitech Inc. All rights reserved. •
OCI待望の「MySQLマネージドサービス」 ‣ メンテナンス不要!! ※ IaaSのメンテはやはり… ‣ バックアップ簡単!! • コスト⾯も安価 ※ ディスク容量によって価格は変動 • HA構成、スケールアップ/ダウン等、今後アップデート予定とのこと!? 期待してます!! まとめ
Copyright © 2020 Atomitech Inc. All rights reserved. 25
[email protected]
宛先:⼈事担当