SlideShare uma empresa Scribd logo
1 de 85
Baixar para ler offline
1 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL 製品概要
日本オラクル株式会社
山崎 由章 / MySQL Senior Sales Consultant,
Asia Pacific and Japan
2 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
以下の事項は、弊社の一般的な製品の方向性に関する概要を説明するものです。
また、情報提供を唯一の目的とするものであり、いかなる契約にも組み込むことは
できません。以下の事項は、マテリアルやコード、機能を提供することをコミットメン
ト(確約)するものではないため、購買決定を行う際の判断材料になさらないで下さ
い。オラクル製品に関して記載されている機能の開発、リリースおよび時期につい
ては、弊社の裁量により決定されます。
OracleとJavaは、Oracle Corporation 及びその子会社、関連会社の米国及びその他の国における登録商標です。文中
の社名、商品名等は各社の商標または登録商標である場合があります。
3 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
The world's most popular open source database
世界で最も普及しているオープンソース データベース
4 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
40%
50%
60%
2007 2008 2009
MySQL 60.5%PostgreSQL 51.9%
出典:「第3回オープンソースソフトウエア活用
ビジネス実態調査(2009年度調査)」
独立行政法人 情報処理推進機構
22%
33%
42%
53%
72%
PostgreSQL
Oracle
SQL Server
IBM DB2
MySQL
出典:「ITmediaリサーチインタラクティブ
第6回調査:DBMS」
ITmediaエンタープライズ、ITR
PostgreSQL
MySQL
5 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
DB-Engines Rankingにて、Oracleに次ぐ第2位!
出展:http://db-engines.com/en/ranking (2013年8月時点)
6 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Oracle Database & MySQL
• より多くのお客様の要件にお応えするために
• MySQLはWebにおけるデファクトスタンダード
• MySQLとOracleの両方を運用されるお客様にも
より多くのメリット
Complementary 「補完関係」
Web and Cloud computing is not a ‘one size fits all’ model
7 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Continuous Improvement
MySQL Enterprise Monitor 2.2
MySQL Cluster 7.1
MySQL Cluster Manager 1.0
MySQL Workbench 5.2
MySQL Database 5.5
MySQL Enterprise Backup 3.5
MySQL Enterprise Monitor 2.3
MySQL Cluster Manager 1.1
DRIVING MySQL
INNOVATION
All GA!
MySQL Enterprise Backup 3.7
Oracle VM Template for MySQL
Enterprise Edition
MySQL Enterprise Oracle
Certifications
MySQL Windows Installer
MySQL Enterprise Security
MySQL Enterprise Scalability
MySQL Database 5.6 DMR*
MySQL Cluster 7.2 DMR
MySQL Labs!
(“early and often”)
All GA!
MySQL Cluster 7.2
MySQL Cluster Manager 1.4
MySQL Utilities 1.0.6
MySQL Migration Wizard
MySQL Enterprise Backup 3.9
MySQL Enterprise Audit
MySQL Database 5.6
MySQL Cluster 7.3
MySQL Workbench 6.0
MySQL Enterprise Monitor 3.0
MySQL Database 5.7 DMR
A BETTER
MySQL
*Development Milestone Release
2010 2011
2012-13
All GA!
Available Now!
8 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
40% DATA GROWTH
PER YEAR
5.9BN MOBILE SUBS IN 2011
OVER 1.2 BILLION iOS & ANDROID
APPS IN 2012
85% HANDSETS
SHIPPED WITH A BROWSER
$1TR BY 2013
$700BN IN 2011
2.2BN USERS
630M WEB SITES
400m TWEETS
PER DAY
955M USERS
552M DAILY ACTIVE
72 HOURS
UPLOADED EVERY
MINUTE
9 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQLのコミュニティ活動
 全世界で1,500万インストール (弊社推計)
 Facebookのファン数: 163,000,昨年比+35%増
 Twitterのフォロワー数: 25,000, 昨年比+67%増
 MySQL Newsletter: 140万サブスクライバ,昨年比+20%増
 イベント: MySQL Dev Days & MySQL Tech Tours etc
 雑誌などでの認知: CRN, Linux Journal, PHP Architect...
 MySQLはクラウドでの利用も拡大中
