my sql overview 2012 04-25 by scott chen - 30min - tw-1
TRANSCRIPT
© 2010 Oracle Corporation
<Insert Picture Here>
MySQL–低成本也能保證高可用 – 跳躍的海豚
Scott Chen陳少川
Great China Regional Sales Manager
MySQLGlobal Business Unit
+86-13911785595 ; +886-975418467
QuickTime?and a decompressor
are needed to see this picture.
MySQL中文微博http://weibo.com/i/1915884687
MySQL華人區的博客
MySQL 正式進入大中華區的演進
© 2010 Oracle Corporation
• 2008年,以10億美金併入昇陽電腦(Sun Microsystems) • 由Sun軟體部門直接負責市場推廣與銷售
• 當時MySQL版本為5.1, MySQL Cluster 是7.1
• 2009年,成功獲得第一張企業客戶的大訂單 - 中國移動
• 飛信業務 – 用於73台Dell伺服器
• 成功的升級既有的微軟SQL server 到 MySQL企業版(既有設備不變)
• 2010~至今,每年持續的購買服務與使用最穩定,效能最好的MySQL企業版
• 2009年,開始建立大中華區的 MySQL 渠道佈局
• 2009年,開始大規模的在大中華區進行反山寨MySQL“打假運動”
• 2009年,獲得台灣及全球最大的半導體產領導企業認同,正式導入MySQL
• 在每一條生產線上,協助了降低約70%的軟硬體成本
• 2010年,昇陽電腦併入甲骨文公司
• MySQL 全球獨立部門的組織建立,開始有正式的 MySQL 專職人員規劃
• 在Oracle的管理體制下,發布最佳的版本 MySQL 5.5
• 正式提供全面的MySQL後台支持體系,及7×24的全天候服務保證
• 保證維持 MySQL 的開源政策 及 遵循 GPLv2 的規範
• 2011年,全面推展MySQL進入更多的企業用戶
• 全面的收到大中華區各個電信公司的 MySQL 訂單,及企業訂單
• 2011年,獲得華為300萬美金的MySQL嵌入合約
• 2012年,獲得大陸國家級“應急項目”1,000 套MySQL為資料庫的大型專案
• 2012年,正式發布廣受好評的 MySQL Cluster 7.2
• 獲得中華電信及亞太電信的訂單
• 2012年,獲得央行的青睞,為全台灣的金融機構提供“資金調撥”的資料庫服務
Oracle對MySQL的重視與承諾
2011年Oracle的開年雜誌封面
More Products Releases Than Ever Before 持續創新的MySQL
Q2 CY2010 Q3 CY2010 Q4 CY2010 Q1 CY2011
• MySQL Workbench 5.2
GA!
• MySQL Database 5.5
• MySQL Enterprise Backup 3.5
• MySQL Enterprise Monitor 2.3
•MySQL Cluster 7.2
• MySQL Cluster Manager
1.1All GA!
A Better MySQL
Q2 CY2011
•MySQL Enterprise Monitor 2.2
•MySQL Cluster 7.1
• MySQL Cluster Manager 1.0
All GA!
• MySQL Database 5.6
DMR*
and MySQL Labs!
*Development Milestone Release
© 2010 Oracle Corporation
Who is Using MySQL – The Top 20 Websites
全球前20大網路企業
1. Google
2. Facebook
3. Youtube
4. Yahoo
5. Windows Live
6. Wikipedia
7. Baidu
8. Blogger
9. MSN
10. QQ
11. Twitter
12. Yahoo JP
13. Google IN
14. Taobao
15. Google DE
16. Google HK
17. Wordpress
18. Amazon.com
19. Google UK
20. Sina
...and many more: Flickr, Second Life,Craigslist, Slashdot, LiveJournal,
Digg, Del.icio.us, Pricegrabber.com, Weather.com etc.
© 2010 Oracle Corporation
MySQL is Powering the Web
Enterprise 2.0 SaaS, Hosting
Web OEM / ISV’s
Telecommunications
2010年的MySQL全球客戶
Cloud
Web & Enterprise OEM & ISVs
MySQL Customers的全球大型企業客戶
© 2010 Oracle Corporation
2011年 MySQL 在大中華區的企業客戶
© 2010 Oracle Corporation
Major Customer in GCR,這兩年的主要大中華區客戶
MySQL 的產品簡易介紹
© 2010 Oracle Corporation
© 2010 Oracle Corporation
Making MySQL Better Today
MySQL Enterprise
Monitor (MEM)
監控分析工具
© 2010 Oracle Corporation
• 針對全面的 MySQL 環境做一整合儀表板
• 自動搜索 MySQL 環境內的資料庫伺服器及資料複製關係
• 可自定條件的客制化監控與報警功能
• 提早發現,防止問題的發生
• 降低 Down 的風險
• 易擴展
“Virtual MySQL DBA”
Assistant
MySQL Enterprise Monitor 企業版的監控功能
© 2010 Oracle Corporation
MySQL Enterprise Dashboard! 企業監控中心
資料庫和程式所的瀏覽器
資料庫負載狀況圖表
伺服器需要注意的資訊
嚴重警告信息提醒需要維護
及方法
“企業版監控功能模塊提供所有 MySQL 資料庫快速的,統一的,可視化儀表板。”
© 2010 Oracle Corporation
140+ Rules, 40+ MySQL, OS specific Graphs
MySQL Enterprise Expert Advisors 內置專家智庫
Administration
• Monitors and Advises on
Optimal Configuration
Security
• Monitors and Advises on
Unplanned Security
Changes/Loopholes
Upgrade
• Monitors and Advises on
Bugs/Upgrades that affect
current installation
Replication
• Monitors and Advises on
Master/Slave Latency.
Memory Usage
• Monitors and advises on
optimal memory/cache
settings
Schema
• Monitors and Advises on
Unplanned Schema
Change
Performance
• Monitors and Advises on
Optimal Performance
Variable Settings
• Built by DBA to Enforce
Organization specific best
practices.
Custom
MySQL Cluster
• Monitors and Advises on
status/ performance of MySQL
Cluster Data Nodes.
© 2010 Oracle Corporation
MySQL Query Analyzer 資料庫的問題分析查詢功能
以服务器或是应用组进行查询语句的审视
在任意波形图上以特定时间范围进行过滤
高级索引选项
以执行时间,总时间,平均时间,返回的行数,第一次出现时间,等等,进行排序
深入查询语句细节
© 2010 Oracle Corporation
Query Execution Drill Downs 查詢執行命令
Example query exec with variable substitution 變量替換的查詢說明
Trace query exec back to source code跟踪查詢原來執行的代碼
Full exec EXPLAIN 執行命令的解釋
© 2010 Oracle Corporation
與 MyOracle 整合服務
• MySQL Support Diagnostic Reports支持診斷報告
– Quickly collects/packages MySQL, OS and query diagnostics into portable
report for Oracle Support
提供快速收集/整理 MySQL, 操作系統和查詢診斷的報告
– Attach to new or existing SRs
增加到新的或是已經提交的服務清單
– Quicker diagnosis/fixing of problems
快速診斷/問題的修復
© 2010 Oracle Corporation
<Insert Picture Here>
MySQL Enterprise 企業版
MySQL Enterprise
Backup (MEB)
企業級的備份工具
© 2010 Oracle Corporation
MySQL 備份方式比較表
© 2010 Oracle Corporation
Making MySQL Better Today
MySQL Workbench
開發管理工具
© 2010 Oracle Corporation
MySQL Workbench: Unified Database IDE
MySQL
Database Admin
資料庫管理
Single Integrated GUI 單一整合界面
Unified IDE - like MS SQL Server Management Studio
© 2010 Oracle Corporation
資料建模+ 反向工程
© 2010 Oracle Corporation
簡單的管理 MySQL 資料庫
© 2010 Oracle Corporation
Scale-Out on Commodity Hardware
• 8 Intel servers – Dual-6-core CPUs @2.93 GHz
– 24GB RAM
• 2 Data Nodes per server
• flexAsync benchmark – 16 parallel threads, each issuing 256
simultaneous transactions
– Read / Write 100KB attribute
– Access via NDB API
4.3M
QPS
Copyright 2011 Oracle Corporation 26
1 BILLION QPM
• 8 x Intel Servers
– 2 x 6-core 2.93GHx, x5670 processors (24 threads per total)
– 48GB RAM
– Infiniband networking
– Linux 6.1
– flexAsynch benchmark, C++ NoSQL API (NDB API)
• 1 billion QPM (17.2m Reads per Second)
– 114m Updates per Minute (1.9m per second)
MySQL Cluster 7.2 的介紹
© 2010 Oracle Corporation
• 70x Higher Complex Query Performance: Adaptive Query Localization
• Native Memcached API
• MySQL 5.5 Server Integration
• Multi-Threaded Data Node Extensions
• VM Support
大幅度的提升下一代的網絡服務應用能力
• Multi-Site Clustering
• Simplified Active / Active Replication
大幅提升跨區域的數據中心抄寫同步能力
• MySQL Cluster Manager 1.1.4
• Consolidated Privileges
簡易的使用與管理
MySQL Cluster – 全球客戶及運用 Extreme Scalability, Availability and Affordability
•Web •High volume OLTP
•eCommerce
•User Profile Management
•Session Management & Caching
•Content Management
•On-Line Gaming
•Telecoms
•Subscriber Databases (HLR / HSS)
•Service Delivery Platforms
•VAS: VoIP, IPTV & VoD
•Mobile Content Delivery
•Mobile Payments
•LTE Access
Confidential, Oracle Internal Only
© 2010 Oracle Corporation
全面使用 MySQL高可用的大型架構
Session Management eCommerce
MySQL Master
Content Management
Slave 1
MySQL Master
Analytics
MySQL
Enterprise Monitor
Slave 2 Slave 3 Slave 4 Slave 5
Slave 6 Slave 7 Slave 8 Slave 9 Slave 10
Slave N
Slave 2
Node Group 2
F2
F4
Nod
e 3
N
od
e 4
F2
F4
Node Group 1
F1
F3
Nod
e 3
N
od
e 4
F1
F3
MySQL Cluster Data Nodes
MySQL Servers
Node Group 2
F2
F4
Nod
e 3
N
od
e 4
F2
F4
Node Group 1
F1
F3
Nod
e 3
N
od
e 4
F1
F3
MySQL Cluster Data Nodes
MySQL Servers
Slave 1 Slave 3
Data
Refinery
MySQL
Enterprise Backup
Memcache / Application Servers
Distributed
Storage
XOR
Key Point 要點回顧 •Do You Want to WIN all deals ? 專案的成功
•Do You Want to Cost Down? 低成本達到高可用
•Do You Need Safety? 規避法律風險 GPLv2
•Do You Need Enterprise Function ? 提供企業級的需求
•Do You Need MySQL Protection? Oracle的24*7服務
•Do You Need Open ? 全面開源的資料庫方案
© 2010 Oracle Corporation
Download Now
http://dev.mysql.com/downloads
© 2010 Oracle Corporation