10 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
WEB
ENTERPRISE
EMBEDDED
CLOUD
業界のトップ企業を支えるMySQL
11 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
クラウドコンピューティングにおけるMySQL
12 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
3,000社以上での組み込み事例
13 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Server適用例:Facebook
• 約11億ユーザが参加する世界最大のSNS
– 数千台のMySQLサーバを運用中
• 分散キャッシュmemcachedと組み合わせて負荷分散
• ユーザの急激な増加に対応(2008年1億→2010年4億)
• レプリケーション*で米国大陸を横断するデータ転送
* MySQLの標準機能
• 秒間のトラフィック
– 1,300万クエリ以上
– 参照:3,700万行
– 更新:350万行
– 440万IOPS
14 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
• 艦載機・飛行甲板の運用管理
– 空母に搭載された航空機のメンテナンス、
燃料補給計画の管理
– 空母上の飛行甲板の利用を含む、
フライトプランの作成および管理
• MySQL Cluster
– 4ノードのLinux上で利用
– 単一障害点のない完全な冗長性
– 障害を想定したテストでの安定性と
フットプリントの小ささが選択理由
• 世界最大の軍艦 ニミッツ級航空母艦で運用中
MySQL Cluster適用例:
15 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Aadhaar - インド版国民総背番号制度
• 国民全員のID番号と生体認証情報を管理
• トランザクショナルな処理は全て商用版MySQLを利用
• 統計分析や不正検出にはHadoopを利用
• 2013年1月現在で約2億6,000万ID発行済み
• 将来的には1日3,000億件のID照合、約25PB
アーキテクトによるプレゼンテーション: http://goo.gl/AXmQs
OSS導入の経緯を紹介したニュース記事: http://goo.gl/AmEO9
16 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
コミュニティ版と商用版
→ データベース機能はコミュニティ版にも「全部入り」
プラガブル ストレージエンジン
→ テーブル毎に機能変更可能なMySQL"だけ"の機能
オープンソース&企業としての開発と管理
→ 全てを知るエンジニアによる責任を持ったサポート
17 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQLのコミュニティ版と商用版
• 付加価値として技術サポートや管理機能、拡張機能を
有償の商用版として提供
• コミュニティ版ソフトウェアはGPLでソースコードも提供
• MySQL Community Server
• MySQL Cluster (Community Edition)
• MySQL GUI管理ツール
• MySQLコネクタ (JDBC, ODBC, etc)
• ドキュメント
• フォーラム
コミュニティ版
•Standard Edition
•Enterprise Edition
•MySQL Cluster
Carrier Grade Edition
• 商用ライセンス (組み込み用)
• トレーニング
• プロフェッショナルサービス
商用版
18 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
商用版MySQLをご購入いただく理由
費用対効果の高い付加価値
技術
サポート
商用版
MySQL
知財
補償
追加
機能
商用
ライセンス
19 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
商用版MySQLをご購入いただく理由
• 技術サポート: 開発フェーズから本番運用フェーズまで、
問題解決やSQLレビュー、チューニングまで幅広く支援
• 追加機能: 有償版のお客様のみにご利用いただける、
運用性や拡張性、セキュリティを向上させる各種機能
• 知財補償: 著作権を含む全ての知財を企業として
管理しているため提供可能
• 商用ライセンス: 主にMySQLを含んだ製品を配布や
販売する際に利用されるGPLではないライセンス
費用対効果の高い付加価値
20 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQLが組込で採用される理由
• 低コスト: SQL Serverと比較して、コストが90%低い
• クロスプラットフォームの柔軟性: 20以上のプラットフォームをサポート
• ハイパフォーマンス、信頼性、スケーラビリティ:
通信やネットワーク・アプリケーションなどの最も厳しい要求にも、
24時間365日対応可能
• 使い易さ: インストールや設定が簡単で、開発に集中できる
• 管理不要: 専任のデータベース管理者が不要
21 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
ハードウェア構成:
Intel x86_64 Servers: 4、CPU数/Server: 4、コア数/CPU: 8
MySQLとMicrosoft SQL Serverの比較
3年間のTCO
$0
$200,000
$400,000
$600,000
$800,000
$1,000,000
$1,200,000
$1,400,000
$1,600,000
MySQL Enterprise
Edition Microsoft SQL Server
2008 Enterprise Edition Microsoft SQL Server
2012 Enterprise Edition
$60,000
$769,860
$1,539,776
22 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Strengths
• 世界でもっとも普及している、オープンソースデータベース
• LAMPスタックの“M”
• マルチプラットフォーム対応
– Windows, Linux, Solaris
• 高性能、軽量、高信頼
• 導入や運用の容易性
– ダウンロードからデータベース起動まで15分以内
– 管理不要なシンプルさ
23 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Usability
• The MySQL 15 Minutes Rule
– Valid since the early days MySQL
“Download, install and start
using MySQL in 15 minutes.”
24 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Usability
Introducing
MySQL Installer
for Windows
25 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Usability
• 15 Minute Rule down to 3 Minutes for full MySQL stack
– What will you do with all that time?!
>>>
26 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
主要な各種の開発言語
およびプラットフォームを
サポート
処理効率の高いマルチ
スレッドモデル
DMLやDDLの解析、コ
ストベースのオプティマ
イザ、クエリや結果セッ
トなどのキャッシュ
アプリケーションに
最適な機能や性能
を提供する柔軟性
の高い「ストレージ
エンジン」
各種の物理ストレージを利用可能
MySQL Database
Performance, Reliability, Ease of Use
27 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
ストレージエンジンの役割
データ保管 – どこに格納するか、データレイアウト
インデックス – 実装アルゴリズム (Btree, B+, T etc)
メモリ利用 – データキャッシュ、バッファリング
トランザクション – ACID, XA, MVCC, 分離レベル
同時実行性 – ロック、排他制御
28 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
利用可能なエンジンの確認方法
• SHOW ENGINES文
mysql> SHOW ENGINES¥G
************************ 1. row *************************
Engine: MyISAM
Support: YES
Comment: Default engine as of MySQL 3.23 with great
performance
************************* 2. row *************************
Engine: MEMORY
Support: YES
Comment: Hash based, stored in memory, useful for
temporary tables
************************* 3. row *************************
Engine: InnoDB
Support: DEFAULT
Comment: Supports transactions, row-level locking, and foreign keys
...
29 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
ストレージエンジンの指定方法
• テーブル作成時 CREATE TABLE 文で指定
CREATE TABLE t (i INT) ENGINE = InnoDB;
• 指定がない場合はシステムのデフォルトを利用
– --default-storage-engine
– @@storage_engine
• ALTER TABLE文で変更可能
ALTER TABLE t ENGINE = MEMORY;
30 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
ストレージエンジンの確認方法
• テーブルに設定したエンジンの確認
– 例)
SHOW CREATE TABLE City¥G
または
SHOW TABLE STATUS LIKE 'CountryLanguage'¥G
• メタデータ管理スキーマ INFORMATION_SCHEMA にて確認
SELECT TABLE_NAME, ENGINE FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME = 'City'
AND TABLE_SCHEMA = 'world'¥G
31 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
ストレージエンジン
• MySQLに関する誤解はMyISAMから
• 高速処理だがテーブルロックなどのため非スケーラブル
• 障害に弱くテーブルが壊れやすい
• 非トランザクション、エラー時にロールバック不可
• InnoDB はOracleデータベースに似た特徴
• 書込みおよび参照を高い並列度で実行するスケーラビリティ
• トランザクショナル – 変更コミット、エラー時のロールバック、
スナップショット ( ACID モデル)
• 障害時のクラッシュリカバリ機能
• InnoDB = 5.5以降のデフォルトストレージエンジン
32 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
ストレージエンジン
• MEMORYストレージエンジン
• データをメモリ上に格納
• InnoDBを大きいバッファプールで使用するのと同様の効果
• デフォルトではハッシュインデックスを使用するため、
>, <, BETWEEN などの範囲検索では、USING BTREEの使用を検討
• ARCHIVEストレージエンジン
• データの登録と参照のみができ、データの変更ができない
• CSVストレージエンジン
• データをCSVファイルに格納
• NDBストレージエンジン
• MySQL Clusterで使用されるストレージエンジン
33 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
mysql> create table … engine=csv;
[mysql@linux1 gim]$ ls -l
total 785848
-rw-rw---- 1 mysql mysql 35 May 1 client_detail_csv.CSM
-rw-rw---- 1 mysql mysql 0 May 1 client_detail_csv.CSV
-rw-rw---- 1 mysql mysql 291367350000 May 1 flatdata.dat
[mysql@linux1 gim]$ mv flatdata.dat client_detail_csv.CSV
mysql> flush tables;
Query OK, 0 rows affected (0.00 sec)
mysql> select count(*) from client_detail_csv;
+-------------+
| count(*) |
+-------------+
| 1000000000 |
+-------------+ Oracleの外部表、他のDBベンダ、オープンソースの
DBでも、こんな機能は実装していない!
※CSVストレージエンジンはインデックス利用不可、トランザクション非対応
CSVストレージエンジンで超高速データローディング!?
10億行のデータをMySQLにロードする最速の手法??
34 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
レプリケーション
• MySQLの標準機能
– シンプルな設定
– マスタ→スレーブ
– 多数Webでの実績
• 非同期型 or 準同期
• 特徴
– 参照性能を向上させる構成
– バックアップ用途での利用も
– 基本は一方向でのデータコピー
だが、双方向や循環型での利用も可能
(データの更新には注意が必要)
– 更新ログ(bin-log)を利用
Webアプリケーションでは参照が95%、
更新が5%というケースも (Digg.com)
> シンプルなスケールアウト構成によって
簡単に20倍以上の性能向上が図れる
35 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
非同期レプリケーション
36 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
準同期レプリケーション
37 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQLの高可用性構成
MySQL
Cluster
MySQL
Cluster
アプリケーション/
APサーバ
負荷分散
双方向
同期複製
• MySQL Cluster
シェアードナッシング型高性能クラスタ
MySQL
Server
• MySQL+DRBD
ノード間データコピー
アプリケーション/
APサーバ
フェールオーバー
同期複製
MySQL
Server
アプリケーション/
APサーバ
共有ディスク
• 3rdベンダ製HAソフト利用
共有ディスクにデータを格納
フェールオーバー
MySQL
Server
MySQL
Server
アプリケーション/
APサーバ
負荷分散
非同期複製
• レプリケーション(標準機能)
非同期&準同期データレプリケーション
MySQL
Server
MySQL
Server
38 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
複合型の高可用性構成例
• 共有ディスク型構成
+レプリケーション
• MySQL Cluster
+レプリケーション
MySQL
Cluster
MySQL
Cluster
アプリケーション/
APサーバ
負荷分散
双方向
同期複製
MySQL
Cluster
MySQL
Cluster 双方向
同期複製
非同期複製
アプリケーション/
APサーバ
共有ディスク
フェールオーバー
MySQL
Server
MySQL
Server
MySQL
Server
・・・
非同期複製
アプリケーション/
APサーバ
参照処理の
負荷分散
MySQL
Server
MySQL
Server
39 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Edition
最高レベルのMySQLスケーラビリティ、セキュリティおよび稼働時間
Oracle Premier
Lifetime Support
Oracle Product
Certifications/Integrations
MySQL Enterprise
High Availability
MySQL Enterprise SecurityMySQL Enterprise
Scalability
MySQL
Enterprise Backup
MySQL Enterprise
Monitor/Query Analyzer
MySQL Workbench
MySQL Database
MySQL Cluster
Manager
MySQL
Enterprise Audit
40 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Edition
MySQL Database
• 高信頼性、高性能
• 運用の容易性
MySQL Workbench
• データベース設計 & アプリ開発
• 管理ツール MySQL Administration
MySQL Enterprise Backup
• 高速オンラインホットバックアップ
• ポイントインタイムリカバリ
MySQL Enterprise Monitor
• 全MySQLサーバの一括監視
• MySQL Query Analyzer
MySQL Enterprise Scalability
• Thread Pooling
• 持続可能な高性能
MySQL Enterprise Security
• External Authentication 外部認証
• LDAP, Kerberos, Windows AD など
MySQL Enterprise Audit • 監査ログ取得
MySQL Enterprise High Availability • 高可用性構成
Oracle Premier Support
• 24x7, 無制限インシデント
• コンサルティングサポート
41 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
New MySQL Editions
Standard
SE
Enterprise
EE
Cluster
CGE
機能概要
MySQL Database ✔ ✔ ✔
MySQL Connectors ✔ ✔ ✔
MySQL Replication ✔ ✔ ✔
MySQL Partitioning ✔ ✔
MyISAM, MEMORY, ARCHIVE ✔ ✔ ✔
InnoDB ✔ ✔ ✔
NDB (ndbcluster) ✔
MySQL Workbench SE* ✔ ✔ ✔
MySQL Enterprise Monitor* ✔ ✔
MySQL Enterprise Backup* ✔ ✔
MySQL Enterprise Audit* ✔ ✔
外部認証サポート* ✔ ✔
スレッドプール* ✔ ✔
MySQL Enterprise High-Availavility* ✔ ✔
MySQL Cluster Manager* ✔
MySQL Cluster Geo-Replication ✔
Oracle Premium Support
24時間365日サポート ✔ ✔ ✔
インシデント数無制限 ✔ ✔ ✔
ナレッジベース ✔ ✔ ✔
バグ修正&パッチ提供 ✔ ✔ ✔
コンサルティングサポート ✔ ✔ ✔
*商用版のみで
利用可能な機能
42 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Workbench
• MySQLの公式GUIツール
• MySQL Databaseの統合開発環境
• Windows, OS X, Linux 対応
43 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Workbenchで出来ること
• 管理
– Server起動/停止、Serverステータス診断、システム/ステータス変数確認、
ログ確認、ユーザ管理、セッション管理、オブジェクト管理、データ編集、など
• 開発
– SQLエディタ、SQL整形、SQLコード補完、SQLシンタックスハイライト、
SQL Snippets(ステートメント再利用)、ビジュアルExplain、など
• 設計
– E-R図作成、フォワードエンジニアリング、リバースエンジニアリング、など
MySQL Workbenchの主要機能一覧
http://www-jp.mysql.com/products/workbench/features.html
44 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Workbenchで出来ること
• マイグレーション
– 他DBからMySQLへの移行を支援できるマイグレーションウィザード
• DBドキュメント出力(※)
– データベーススキーマの情報をドキュメント化(テーブル定義書を自動作成)
• データモデルの検証(※)
– DB設計上の間違いや懸念事項を提示
• MySQL Enterprise BackupのためのGUI(※)
– バックアップジョブの作成/実行/スケジュール、クイック・リカバリ
• MySQL Enterprise AuditのためのGUI(※)
– 監査ログの確認
※商用版のみの機能
45 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
DBドキュメント出力(商用版のみ)
• データベーススキーマの情報をドキュメント化
– テーブル定義書を自動作成
– フォーマットは4種類から選択可能
46 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
データモデルの検証(商用版のみ)
• DB設計上の間違いや懸念事項を提示
検証結果の例
例)film_textテーブルについている外部キーfk_film_textが、
inventoryテーブルの主キー以外の列を参照している
47 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Backup
• 旧称 “InnoDB Hot Backup”
• オンラインバックアップ & リカバリ
– 表、インデックス
– サーバレベル、データベースレベル、オブジェクトレベル
• 論理 or 物理バックアップ
• フル or 差分バックアップ
• ポイントインタイムリカバリ
• バックアップデータの圧縮
• MyISAMのバックアップも可能
• マルチプラットフォーム(Windows, Linux, Unix)
48 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
高速なバックアップ
0
5
10
15
20
25
30
26GB - 8 Tables 32GB - 33 Tables
Minutes
Backup Target
Backup
mysqldump
MySQL Enterprise Backup
mysqldumpよりも3.5倍以上速くバックアップ
49 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
高速なリストア
0
20
40
60
80
100
120
140
26GB - 8 Tables 32GB - 33 tables
Minutes
Restore Target
Restore
mysqldump
MySQL Enterprise Backup
mysqldumpよりも16倍速くリストア
50 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
“バーチャルなMySQL DBA”
アシスタント
MySQL Enterprise Monitor
• 複数のMySQLサーバを一括監視可能な
ダッシュボード
• システム中のMySQLサーバやレプリケー
ション構成を自動的に検出し監視対象に
追加
• ルールに基づく監視と警告
• 問題が発生する前に通知
• 問題のあるSQL文の検出、統計情報の
分析が可能なQuery Analyzer
51 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
クエリ解析機能 - MySQL Query Analyzer
• 全てのMySQLサーバの
全てのSQL文を一括監視
• vmstatなどのOSコマンドやMySQLの
SHOWコマンドの実行、
ログファイルの個別の監視は不要
• クエリの実行回数、エラー回数、実行時間、
転送データ量などを一覧表示
• チューニングのための解析作業を省力化
52 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
アドバイザ、ルール、グラフ
管理全般
• 最適な設定を監視・アド
バイス
• 確実なリカバリ
セキュリティ
• 計画されていないセキ
ュリティ設定変更を監
視・アドバイス
• セキュリティの抜けを
検出
アップグレード
• インストール済みのバー
ジョンに影響を与えるバ
グを監視・アドバイス
• MRU/QSP収集のための
パスを更新
レプリケーション
• マスタ/スレーブ間の同
期状況を監視・アドバイ
ス
• より良いレプリケーショ
ン構成を提案
メモリ使用状況
• メモリ/キャッシュの利用
状況を監視
• パフォーマンス向上のた
めのメモリチューニング
をアドバイス
スキーマ
• 計画されていないスキー
マ設定変更を監視・アド
バイス
• セキュリティの抜けを検
出
パフォーマンス
• 適切な性能パラメータ設
定を監視・アドバイス
• 潜在的なパフォーマンス
のボトルネックを検出
• お客様企業個別のベス
トプラクティス
• ニーズに合わせて、
MySQL アドバイザを新
規作成あるいは修正
カスタマイズ
250以上のルール、70以上のグラフ
カスタムスクリプトの作成、展開、バージョニング、管理にかかる時間を短縮。
データベース管理者だけでは発見不可能な問題やチューニング方法をアドバイス。
53 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
• 設定 スケジューリング
• 警告や通知
• ビジュアルな監視
• クエリ解析
サービスエージェントは全ての
MySQL Enterpriseプラット
フォームをサポート
サービスマネージャ
(Javaサーブレット)はLinux,
Solaris, Mac OSX, Windows
で稼働
Enterprise Dashboard(JSP)
Webベース
レポジトリは分析用のパフォー
マンスの履歴情報を格納
MySQL Enterpriseサーバ +
サービスエージェント
Enterprise Dashboard
サービス
マネージャ
レポジトリ
Customer Datacenter
• アドバイザでの監視
• イベント毎の警告や通知
• 統計情報の収集とレポジトリ
への格納
MySQLやOS、クエリの
統計情報を収集し、マ
ネージャに送信
MySQLやOS、クエリの
統計情報の履歴を格納
Enterprise Monitorのアーキテクチャ
Master-Slave
レプリケーション
54 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
• MySQLデフォルト・スレッド処理
パフォーマンスは高いが、接続数が拡大するとスケーラビリ
ティに制約が出る可能性がある
• MySQL Thread Pool
ユーザ接続数の増加に対応し、
パフォーマンスとスケーラビリティを維持
• Thread Pool API
MySQL Enterprise Scalability
Thread Pool
55 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
デフォルトのスレッド処理
内部クライアント
デフォルト・スレッド
処理
接続
/ステートメントが
永続的にスレッドに
割り当てられる
• 接続は永続的に1スレッドに割り当てられ、すべてのステートメントに同じスレッドが使用
• スレッド、ステートメントの実行に優先順位付けは行わない
• 多数の同時接続
= サーバー・メモリのを大量に消費し、スケーラビリティに制約が出る可能性
接続実行スレッド
外部クライアント
56 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Thread Poolの有効化
内部クライアント
接続実行スレッド
外部クライアント
Thread Pool
Thread Group 1
Threads 1 - 4096
Thread Group 2
Threads 4097 - 8193
Thread Group N
Threads 8194 - N
• スレッド・グループ数を設定可能(デフォルト = 16)、4096スレッド
• ラウンド・ロビンによって各接続をスレッド・グループに割り当てる
• スレッドは優先付けされる。ステートメントはキューに挿入することで同時 実行を制限し、
サーバの負荷や接続増加に対応したスケーラビリティを確保
Thread Group 1
Thread Group 2
Thread Group N
57 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Edition
Thread Pool有り
MySQL Community Edition
Thread Pool無し
MySQL Enterprise Edition
Thread Poolでスケーラビリティが18倍向上
MySQL 5.6.11
Oracle Linux 6.3、Unbreakable Kernel 2.6.32
4 sockets、24 cores、 48 Threads
Intel(R) Xeon(R) E7540 2GHz CPUs
512GB DDR RAM
58 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Edition
Thread Pool有り
MySQL Community Edition
Thread Pool無し
MySQL Enterprise Edition
Thread Poolでスケーラビリティが60倍向上
MySQL 5.6.11
Oracle Linux 6.3、Unbreakable Kernel 2.6.32
4 sockets、24 cores、 48 Threads
Intel(R) Xeon(R) E7540 2GHz CPUs
512GB DDR RAM
59 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
• PAM(Pluggable Authentication Modules)
• 外部認証方式へのアクセス
• 標準のインタフェース(Unix、LDAP、Kerberosなど)
• プロキシ/非プロキシユーザー
• Windows
• ネイティブWindowsサービス(WAD)へのアクセス
• Windowsにログイン済みユーザを認証
• プラガブル認証API
MySQL Enterprise Security
MySQLの外部認証
MySQLアプリケーション を既存のセキュリティ・インフラストラクチャ/SOPと統合
60 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Audit
ポリシーベースの監査機能を提供
• ログオン、クエリーの情報を監査可能
• ユーザがポリシーを設定可能:フィルタリング、ログローテーション
• 動的に設定を変更可能:Audit設定時にサーバの再起動が不要
• Oracleの仕様に合わせてXMLベースの監査ログを出力
• MySQL 5.5のAudit APIを使って実装
• MySQL 5.5.28 以上で使用可能
監査が必要なアプリケーションでもMySQLを利用可能
61 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Oracle VM Template for MySQL
• Oracle Linux、Unbreakable Enterprise
Kernelを搭載
• Oracle VM & Oracle VM Manager
• Oracle Cluster File System 2 (OCFS2)
• MySQL Database (Enterprise Edition)
 プレインストール、事前構成済
 完全な統合および QAテスト
 サポートの一元化*
Windows Server フェール
オーバークラスタリング
• MySQLまたは基盤になっているサーバーの障害が検
出された場合; MySQLはスタンバイ・ノードで再起動
• メンテナンス作業のための手動でのフェールオーバー
 ネイティブWindows Clusteringサービスを使用して
ビジネス・クリティカ ル・アプリケーションを構築
 Windows上でHAソリューションを拡張
MySQL Enterprise High Availability
•Oracle LinuxおよびOracle Virtual Machineの技術サポートには、
Unbreakable Linux Networkのサブスクリプションが必要
62 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
• 認定構成だからこそ実現できる、Oracleによる
フルスタックサポート
– Oracle Linux Unbreakable Enterprise Kernel R2 に
統合されたDRBD
– Oracle Linux6.2以上で使用可能
– オラクルのULN (Unbreakable Linux Network)から
パッケージを更新
– クラスタリングとフェイルオーバーのために、
Pacemaker と Corosync を使用
• 分散ストレージを利用するため、共有ディスクや
SAN不要
– 同期レプリケーションによってデータを失うリスクを回避
• オープンソースで実績の多いソリューション
MySQL Enterprise High Availability
Oracle Linux + DRBD Stack
※ホワイトペーパー : DRBD - Configuration and Deployment Guide
http://www.mysql.com/why-mysql/white-papers/mysql_wp_drbd.php
63 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise High Availability
Oracle Solaris Clustering
• カーネルレベルでのハートビートと監視
• SPARCおよびx86。 Solaris Virtualization と組み合わせ可能
• MySQL向けのエージェントがOracle Solaris Cluster に含まれている
• 詳細は: http://www.oracle.com/technetwork/server-storage/solaris-cluster/overview/index.html
64 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQLの高可用性ソリューション
MySQL 5.6
レプリケーション
Oracle VM
Template
Solaris
Cluster
Windows
Cluster
DRBD
MySQL
Cluster
自動フェイルオーバー ✔ ✔ ✔ ✔ ✔ ✔
データロス無し Semi-Sync ✔ ✔ ✔ ✔ ✔
サポートOS All Linux Solaris Windows Linux All
クラスタモード
Master +
Slaves
Active/
Passive
Active/
Passive
Active/
Passive
Active/
Passive
Multi-
Master
共有ディスク 不要 必要 必要 必要 不要 不要
可用性デザイン 99.9% 99.99% 99.99% 99.95% 99.99% 99.999%
単一ベンダサポート ✔ ✔ ✔ ✖ ✔ ✔
65 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
• Oracle Fusion MiddleWare
• WebLogic Server
• Database Adapter for Oracle SOA
Suite
• Oracle Business Process Management
• Oracle Virtual Directory
• Oracle Data Integrator
• Oracle Enterprise Performance
Management
• Oracle Identity Analytics
• Open SSO STS, Open SSO Fedlet
• Oracle Linux
• Oracle VM
• Oracle VM Template for MySQL
Enterprise Edition
• Oracle Solaris Clustering
• Oracle GoldenGate
• Oracle Secure Backup
• Oracle Audit Vault and Database Firewall
• MyOracle Online Support
MySQL EnterpriseとOracle製品との動作保証
対応済み
66 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
• Oracle Fusion MiddleWare
• WebCenter Suite
• Enterprise Content Management
• Oracle Business Intelligence Suite
• Oracle Clusterware
• Oracle Enterprise Manager
• その他…
MySQL EnterpriseとOracle製品との動作保証
対応中
67 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Supportの特徴
• 「パフォーマンス・チューニング」や
「SQLチューニング」まで通常サポートの範囲内
– コンサルティングサポートが含まれており、「クエリ・レビュー」、「パフォーマンス・
チューニング」、「レプリケーション・レビュー」、「パーティショニング・レビュー」
などに対応可能
– 詳細はこちらを参照下さい
http://www-jp.mysql.com/support/consultative.html
• ソースコードレベルでサポート可能
– ほとんどのサポートエンジニアがソースを読めるため、対応が早い
– 開発エンジニアとサポートエンジニアも密に連携している
68 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
•物理サーバー単位課金
– CPU数、コア数に依存しない価格体系
•オラクルのライフタイムサポート
– 詳細はこちらを参照下さい
http://www.oracle.com/jp/support/lifetime-support/index.html
http://www-jp.mysql.com/support/
MySQL Supportの特徴
69 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster Carrier
Grade Edition
70 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Clusterとは?
• MySQLとは開発ツリーの異なる別製品
• 共有ディスクを使わずに、アクティブ-アクティブのクラスタ構成が組める
• 元々はSQLを使わないデータベースだったが、MySQLと統合され
SQLも使えるようになった
(NoSQL(KVS)とSQLの両方が使えるデータベース)
向いているシステム
• 高可用性が求められるシステム
• 同時多発的に大量のトランザクションが発生するシステム
• 読込み処理だけでなく、書込み処理に対しても拡張性が求められるシステム
71 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster: Overview
• 自動シャーディング、マルチマスター
• ACID 準拠のトランザクション, OLTP + Real-Time Analytics
読込み/書込み処理
に対する高い拡張性
• シェアードナッシング、単一障害点無し
• 自動修復 + オンラインオペレーション
99.999% の高可用性
• オープンソース + 商用版
• コモディディハードウェア + 充実した管理ツール、監視ツール
低い TCO
• Key/Value + SQL の柔軟性
• SQL + Memcached + JavaScript + Java + JPA + HTTP/REST & C++
SQL + NoSQL
• インメモリデータベース + ディスクデータ
• 非常に低いレイテンシ、短いアクセス時間
リアルタイム
72 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
導入事例: 携帯電話ネットワーク
HLR / HSS
課金, 認証, VLR
認証, 追跡接続
サービス, 課金
位置情報
の更新
プリペイ&
ポストペイ課金
• 大量の書き込みトランザクション
• 3ms未満のデータベースレスポンス
• 停止時間 & トランザクション消失 = ビジネスの損失
MySQL Cluster in Action: http://bit.ly/oRI5tF
73 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
導入事例: 航空機管制システム
• 米国海軍航空母艦
• 包括的航空機運用管制システム
• メンテナンス記録
• 燃料搭載量管理
• 気象状況
• 飛行甲板管理
• システム要件
• 単一障害点無し
• 完全な冗長性
• 小さなフットプリント & 過酷な利用環境で
の利用
• 4台のMySQL Clusterノード Linux
およびWindows
MySQL User Conference Session: http://bit.ly/ogeid3
74 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Who’s Using MySQL Cluster?
75 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster アーキテクチャ
データ・ノード
ノード・グループ1
F1
F3
F3
F1
ノード1ノード2
ノード・グールプ 2
F2
F4
F4
F2
ノード3ノード4
アプリケーション・ノード
管理ノード管理ノード
RESTJPA
76 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
SQLとNoSQL それぞれのベストを採用
SQL と NoSQLの組み合わせ
• SQL: 複雑なリレーショナル・クエリ
• HTTP / memcached: キー・バリュー型Webサービス
• Java: エンタープライズ・アプリケーション
• NDB API: リアルタイム・サービス
• Node.js: 非同期処理
様々な
組み合わせ
データ・ノード
NDB API
クライアント
ネイティブ memcached HTTP/REST
JDBC / ODBC
PHP / PERL
Python / RubyNode.js
77 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster ベンチマーク結果
7.1と比べて8倍の性能向上
1分間に10億回の読取り(SELECT)
- 8x Intel Xeon x5670, NoSQL C++ API, flexAsynch benchmark
0
2
4
6
8
10
12
14
16
18
20
MySQL Cluster 7.1 MySQL Cluster 7.2
ReadsperSecond(Millions)
78 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster ベンチマーク結果
1分間に43億回の読取り(SELECT)
- 30x Intel Xeon E5-2670, NoSQL C++ API, flexAsynch benchmark
79 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
0
5
10
15
20
25
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
MillionsofUPDATEsperSecond
MySQL Cluster Data Nodes
MySQL Cluster ベンチマーク結果
非常に高いスケーラビリティ
1分間に12億回の書込み(UPDATE)
- 30x Intel Xeon E5-2670, NoSQL C++ API, flexAsynch benchmark
80 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster 7.3: Connection Thread Scalability
 データノードへのコネクションのスルー
プット向上
 mutexの分割により、スループットが向上
 設定をより簡単に
 スケーラビリティの向上
 最大ノード数は256ノードまで
 接続毎に7.5倍の性能向上
 SQL & NoSQL の両方において
MySQL Cluster Data Nodes
MySQL Cluster Data Nodes
With Connection
Thread Scalability
81 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster Connection Thread Scalability
• DBT2 Benchmark
– Single MySQL Server
– Single Data Node
– 128 client connections
8.5x
82 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
監視 &
リカバリ
無停止
メンテナンス
管理作業
の自動化
低コストでより柔軟性をもった
高可用性データベース環境を構築&管理可能に
MySQL Cluster Manager
83 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster Manager
例: MySQL Cluster 7.0 から 7.2へのアップグレード
• 1 x クラスタの事前状態チェック
• 8 x ssh コマンド/サーバー
• 8 x 停止コマンド/プロセス
• 4 x 構成ファイルの転送 - scp
(2 x mgmd & 2 x mysqld)
• 8 x プロセスごとの開始コマンド
• 8 x 開始または再参加プロセスの確認
• 8 x 完了確認処理
• 1 x クラスタ全体の完了確認
• 各構成ファイルの手動による編集を除
合計: 46 コマンド-
2.5 時間の作業
MySQL Cluster Manager 導入前 MySQL Cluster Manager では
upgrade cluster --package=7.2 mycluster;
合計: 1 コマンド -
完全自動処理
– データベース・クラスタ管理の負荷
および複雑さを削減
– 管理エラーによるダウンタイムの
リスクを排除
– クラスタ管理のベストプラクティス
を自動化
84 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Edition & Cluster CGEの評価
• Oracle Software Delivery Cloud
http://edelivery.oracle.com/
• 製品パックを選択:
“MySQL Database”
• 製品マニュアル
http://dev.mysql.com/doc/index-enterprise.html
30日間トライアル
85 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
MySQLの最新情報配信
• MySQLホームページ
http://www-jp.mysql.com/
• MySQL イベント
http://www-jp.mysql.com/news-and-events/events/
• MySQLニュースレター(月刊)※マイプロファイル内からMySQLを選択ください
http://www.oracle.com/jp/syndication/subscribe/index.html
• MySQL Twitter
@mysql_jp
• OTN セミナー オンデマンド コンテンツ
http://www-jp.mysql.com/news-and-events/generate-article.php?id=1709

Mais conteúdo relacionado

Mais procurados

お悩み解決! データベースの仮想化統合(DBの仮想化統合には気をつけろ!)
お悩み解決!データベースの仮想化統合(DBの仮想化統合には気をつけろ!)お悩み解決!データベースの仮想化統合(DBの仮想化統合には気をつけろ!)
お悩み解決! データベースの仮想化統合(DBの仮想化統合には気をつけろ!)
オラクルエンジニア通信
 

Mais procurados (20)

[Modern Cloud Day Tokyo 2019] 基調講演(Day1):次世代クラウドが変える日本のエンタープライズ・ビジネス
[Modern Cloud Day Tokyo 2019] 基調講演(Day1):次世代クラウドが変える日本のエンタープライズ・ビジネス[Modern Cloud Day Tokyo 2019] 基調講演(Day1):次世代クラウドが変える日本のエンタープライズ・ビジネス
[Modern Cloud Day Tokyo 2019] 基調講演(Day1):次世代クラウドが変える日本のエンタープライズ・ビジネス
 
Oracle RAC 25年の進化
Oracle RAC 25年の進化Oracle RAC 25年の進化
Oracle RAC 25年の進化
 
Oracle Database Appliance X5-2 アップデート内容のご紹介
Oracle Database Appliance X5-2 アップデート内容のご紹介Oracle Database Appliance X5-2 アップデート内容のご紹介
Oracle Database Appliance X5-2 アップデート内容のご紹介
 
お悩み解決! データベースの仮想化統合(DBの仮想化統合には気をつけろ!)
お悩み解決!データベースの仮想化統合(DBの仮想化統合には気をつけろ!)お悩み解決!データベースの仮想化統合(DBの仮想化統合には気をつけろ!)
お悩み解決! データベースの仮想化統合(DBの仮想化統合には気をつけろ!)
 
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年9月2日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年9月2日)はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年9月2日)
はじめてのOracle Cloud Infrastructure(Oracle Cloudウェビナーシリーズ: 2020年9月2日)
 
オラクルクラウドで開発を~サーバからDB/アプリケーションサーバ準備が、2時間で~
オラクルクラウドで開発を~サーバからDB/アプリケーションサーバ準備が、2時間で~オラクルクラウドで開発を~サーバからDB/アプリケーションサーバ準備が、2時間で~
オラクルクラウドで開発を~サーバからDB/アプリケーションサーバ準備が、2時間で~
 
20150920 中国地方db勉強会
20150920 中国地方db勉強会20150920 中国地方db勉強会
20150920 中国地方db勉強会
 
Oracle Database 12c Release 1 PSR 12.1.0.2 のご紹介
Oracle Database 12c Release 1 PSR 12.1.0.2 のご紹介Oracle Database 12c Release 1 PSR 12.1.0.2 のご紹介
Oracle Database 12c Release 1 PSR 12.1.0.2 のご紹介
 
[Modern Cloud Day Tokyo 2019] 実践エンタープライズ・ブロックチェーン ~ システム設計・運用における課題とそのソリューション
[Modern Cloud Day Tokyo 2019] 実践エンタープライズ・ブロックチェーン ~ システム設計・運用における課題とそのソリューション[Modern Cloud Day Tokyo 2019] 実践エンタープライズ・ブロックチェーン ~ システム設計・運用における課題とそのソリューション
[Modern Cloud Day Tokyo 2019] 実践エンタープライズ・ブロックチェーン ~ システム設計・運用における課題とそのソリューション
 
[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(2) - ユーザー管...
[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(2) - ユーザー管...[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(2) - ユーザー管...
[Modern Cloud Day Tokyo 2019] Oracle Cloud Infrastructure 基本サービス入門(2) - ユーザー管...
 
Oracle Database Appliance 2.10 アップデート及びパッチ管理について
Oracle Database Appliance 2.10 アップデート及びパッチ管理について Oracle Database Appliance 2.10 アップデート及びパッチ管理について
Oracle Database Appliance 2.10 アップデート及びパッチ管理について
 
[db tech showcase Tokyo 2015] D23:MySQLはドキュメントデータベースになり、HTTPもしゃべる - MySQL Lab...
[db tech showcase Tokyo 2015] D23:MySQLはドキュメントデータベースになり、HTTPもしゃべる - MySQL Lab...[db tech showcase Tokyo 2015] D23:MySQLはドキュメントデータベースになり、HTTPもしゃべる - MySQL Lab...
[db tech showcase Tokyo 2015] D23:MySQLはドキュメントデータベースになり、HTTPもしゃべる - MySQL Lab...
 
DBTS2016 Data as Code - Delphix
DBTS2016 Data as Code - DelphixDBTS2016 Data as Code - Delphix
DBTS2016 Data as Code - Delphix
 
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#1
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#1しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#1
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#1
 
Zero Data Loss Recovery Applianceのご紹介
Zero Data Loss Recovery Applianceのご紹介Zero Data Loss Recovery Applianceのご紹介
Zero Data Loss Recovery Applianceのご紹介
 
進化を続けるデータベース・クラウド:Oracle Database, Exadata, MySQL, Cloud Machine [Oracle Clou...
進化を続けるデータベース・クラウド:Oracle Database, Exadata, MySQL, Cloud Machine [Oracle Clou...進化を続けるデータベース・クラウド:Oracle Database, Exadata, MySQL, Cloud Machine [Oracle Clou...
進化を続けるデータベース・クラウド:Oracle Database, Exadata, MySQL, Cloud Machine [Oracle Clou...
 
DataGuard体験記
DataGuard体験記DataGuard体験記
DataGuard体験記
 
[Oracle Cloud Days Tokyo 2015] Oracle Database 12c最新情報 ~Maximum Availability ...
[Oracle Cloud Days Tokyo 2015] Oracle Database 12c最新情報 ~Maximum Availability ...[Oracle Cloud Days Tokyo 2015] Oracle Database 12c最新情報 ~Maximum Availability ...
[Oracle Cloud Days Tokyo 2015] Oracle Database 12c最新情報 ~Maximum Availability ...
 
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
 
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年4月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年4月版]【旧版】Oracle Cloud Infrastructure 料金体系 [2020年4月版]
【旧版】Oracle Cloud Infrastructure 料金体系 [2020年4月版]
 

Semelhante a MySQL製品概要

20190825_MySQL ServerだけじゃないMySQL Shellもあるんです
20190825_MySQL ServerだけじゃないMySQL Shellもあるんです20190825_MySQL ServerだけじゃないMySQL Shellもあるんです
20190825_MySQL ServerだけじゃないMySQL Shellもあるんです
Machiko Ikoma
 
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
Ryusuke Kajiyama
 
20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介
20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介
20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介
Machiko Ikoma
 

Semelhante a MySQL製品概要 (20)

20190825_MySQL ServerだけじゃないMySQL Shellもあるんです
20190825_MySQL ServerだけじゃないMySQL Shellもあるんです20190825_MySQL ServerだけじゃないMySQL Shellもあるんです
20190825_MySQL ServerだけじゃないMySQL Shellもあるんです
 
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
 
Oracle Database Applianceのご紹介(詳細)
Oracle Database Applianceのご紹介(詳細)Oracle Database Applianceのご紹介(詳細)
Oracle Database Applianceのご紹介(詳細)
 
第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+
 
Oracle Cloud PaaS & IaaS:2019年9月度サービス情報アップデート
Oracle Cloud PaaS & IaaS:2019年9月度サービス情報アップデートOracle Cloud PaaS & IaaS:2019年9月度サービス情報アップデート
Oracle Cloud PaaS & IaaS:2019年9月度サービス情報アップデート
 
オラクル・データベース・クラウド~さらなる進化のご紹介(Oracle Cloud Days Tokyo 2015)
オラクル・データベース・クラウド~さらなる進化のご紹介(Oracle Cloud Days Tokyo 2015)オラクル・データベース・クラウド~さらなる進化のご紹介(Oracle Cloud Days Tokyo 2015)
オラクル・データベース・クラウド~さらなる進化のご紹介(Oracle Cloud Days Tokyo 2015)
 
Windows環境でのMySQL
Windows環境でのMySQLWindows環境でのMySQL
Windows環境でのMySQL
 
[Modern Cloud Day Tokyo 2019] 次世代型データベース・クラウドの魅力に迫る ~ Autonomous Database Dee...
[Modern Cloud Day Tokyo 2019] 次世代型データベース・クラウドの魅力に迫る ~ Autonomous Database Dee...[Modern Cloud Day Tokyo 2019] 次世代型データベース・クラウドの魅力に迫る ~ Autonomous Database Dee...
[Modern Cloud Day Tokyo 2019] 次世代型データベース・クラウドの魅力に迫る ~ Autonomous Database Dee...
 
DBTS2015 Tokyo DBAが知っておくべき最新テクノロジー
DBTS2015 Tokyo DBAが知っておくべき最新テクノロジーDBTS2015 Tokyo DBAが知っておくべき最新テクノロジー
DBTS2015 Tokyo DBAが知っておくべき最新テクノロジー
 
20190530 osc hokkaido_public
20190530 osc hokkaido_public20190530 osc hokkaido_public
20190530 osc hokkaido_public
 
MySQLドキュメントストアとCTE
MySQLドキュメントストアとCTEMySQLドキュメントストアとCTE
MySQLドキュメントストアとCTE
 
【旧版】Oracle Database Cloud Service:サービス概要のご紹介 [2020年3月版]
【旧版】Oracle Database Cloud Service:サービス概要のご紹介 [2020年3月版]【旧版】Oracle Database Cloud Service:サービス概要のご紹介 [2020年3月版]
【旧版】Oracle Database Cloud Service:サービス概要のご紹介 [2020年3月版]
 
MySQL InnoDB Clusterによる高可用性構成(DB Tech Showcase 2017)
MySQL InnoDB Clusterによる高可用性構成(DB Tech Showcase 2017)MySQL InnoDB Clusterによる高可用性構成(DB Tech Showcase 2017)
MySQL InnoDB Clusterによる高可用性構成(DB Tech Showcase 2017)
 
Oracle ERP Cloud
Oracle ERP CloudOracle ERP Cloud
Oracle ERP Cloud
 
Oracle GoldenGate Veridata概要
Oracle GoldenGate Veridata概要Oracle GoldenGate Veridata概要
Oracle GoldenGate Veridata概要
 
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年4月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年4月版]【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年4月版]
【旧版】Oracle Cloud Infrastructure:サービス概要のご紹介 [2020年4月版]
 
最強のデータベース基盤“Exadata”をパブリック・クラウドで活用!(Oracle Cloud Days Tokyo 2015)
最強のデータベース基盤“Exadata”をパブリック・クラウドで活用!(Oracle Cloud Days Tokyo 2015)最強のデータベース基盤“Exadata”をパブリック・クラウドで活用!(Oracle Cloud Days Tokyo 2015)
最強のデータベース基盤“Exadata”をパブリック・クラウドで活用!(Oracle Cloud Days Tokyo 2015)
 
20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介
20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介
20210305_MySQLベースのクエリ・アクセラレーターHeatWaveのご紹介
 
Managed Instance チートシート
Managed Instance チートシートManaged Instance チートシート
Managed Instance チートシート
 
オープンクラウド導入の課題とデルのCloudStackソリューション
オープンクラウド導入の課題とデルのCloudStackソリューションオープンクラウド導入の課題とデルのCloudStackソリューション
オープンクラウド導入の課題とデルのCloudStackソリューション
 

Mais de yoyamasaki

Mais de yoyamasaki (20)

MySQL 8.0で強化されたGIS機能のご紹介と周辺ツールとの連携について
MySQL 8.0で強化されたGIS機能のご紹介と周辺ツールとの連携についてMySQL 8.0で強化されたGIS機能のご紹介と周辺ツールとの連携について
MySQL 8.0で強化されたGIS機能のご紹介と周辺ツールとの連携について
 
MySQL 8.0で強化されたGIS機能のご紹介+α:「FOSS4G Tokai 2018 」での発表資料
MySQL 8.0で強化されたGIS機能のご紹介+α:「FOSS4G Tokai 2018 」での発表資料 MySQL 8.0で強化されたGIS機能のご紹介+α:「FOSS4G Tokai 2018 」での発表資料
MySQL 8.0で強化されたGIS機能のご紹介+α:「FOSS4G Tokai 2018 」での発表資料
 
MySQL最新情報
MySQL最新情報MySQL最新情報
MySQL最新情報
 
MySQL 8.0で強化されたGIS機能のご紹介:「FOSS4G 2018 Hokkaido」での発表資料
MySQL 8.0で強化されたGIS機能のご紹介:「FOSS4G 2018 Hokkaido」での発表資料MySQL 8.0で強化されたGIS機能のご紹介:「FOSS4G 2018 Hokkaido」での発表資料
MySQL 8.0で強化されたGIS機能のご紹介:「FOSS4G 2018 Hokkaido」での発表資料
 
ついにリリース!! MySQL 8.0 最新情報
ついにリリース!! MySQL 8.0 最新情報ついにリリース!! MySQL 8.0 最新情報
ついにリリース!! MySQL 8.0 最新情報
 
MySQLの公式GUIツール MySQL Workbench
MySQLの公式GUIツール MySQL WorkbenchMySQLの公式GUIツール MySQL Workbench
MySQLの公式GUIツール MySQL Workbench
 
MySQL 開発最新動向
MySQL 開発最新動向MySQL 開発最新動向
MySQL 開発最新動向
 
MySQL最新情報  ※2016年12月
MySQL最新情報  ※2016年12月MySQL最新情報  ※2016年12月
MySQL最新情報  ※2016年12月
 
20160929 inno db_fts_jp
20160929 inno db_fts_jp20160929 inno db_fts_jp
20160929 inno db_fts_jp
 
MySQL 5.7 InnoDB 日本語全文検索(その2)
MySQL 5.7 InnoDB 日本語全文検索(その2)MySQL 5.7 InnoDB 日本語全文検索(その2)
MySQL 5.7 InnoDB 日本語全文検索(その2)
 
MySQL 5.7 InnoDB 日本語全文検索
MySQL 5.7 InnoDB 日本語全文検索MySQL 5.7 InnoDB 日本語全文検索
MySQL 5.7 InnoDB 日本語全文検索
 
MySQL最新情報 ※2015年9月5日「第1回 関西DB勉強会」での発表資料
MySQL最新情報 ※2015年9月5日「第1回 関西DB勉強会」での発表資料MySQL最新情報 ※2015年9月5日「第1回 関西DB勉強会」での発表資料
MySQL最新情報 ※2015年9月5日「第1回 関西DB勉強会」での発表資料
 
DrupalとMySQL
DrupalとMySQLDrupalとMySQL
DrupalとMySQL
 
Mysql+Mroongaで全文検索
Mysql+Mroongaで全文検索Mysql+Mroongaで全文検索
Mysql+Mroongaで全文検索
 
MySQL Workbench 6.1 の紹介
MySQL Workbench 6.1 の紹介MySQL Workbench 6.1 の紹介
MySQL Workbench 6.1 の紹介
 
[D14] MySQL 5.6時代のパフォーマンスチューニング *db tech showcase 2013 Tokyo
[D14] MySQL 5.6時代のパフォーマンスチューニング *db tech showcase 2013 Tokyo[D14] MySQL 5.6時代のパフォーマンスチューニング *db tech showcase 2013 Tokyo
[D14] MySQL 5.6時代のパフォーマンスチューニング *db tech showcase 2013 Tokyo
 
早くなったのか? MySQL5.5から5.6へのアップグレード事例
早くなったのか? MySQL5.5から5.6へのアップグレード事例早くなったのか? MySQL5.5から5.6へのアップグレード事例
早くなったのか? MySQL5.5から5.6へのアップグレード事例
 
SQL+NoSQL!? それならMySQL Clusterでしょ。
SQL+NoSQL!? それならMySQL Clusterでしょ。SQL+NoSQL!? それならMySQL Clusterでしょ。
SQL+NoSQL!? それならMySQL Clusterでしょ。
 
States of Dolphin - MySQL最新技術情報2013秋 -
States of Dolphin - MySQL最新技術情報2013秋 -States of Dolphin - MySQL最新技術情報2013秋 -
States of Dolphin - MySQL最新技術情報2013秋 -
 
MySQL最新動向と便利ツールMySQL Workbench
MySQL最新動向と便利ツールMySQL WorkbenchMySQL最新動向と便利ツールMySQL Workbench
MySQL最新動向と便利ツールMySQL Workbench
 

MySQL製品概要

  • 1. 1 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL 製品概要 日本オラクル株式会社 山崎 由章 / MySQL Senior Sales Consultant, Asia Pacific and Japan
  • 2. 2 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 以下の事項は、弊社の一般的な製品の方向性に関する概要を説明するものです。 また、情報提供を唯一の目的とするものであり、いかなる契約にも組み込むことは できません。以下の事項は、マテリアルやコード、機能を提供することをコミットメン ト(確約)するものではないため、購買決定を行う際の判断材料になさらないで下さ い。オラクル製品に関して記載されている機能の開発、リリースおよび時期につい ては、弊社の裁量により決定されます。 OracleとJavaは、Oracle Corporation 及びその子会社、関連会社の米国及びその他の国における登録商標です。文中 の社名、商品名等は各社の商標または登録商標である場合があります。
  • 3. 3 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. The world's most popular open source database 世界で最も普及しているオープンソース データベース
  • 4. 4 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 40% 50% 60% 2007 2008 2009 MySQL 60.5%PostgreSQL 51.9% 出典:「第3回オープンソースソフトウエア活用 ビジネス実態調査(2009年度調査)」 独立行政法人 情報処理推進機構 22% 33% 42% 53% 72% PostgreSQL Oracle SQL Server IBM DB2 MySQL 出典:「ITmediaリサーチインタラクティブ 第6回調査:DBMS」 ITmediaエンタープライズ、ITR PostgreSQL MySQL
  • 5. 5 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. DB-Engines Rankingにて、Oracleに次ぐ第2位! 出展:http://db-engines.com/en/ranking (2013年8月時点)
  • 6. 6 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Database & MySQL • より多くのお客様の要件にお応えするために • MySQLはWebにおけるデファクトスタンダード • MySQLとOracleの両方を運用されるお客様にも より多くのメリット Complementary 「補完関係」 Web and Cloud computing is not a ‘one size fits all’ model
  • 7. 7 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Continuous Improvement MySQL Enterprise Monitor 2.2 MySQL Cluster 7.1 MySQL Cluster Manager 1.0 MySQL Workbench 5.2 MySQL Database 5.5 MySQL Enterprise Backup 3.5 MySQL Enterprise Monitor 2.3 MySQL Cluster Manager 1.1 DRIVING MySQL INNOVATION All GA! MySQL Enterprise Backup 3.7 Oracle VM Template for MySQL Enterprise Edition MySQL Enterprise Oracle Certifications MySQL Windows Installer MySQL Enterprise Security MySQL Enterprise Scalability MySQL Database 5.6 DMR* MySQL Cluster 7.2 DMR MySQL Labs! (“early and often”) All GA! MySQL Cluster 7.2 MySQL Cluster Manager 1.4 MySQL Utilities 1.0.6 MySQL Migration Wizard MySQL Enterprise Backup 3.9 MySQL Enterprise Audit MySQL Database 5.6 MySQL Cluster 7.3 MySQL Workbench 6.0 MySQL Enterprise Monitor 3.0 MySQL Database 5.7 DMR A BETTER MySQL *Development Milestone Release 2010 2011 2012-13 All GA! Available Now!
  • 8. 8 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 40% DATA GROWTH PER YEAR 5.9BN MOBILE SUBS IN 2011 OVER 1.2 BILLION iOS & ANDROID APPS IN 2012 85% HANDSETS SHIPPED WITH A BROWSER $1TR BY 2013 $700BN IN 2011 2.2BN USERS 630M WEB SITES 400m TWEETS PER DAY 955M USERS 552M DAILY ACTIVE 72 HOURS UPLOADED EVERY MINUTE
  • 9. 9 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQLのコミュニティ活動  全世界で1,500万インストール (弊社推計)  Facebookのファン数: 163,000,昨年比+35%増  Twitterのフォロワー数: 25,000, 昨年比+67%増  MySQL Newsletter: 140万サブスクライバ,昨年比+20%増  イベント: MySQL Dev Days & MySQL Tech Tours etc  雑誌などでの認知: CRN, Linux Journal, PHP Architect...  MySQLはクラウドでの利用も拡大中
  • 10. 10 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. WEB ENTERPRISE EMBEDDED CLOUD 業界のトップ企業を支えるMySQL
  • 11. 11 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. クラウドコンピューティングにおけるMySQL
  • 12. 12 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 3,000社以上での組み込み事例
  • 13. 13 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Server適用例:Facebook • 約11億ユーザが参加する世界最大のSNS – 数千台のMySQLサーバを運用中 • 分散キャッシュmemcachedと組み合わせて負荷分散 • ユーザの急激な増加に対応(2008年1億→2010年4億) • レプリケーション*で米国大陸を横断するデータ転送 * MySQLの標準機能 • 秒間のトラフィック – 1,300万クエリ以上 – 参照:3,700万行 – 更新:350万行 – 440万IOPS
  • 14. 14 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. • 艦載機・飛行甲板の運用管理 – 空母に搭載された航空機のメンテナンス、 燃料補給計画の管理 – 空母上の飛行甲板の利用を含む、 フライトプランの作成および管理 • MySQL Cluster – 4ノードのLinux上で利用 – 単一障害点のない完全な冗長性 – 障害を想定したテストでの安定性と フットプリントの小ささが選択理由 • 世界最大の軍艦 ニミッツ級航空母艦で運用中 MySQL Cluster適用例:
  • 15. 15 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Aadhaar - インド版国民総背番号制度 • 国民全員のID番号と生体認証情報を管理 • トランザクショナルな処理は全て商用版MySQLを利用 • 統計分析や不正検出にはHadoopを利用 • 2013年1月現在で約2億6,000万ID発行済み • 将来的には1日3,000億件のID照合、約25PB アーキテクトによるプレゼンテーション: http://goo.gl/AXmQs OSS導入の経緯を紹介したニュース記事: http://goo.gl/AmEO9
  • 16. 16 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. コミュニティ版と商用版 → データベース機能はコミュニティ版にも「全部入り」 プラガブル ストレージエンジン → テーブル毎に機能変更可能なMySQL"だけ"の機能 オープンソース&企業としての開発と管理 → 全てを知るエンジニアによる責任を持ったサポート
  • 17. 17 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQLのコミュニティ版と商用版 • 付加価値として技術サポートや管理機能、拡張機能を 有償の商用版として提供 • コミュニティ版ソフトウェアはGPLでソースコードも提供 • MySQL Community Server • MySQL Cluster (Community Edition) • MySQL GUI管理ツール • MySQLコネクタ (JDBC, ODBC, etc) • ドキュメント • フォーラム コミュニティ版 •Standard Edition •Enterprise Edition •MySQL Cluster Carrier Grade Edition • 商用ライセンス (組み込み用) • トレーニング • プロフェッショナルサービス 商用版
  • 18. 18 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 商用版MySQLをご購入いただく理由 費用対効果の高い付加価値 技術 サポート 商用版 MySQL 知財 補償 追加 機能 商用 ライセンス
  • 19. 19 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 商用版MySQLをご購入いただく理由 • 技術サポート: 開発フェーズから本番運用フェーズまで、 問題解決やSQLレビュー、チューニングまで幅広く支援 • 追加機能: 有償版のお客様のみにご利用いただける、 運用性や拡張性、セキュリティを向上させる各種機能 • 知財補償: 著作権を含む全ての知財を企業として 管理しているため提供可能 • 商用ライセンス: 主にMySQLを含んだ製品を配布や 販売する際に利用されるGPLではないライセンス 費用対効果の高い付加価値
  • 20. 20 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQLが組込で採用される理由 • 低コスト: SQL Serverと比較して、コストが90%低い • クロスプラットフォームの柔軟性: 20以上のプラットフォームをサポート • ハイパフォーマンス、信頼性、スケーラビリティ: 通信やネットワーク・アプリケーションなどの最も厳しい要求にも、 24時間365日対応可能 • 使い易さ: インストールや設定が簡単で、開発に集中できる • 管理不要: 専任のデータベース管理者が不要
  • 21. 21 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. ハードウェア構成: Intel x86_64 Servers: 4、CPU数/Server: 4、コア数/CPU: 8 MySQLとMicrosoft SQL Serverの比較 3年間のTCO $0 $200,000 $400,000 $600,000 $800,000 $1,000,000 $1,200,000 $1,400,000 $1,600,000 MySQL Enterprise Edition Microsoft SQL Server 2008 Enterprise Edition Microsoft SQL Server 2012 Enterprise Edition $60,000 $769,860 $1,539,776
  • 22. 22 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Strengths • 世界でもっとも普及している、オープンソースデータベース • LAMPスタックの“M” • マルチプラットフォーム対応 – Windows, Linux, Solaris • 高性能、軽量、高信頼 • 導入や運用の容易性 – ダウンロードからデータベース起動まで15分以内 – 管理不要なシンプルさ
  • 23. 23 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Usability • The MySQL 15 Minutes Rule – Valid since the early days MySQL “Download, install and start using MySQL in 15 minutes.”
  • 24. 24 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Usability Introducing MySQL Installer for Windows
  • 25. 25 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Usability • 15 Minute Rule down to 3 Minutes for full MySQL stack – What will you do with all that time?! >>>
  • 26. 26 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 主要な各種の開発言語 およびプラットフォームを サポート 処理効率の高いマルチ スレッドモデル DMLやDDLの解析、コ ストベースのオプティマ イザ、クエリや結果セッ トなどのキャッシュ アプリケーションに 最適な機能や性能 を提供する柔軟性 の高い「ストレージ エンジン」 各種の物理ストレージを利用可能 MySQL Database Performance, Reliability, Ease of Use
  • 27. 27 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. ストレージエンジンの役割 データ保管 – どこに格納するか、データレイアウト インデックス – 実装アルゴリズム (Btree, B+, T etc) メモリ利用 – データキャッシュ、バッファリング トランザクション – ACID, XA, MVCC, 分離レベル 同時実行性 – ロック、排他制御
  • 28. 28 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 利用可能なエンジンの確認方法 • SHOW ENGINES文 mysql> SHOW ENGINES¥G ************************ 1. row ************************* Engine: MyISAM Support: YES Comment: Default engine as of MySQL 3.23 with great performance ************************* 2. row ************************* Engine: MEMORY Support: YES Comment: Hash based, stored in memory, useful for temporary tables ************************* 3. row ************************* Engine: InnoDB Support: DEFAULT Comment: Supports transactions, row-level locking, and foreign keys ...
  • 29. 29 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. ストレージエンジンの指定方法 • テーブル作成時 CREATE TABLE 文で指定 CREATE TABLE t (i INT) ENGINE = InnoDB; • 指定がない場合はシステムのデフォルトを利用 – --default-storage-engine – @@storage_engine • ALTER TABLE文で変更可能 ALTER TABLE t ENGINE = MEMORY;
  • 30. 30 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. ストレージエンジンの確認方法 • テーブルに設定したエンジンの確認 – 例) SHOW CREATE TABLE City¥G または SHOW TABLE STATUS LIKE 'CountryLanguage'¥G • メタデータ管理スキーマ INFORMATION_SCHEMA にて確認 SELECT TABLE_NAME, ENGINE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'City' AND TABLE_SCHEMA = 'world'¥G
  • 31. 31 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. ストレージエンジン • MySQLに関する誤解はMyISAMから • 高速処理だがテーブルロックなどのため非スケーラブル • 障害に弱くテーブルが壊れやすい • 非トランザクション、エラー時にロールバック不可 • InnoDB はOracleデータベースに似た特徴 • 書込みおよび参照を高い並列度で実行するスケーラビリティ • トランザクショナル – 変更コミット、エラー時のロールバック、 スナップショット ( ACID モデル) • 障害時のクラッシュリカバリ機能 • InnoDB = 5.5以降のデフォルトストレージエンジン
  • 32. 32 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. ストレージエンジン • MEMORYストレージエンジン • データをメモリ上に格納 • InnoDBを大きいバッファプールで使用するのと同様の効果 • デフォルトではハッシュインデックスを使用するため、 >, <, BETWEEN などの範囲検索では、USING BTREEの使用を検討 • ARCHIVEストレージエンジン • データの登録と参照のみができ、データの変更ができない • CSVストレージエンジン • データをCSVファイルに格納 • NDBストレージエンジン • MySQL Clusterで使用されるストレージエンジン
  • 33. 33 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. mysql> create table … engine=csv; [mysql@linux1 gim]$ ls -l total 785848 -rw-rw---- 1 mysql mysql 35 May 1 client_detail_csv.CSM -rw-rw---- 1 mysql mysql 0 May 1 client_detail_csv.CSV -rw-rw---- 1 mysql mysql 291367350000 May 1 flatdata.dat [mysql@linux1 gim]$ mv flatdata.dat client_detail_csv.CSV mysql> flush tables; Query OK, 0 rows affected (0.00 sec) mysql> select count(*) from client_detail_csv; +-------------+ | count(*) | +-------------+ | 1000000000 | +-------------+ Oracleの外部表、他のDBベンダ、オープンソースの DBでも、こんな機能は実装していない! ※CSVストレージエンジンはインデックス利用不可、トランザクション非対応 CSVストレージエンジンで超高速データローディング!? 10億行のデータをMySQLにロードする最速の手法??
  • 34. 34 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. レプリケーション • MySQLの標準機能 – シンプルな設定 – マスタ→スレーブ – 多数Webでの実績 • 非同期型 or 準同期 • 特徴 – 参照性能を向上させる構成 – バックアップ用途での利用も – 基本は一方向でのデータコピー だが、双方向や循環型での利用も可能 (データの更新には注意が必要) – 更新ログ(bin-log)を利用 Webアプリケーションでは参照が95%、 更新が5%というケースも (Digg.com) > シンプルなスケールアウト構成によって 簡単に20倍以上の性能向上が図れる
  • 35. 35 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 非同期レプリケーション
  • 36. 36 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 準同期レプリケーション
  • 37. 37 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQLの高可用性構成 MySQL Cluster MySQL Cluster アプリケーション/ APサーバ 負荷分散 双方向 同期複製 • MySQL Cluster シェアードナッシング型高性能クラスタ MySQL Server • MySQL+DRBD ノード間データコピー アプリケーション/ APサーバ フェールオーバー 同期複製 MySQL Server アプリケーション/ APサーバ 共有ディスク • 3rdベンダ製HAソフト利用 共有ディスクにデータを格納 フェールオーバー MySQL Server MySQL Server アプリケーション/ APサーバ 負荷分散 非同期複製 • レプリケーション(標準機能) 非同期&準同期データレプリケーション MySQL Server MySQL Server
  • 38. 38 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 複合型の高可用性構成例 • 共有ディスク型構成 +レプリケーション • MySQL Cluster +レプリケーション MySQL Cluster MySQL Cluster アプリケーション/ APサーバ 負荷分散 双方向 同期複製 MySQL Cluster MySQL Cluster 双方向 同期複製 非同期複製 アプリケーション/ APサーバ 共有ディスク フェールオーバー MySQL Server MySQL Server MySQL Server ・・・ 非同期複製 アプリケーション/ APサーバ 参照処理の 負荷分散 MySQL Server MySQL Server
  • 39. 39 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Edition 最高レベルのMySQLスケーラビリティ、セキュリティおよび稼働時間 Oracle Premier Lifetime Support Oracle Product Certifications/Integrations MySQL Enterprise High Availability MySQL Enterprise SecurityMySQL Enterprise Scalability MySQL Enterprise Backup MySQL Enterprise Monitor/Query Analyzer MySQL Workbench MySQL Database MySQL Cluster Manager MySQL Enterprise Audit
  • 40. 40 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Edition MySQL Database • 高信頼性、高性能 • 運用の容易性 MySQL Workbench • データベース設計 & アプリ開発 • 管理ツール MySQL Administration MySQL Enterprise Backup • 高速オンラインホットバックアップ • ポイントインタイムリカバリ MySQL Enterprise Monitor • 全MySQLサーバの一括監視 • MySQL Query Analyzer MySQL Enterprise Scalability • Thread Pooling • 持続可能な高性能 MySQL Enterprise Security • External Authentication 外部認証 • LDAP, Kerberos, Windows AD など MySQL Enterprise Audit • 監査ログ取得 MySQL Enterprise High Availability • 高可用性構成 Oracle Premier Support • 24x7, 無制限インシデント • コンサルティングサポート
  • 41. 41 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. New MySQL Editions Standard SE Enterprise EE Cluster CGE 機能概要 MySQL Database ✔ ✔ ✔ MySQL Connectors ✔ ✔ ✔ MySQL Replication ✔ ✔ ✔ MySQL Partitioning ✔ ✔ MyISAM, MEMORY, ARCHIVE ✔ ✔ ✔ InnoDB ✔ ✔ ✔ NDB (ndbcluster) ✔ MySQL Workbench SE* ✔ ✔ ✔ MySQL Enterprise Monitor* ✔ ✔ MySQL Enterprise Backup* ✔ ✔ MySQL Enterprise Audit* ✔ ✔ 外部認証サポート* ✔ ✔ スレッドプール* ✔ ✔ MySQL Enterprise High-Availavility* ✔ ✔ MySQL Cluster Manager* ✔ MySQL Cluster Geo-Replication ✔ Oracle Premium Support 24時間365日サポート ✔ ✔ ✔ インシデント数無制限 ✔ ✔ ✔ ナレッジベース ✔ ✔ ✔ バグ修正&パッチ提供 ✔ ✔ ✔ コンサルティングサポート ✔ ✔ ✔ *商用版のみで 利用可能な機能
  • 42. 42 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Workbench • MySQLの公式GUIツール • MySQL Databaseの統合開発環境 • Windows, OS X, Linux 対応
  • 43. 43 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Workbenchで出来ること • 管理 – Server起動/停止、Serverステータス診断、システム/ステータス変数確認、 ログ確認、ユーザ管理、セッション管理、オブジェクト管理、データ編集、など • 開発 – SQLエディタ、SQL整形、SQLコード補完、SQLシンタックスハイライト、 SQL Snippets(ステートメント再利用)、ビジュアルExplain、など • 設計 – E-R図作成、フォワードエンジニアリング、リバースエンジニアリング、など MySQL Workbenchの主要機能一覧 http://www-jp.mysql.com/products/workbench/features.html
  • 44. 44 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Workbenchで出来ること • マイグレーション – 他DBからMySQLへの移行を支援できるマイグレーションウィザード • DBドキュメント出力(※) – データベーススキーマの情報をドキュメント化(テーブル定義書を自動作成) • データモデルの検証(※) – DB設計上の間違いや懸念事項を提示 • MySQL Enterprise BackupのためのGUI(※) – バックアップジョブの作成/実行/スケジュール、クイック・リカバリ • MySQL Enterprise AuditのためのGUI(※) – 監査ログの確認 ※商用版のみの機能
  • 45. 45 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. DBドキュメント出力(商用版のみ) • データベーススキーマの情報をドキュメント化 – テーブル定義書を自動作成 – フォーマットは4種類から選択可能
  • 46. 46 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. データモデルの検証(商用版のみ) • DB設計上の間違いや懸念事項を提示 検証結果の例 例)film_textテーブルについている外部キーfk_film_textが、 inventoryテーブルの主キー以外の列を参照している
  • 47. 47 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Backup • 旧称 “InnoDB Hot Backup” • オンラインバックアップ & リカバリ – 表、インデックス – サーバレベル、データベースレベル、オブジェクトレベル • 論理 or 物理バックアップ • フル or 差分バックアップ • ポイントインタイムリカバリ • バックアップデータの圧縮 • MyISAMのバックアップも可能 • マルチプラットフォーム(Windows, Linux, Unix)
  • 48. 48 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 高速なバックアップ 0 5 10 15 20 25 30 26GB - 8 Tables 32GB - 33 Tables Minutes Backup Target Backup mysqldump MySQL Enterprise Backup mysqldumpよりも3.5倍以上速くバックアップ
  • 49. 49 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 高速なリストア 0 20 40 60 80 100 120 140 26GB - 8 Tables 32GB - 33 tables Minutes Restore Target Restore mysqldump MySQL Enterprise Backup mysqldumpよりも16倍速くリストア
  • 50. 50 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. “バーチャルなMySQL DBA” アシスタント MySQL Enterprise Monitor • 複数のMySQLサーバを一括監視可能な ダッシュボード • システム中のMySQLサーバやレプリケー ション構成を自動的に検出し監視対象に 追加 • ルールに基づく監視と警告 • 問題が発生する前に通知 • 問題のあるSQL文の検出、統計情報の 分析が可能なQuery Analyzer
  • 51. 51 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. クエリ解析機能 - MySQL Query Analyzer • 全てのMySQLサーバの 全てのSQL文を一括監視 • vmstatなどのOSコマンドやMySQLの SHOWコマンドの実行、 ログファイルの個別の監視は不要 • クエリの実行回数、エラー回数、実行時間、 転送データ量などを一覧表示 • チューニングのための解析作業を省力化
  • 52. 52 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. アドバイザ、ルール、グラフ 管理全般 • 最適な設定を監視・アド バイス • 確実なリカバリ セキュリティ • 計画されていないセキ ュリティ設定変更を監 視・アドバイス • セキュリティの抜けを 検出 アップグレード • インストール済みのバー ジョンに影響を与えるバ グを監視・アドバイス • MRU/QSP収集のための パスを更新 レプリケーション • マスタ/スレーブ間の同 期状況を監視・アドバイ ス • より良いレプリケーショ ン構成を提案 メモリ使用状況 • メモリ/キャッシュの利用 状況を監視 • パフォーマンス向上のた めのメモリチューニング をアドバイス スキーマ • 計画されていないスキー マ設定変更を監視・アド バイス • セキュリティの抜けを検 出 パフォーマンス • 適切な性能パラメータ設 定を監視・アドバイス • 潜在的なパフォーマンス のボトルネックを検出 • お客様企業個別のベス トプラクティス • ニーズに合わせて、 MySQL アドバイザを新 規作成あるいは修正 カスタマイズ 250以上のルール、70以上のグラフ カスタムスクリプトの作成、展開、バージョニング、管理にかかる時間を短縮。 データベース管理者だけでは発見不可能な問題やチューニング方法をアドバイス。
  • 53. 53 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. • 設定 スケジューリング • 警告や通知 • ビジュアルな監視 • クエリ解析 サービスエージェントは全ての MySQL Enterpriseプラット フォームをサポート サービスマネージャ (Javaサーブレット)はLinux, Solaris, Mac OSX, Windows で稼働 Enterprise Dashboard(JSP) Webベース レポジトリは分析用のパフォー マンスの履歴情報を格納 MySQL Enterpriseサーバ + サービスエージェント Enterprise Dashboard サービス マネージャ レポジトリ Customer Datacenter • アドバイザでの監視 • イベント毎の警告や通知 • 統計情報の収集とレポジトリ への格納 MySQLやOS、クエリの 統計情報を収集し、マ ネージャに送信 MySQLやOS、クエリの 統計情報の履歴を格納 Enterprise Monitorのアーキテクチャ Master-Slave レプリケーション
  • 54. 54 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. • MySQLデフォルト・スレッド処理 パフォーマンスは高いが、接続数が拡大するとスケーラビリ ティに制約が出る可能性がある • MySQL Thread Pool ユーザ接続数の増加に対応し、 パフォーマンスとスケーラビリティを維持 • Thread Pool API MySQL Enterprise Scalability Thread Pool
  • 55. 55 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. デフォルトのスレッド処理 内部クライアント デフォルト・スレッド 処理 接続 /ステートメントが 永続的にスレッドに 割り当てられる • 接続は永続的に1スレッドに割り当てられ、すべてのステートメントに同じスレッドが使用 • スレッド、ステートメントの実行に優先順位付けは行わない • 多数の同時接続 = サーバー・メモリのを大量に消費し、スケーラビリティに制約が出る可能性 接続実行スレッド 外部クライアント
  • 56. 56 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Thread Poolの有効化 内部クライアント 接続実行スレッド 外部クライアント Thread Pool Thread Group 1 Threads 1 - 4096 Thread Group 2 Threads 4097 - 8193 Thread Group N Threads 8194 - N • スレッド・グループ数を設定可能(デフォルト = 16)、4096スレッド • ラウンド・ロビンによって各接続をスレッド・グループに割り当てる • スレッドは優先付けされる。ステートメントはキューに挿入することで同時 実行を制限し、 サーバの負荷や接続増加に対応したスケーラビリティを確保 Thread Group 1 Thread Group 2 Thread Group N
  • 57. 57 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Edition Thread Pool有り MySQL Community Edition Thread Pool無し MySQL Enterprise Edition Thread Poolでスケーラビリティが18倍向上 MySQL 5.6.11 Oracle Linux 6.3、Unbreakable Kernel 2.6.32 4 sockets、24 cores、 48 Threads Intel(R) Xeon(R) E7540 2GHz CPUs 512GB DDR RAM
  • 58. 58 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Edition Thread Pool有り MySQL Community Edition Thread Pool無し MySQL Enterprise Edition Thread Poolでスケーラビリティが60倍向上 MySQL 5.6.11 Oracle Linux 6.3、Unbreakable Kernel 2.6.32 4 sockets、24 cores、 48 Threads Intel(R) Xeon(R) E7540 2GHz CPUs 512GB DDR RAM
  • 59. 59 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. • PAM(Pluggable Authentication Modules) • 外部認証方式へのアクセス • 標準のインタフェース(Unix、LDAP、Kerberosなど) • プロキシ/非プロキシユーザー • Windows • ネイティブWindowsサービス(WAD)へのアクセス • Windowsにログイン済みユーザを認証 • プラガブル認証API MySQL Enterprise Security MySQLの外部認証 MySQLアプリケーション を既存のセキュリティ・インフラストラクチャ/SOPと統合
  • 60. 60 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Audit ポリシーベースの監査機能を提供 • ログオン、クエリーの情報を監査可能 • ユーザがポリシーを設定可能:フィルタリング、ログローテーション • 動的に設定を変更可能:Audit設定時にサーバの再起動が不要 • Oracleの仕様に合わせてXMLベースの監査ログを出力 • MySQL 5.5のAudit APIを使って実装 • MySQL 5.5.28 以上で使用可能 監査が必要なアプリケーションでもMySQLを利用可能
  • 61. 61 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle VM Template for MySQL • Oracle Linux、Unbreakable Enterprise Kernelを搭載 • Oracle VM & Oracle VM Manager • Oracle Cluster File System 2 (OCFS2) • MySQL Database (Enterprise Edition)  プレインストール、事前構成済  完全な統合および QAテスト  サポートの一元化* Windows Server フェール オーバークラスタリング • MySQLまたは基盤になっているサーバーの障害が検 出された場合; MySQLはスタンバイ・ノードで再起動 • メンテナンス作業のための手動でのフェールオーバー  ネイティブWindows Clusteringサービスを使用して ビジネス・クリティカ ル・アプリケーションを構築  Windows上でHAソリューションを拡張 MySQL Enterprise High Availability •Oracle LinuxおよびOracle Virtual Machineの技術サポートには、 Unbreakable Linux Networkのサブスクリプションが必要
  • 62. 62 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. • 認定構成だからこそ実現できる、Oracleによる フルスタックサポート – Oracle Linux Unbreakable Enterprise Kernel R2 に 統合されたDRBD – Oracle Linux6.2以上で使用可能 – オラクルのULN (Unbreakable Linux Network)から パッケージを更新 – クラスタリングとフェイルオーバーのために、 Pacemaker と Corosync を使用 • 分散ストレージを利用するため、共有ディスクや SAN不要 – 同期レプリケーションによってデータを失うリスクを回避 • オープンソースで実績の多いソリューション MySQL Enterprise High Availability Oracle Linux + DRBD Stack ※ホワイトペーパー : DRBD - Configuration and Deployment Guide http://www.mysql.com/why-mysql/white-papers/mysql_wp_drbd.php
  • 63. 63 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise High Availability Oracle Solaris Clustering • カーネルレベルでのハートビートと監視 • SPARCおよびx86。 Solaris Virtualization と組み合わせ可能 • MySQL向けのエージェントがOracle Solaris Cluster に含まれている • 詳細は: http://www.oracle.com/technetwork/server-storage/solaris-cluster/overview/index.html
  • 64. 64 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQLの高可用性ソリューション MySQL 5.6 レプリケーション Oracle VM Template Solaris Cluster Windows Cluster DRBD MySQL Cluster 自動フェイルオーバー ✔ ✔ ✔ ✔ ✔ ✔ データロス無し Semi-Sync ✔ ✔ ✔ ✔ ✔ サポートOS All Linux Solaris Windows Linux All クラスタモード Master + Slaves Active/ Passive Active/ Passive Active/ Passive Active/ Passive Multi- Master 共有ディスク 不要 必要 必要 必要 不要 不要 可用性デザイン 99.9% 99.99% 99.99% 99.95% 99.99% 99.999% 単一ベンダサポート ✔ ✔ ✔ ✖ ✔ ✔
  • 65. 65 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. • Oracle Fusion MiddleWare • WebLogic Server • Database Adapter for Oracle SOA Suite • Oracle Business Process Management • Oracle Virtual Directory • Oracle Data Integrator • Oracle Enterprise Performance Management • Oracle Identity Analytics • Open SSO STS, Open SSO Fedlet • Oracle Linux • Oracle VM • Oracle VM Template for MySQL Enterprise Edition • Oracle Solaris Clustering • Oracle GoldenGate • Oracle Secure Backup • Oracle Audit Vault and Database Firewall • MyOracle Online Support MySQL EnterpriseとOracle製品との動作保証 対応済み
  • 66. 66 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. • Oracle Fusion MiddleWare • WebCenter Suite • Enterprise Content Management • Oracle Business Intelligence Suite • Oracle Clusterware • Oracle Enterprise Manager • その他… MySQL EnterpriseとOracle製品との動作保証 対応中
  • 67. 67 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Supportの特徴 • 「パフォーマンス・チューニング」や 「SQLチューニング」まで通常サポートの範囲内 – コンサルティングサポートが含まれており、「クエリ・レビュー」、「パフォーマンス・ チューニング」、「レプリケーション・レビュー」、「パーティショニング・レビュー」 などに対応可能 – 詳細はこちらを参照下さい http://www-jp.mysql.com/support/consultative.html • ソースコードレベルでサポート可能 – ほとんどのサポートエンジニアがソースを読めるため、対応が早い – 開発エンジニアとサポートエンジニアも密に連携している
  • 68. 68 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. •物理サーバー単位課金 – CPU数、コア数に依存しない価格体系 •オラクルのライフタイムサポート – 詳細はこちらを参照下さい http://www.oracle.com/jp/support/lifetime-support/index.html http://www-jp.mysql.com/support/ MySQL Supportの特徴
  • 69. 69 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster Carrier Grade Edition
  • 70. 70 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Clusterとは? • MySQLとは開発ツリーの異なる別製品 • 共有ディスクを使わずに、アクティブ-アクティブのクラスタ構成が組める • 元々はSQLを使わないデータベースだったが、MySQLと統合され SQLも使えるようになった (NoSQL(KVS)とSQLの両方が使えるデータベース) 向いているシステム • 高可用性が求められるシステム • 同時多発的に大量のトランザクションが発生するシステム • 読込み処理だけでなく、書込み処理に対しても拡張性が求められるシステム
  • 71. 71 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster: Overview • 自動シャーディング、マルチマスター • ACID 準拠のトランザクション, OLTP + Real-Time Analytics 読込み/書込み処理 に対する高い拡張性 • シェアードナッシング、単一障害点無し • 自動修復 + オンラインオペレーション 99.999% の高可用性 • オープンソース + 商用版 • コモディディハードウェア + 充実した管理ツール、監視ツール 低い TCO • Key/Value + SQL の柔軟性 • SQL + Memcached + JavaScript + Java + JPA + HTTP/REST & C++ SQL + NoSQL • インメモリデータベース + ディスクデータ • 非常に低いレイテンシ、短いアクセス時間 リアルタイム
  • 72. 72 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 導入事例: 携帯電話ネットワーク HLR / HSS 課金, 認証, VLR 認証, 追跡接続 サービス, 課金 位置情報 の更新 プリペイ& ポストペイ課金 • 大量の書き込みトランザクション • 3ms未満のデータベースレスポンス • 停止時間 & トランザクション消失 = ビジネスの損失 MySQL Cluster in Action: http://bit.ly/oRI5tF
  • 73. 73 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 導入事例: 航空機管制システム • 米国海軍航空母艦 • 包括的航空機運用管制システム • メンテナンス記録 • 燃料搭載量管理 • 気象状況 • 飛行甲板管理 • システム要件 • 単一障害点無し • 完全な冗長性 • 小さなフットプリント & 過酷な利用環境で の利用 • 4台のMySQL Clusterノード Linux およびWindows MySQL User Conference Session: http://bit.ly/ogeid3
  • 74. 74 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Who’s Using MySQL Cluster?
  • 75. 75 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster アーキテクチャ データ・ノード ノード・グループ1 F1 F3 F3 F1 ノード1ノード2 ノード・グールプ 2 F2 F4 F4 F2 ノード3ノード4 アプリケーション・ノード 管理ノード管理ノード RESTJPA
  • 76. 76 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. SQLとNoSQL それぞれのベストを採用 SQL と NoSQLの組み合わせ • SQL: 複雑なリレーショナル・クエリ • HTTP / memcached: キー・バリュー型Webサービス • Java: エンタープライズ・アプリケーション • NDB API: リアルタイム・サービス • Node.js: 非同期処理 様々な 組み合わせ データ・ノード NDB API クライアント ネイティブ memcached HTTP/REST JDBC / ODBC PHP / PERL Python / RubyNode.js
  • 77. 77 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster ベンチマーク結果 7.1と比べて8倍の性能向上 1分間に10億回の読取り(SELECT) - 8x Intel Xeon x5670, NoSQL C++ API, flexAsynch benchmark 0 2 4 6 8 10 12 14 16 18 20 MySQL Cluster 7.1 MySQL Cluster 7.2 ReadsperSecond(Millions)
  • 78. 78 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster ベンチマーク結果 1分間に43億回の読取り(SELECT) - 30x Intel Xeon E5-2670, NoSQL C++ API, flexAsynch benchmark
  • 79. 79 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 0 5 10 15 20 25 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 MillionsofUPDATEsperSecond MySQL Cluster Data Nodes MySQL Cluster ベンチマーク結果 非常に高いスケーラビリティ 1分間に12億回の書込み(UPDATE) - 30x Intel Xeon E5-2670, NoSQL C++ API, flexAsynch benchmark
  • 80. 80 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster 7.3: Connection Thread Scalability  データノードへのコネクションのスルー プット向上  mutexの分割により、スループットが向上  設定をより簡単に  スケーラビリティの向上  最大ノード数は256ノードまで  接続毎に7.5倍の性能向上  SQL & NoSQL の両方において MySQL Cluster Data Nodes MySQL Cluster Data Nodes With Connection Thread Scalability
  • 81. 81 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster Connection Thread Scalability • DBT2 Benchmark – Single MySQL Server – Single Data Node – 128 client connections 8.5x
  • 82. 82 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 監視 & リカバリ 無停止 メンテナンス 管理作業 の自動化 低コストでより柔軟性をもった 高可用性データベース環境を構築&管理可能に MySQL Cluster Manager
  • 83. 83 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Cluster Manager 例: MySQL Cluster 7.0 から 7.2へのアップグレード • 1 x クラスタの事前状態チェック • 8 x ssh コマンド/サーバー • 8 x 停止コマンド/プロセス • 4 x 構成ファイルの転送 - scp (2 x mgmd & 2 x mysqld) • 8 x プロセスごとの開始コマンド • 8 x 開始または再参加プロセスの確認 • 8 x 完了確認処理 • 1 x クラスタ全体の完了確認 • 各構成ファイルの手動による編集を除 合計: 46 コマンド- 2.5 時間の作業 MySQL Cluster Manager 導入前 MySQL Cluster Manager では upgrade cluster --package=7.2 mycluster; 合計: 1 コマンド - 完全自動処理 – データベース・クラスタ管理の負荷 および複雑さを削減 – 管理エラーによるダウンタイムの リスクを排除 – クラスタ管理のベストプラクティス を自動化
  • 84. 84 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Edition & Cluster CGEの評価 • Oracle Software Delivery Cloud http://edelivery.oracle.com/ • 製品パックを選択: “MySQL Database” • 製品マニュアル http://dev.mysql.com/doc/index-enterprise.html 30日間トライアル
  • 85. 85 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQLの最新情報配信 • MySQLホームページ http://www-jp.mysql.com/ • MySQL イベント http://www-jp.mysql.com/news-and-events/events/ • MySQLニュースレター(月刊)※マイプロファイル内からMySQLを選択ください http://www.oracle.com/jp/syndication/subscribe/index.html • MySQL Twitter @mysql_jp • OTN セミナー オンデマンド コンテンツ http://www-jp.mysql.com/news-and-events/generate-article.php?id=1709
  • 86. 86 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle University MySQL研修コース • MySQL管理 I – 日数:3日間 – 内容:インストール、設定、管理操作、ストレージエンジンの特徴、ユーザー管理 • MySQL管理 II – 日数:2日間 – 内容:テーブルメンテナンス、エクスポートインポート、ストアドルーチン、ビュー、 バックアップ・リカバリ • MySQL Performance Tuning – 日数:4日間 – 内容:チューニング戦略、サーバー設定変数、 ステータス変数、クエリ最適化 ※英語テキスト • MySQL Cluster – 日数:3日間 – 内容:クラスタの管理 ※英語テキスト オラクルMySQL研修コース : www.oracle.com/jp > 研修/資格 > 研修サービス > Database > MySQL http://education.oracle.com/pls/web_prod-plq-dad/ou_product_category.getFamilyPage?p_family_id=406 管理 I 管理 II Tuning HA Cluster Cluster資格対応 Administrator資格対応
  • 87. 87 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. お問合せ先 • [MySQL お問い合わせ窓口] 0120-065556 【受付時間】 平日 9:00-12:00/13:00-18:00 (祝日及び年末年始休業日を除きます) MySQL-Sales_jp_grp@oracle.com
  • 88. 88 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
  • 89. 89 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 89