Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
MySQL Cluster 7.2Web-Scalability with Carrier-Grade Availability杜修文 Ivan.Tu@Oracle.ComOracle MySQL Sales Consultant
HIGHLIGHTS
Servicing the Most Performance-Intensive Workloads
70x HIGHER complex query performance     Real-Time Analytics Across Live OLTP Data
4x HIGHER per node performance          Reducing TCO
NoSQL Memcached APISchemaless, Key-Value Data Store
Multi-Site ClusteringAuto-Sharding Between Sites, with Auto-Failover
MySQL CLUSTER  MANAGERSimplifying Provisioning & Maintenance
議程                                    <Insert Picture Here>• Databases Are Exciting Again!!!• MySQL Cluster - What’s New• ...
MySQL Cluster – 用戶和應用       極佳的擴展性,可用度和成本效益比• Web   •   High volume OLTP   •   eCommerce   •   User Profile Management   •...
重要效益             Auto-sharding + Multi-master讀和寫的擴展力           Transactional, ACID-compliant relational database          ...
MySQL Cluster 的架構                    JPA            REST                          Application Nodes           Node Group 1...
MySQL Cluster - 極大的容錯能力                    JPA                 REST                          Application Nodes           N...
對計劃中的維護之處理    線上作業• 擴充 MySQL Cluster 容量 ( 線上增加和移除節點 )    表的重拆分•   作業系統的更新和上修復程式•   的更新和線上修復程式•   備份•   以即時,線上的方式更改架構 (Sche...
MySQL Cluster 7.2 GA
• 8 x Commodity Intel Servers  • 2 x 6-core processors 2.93GHz  • x5670 processors (24 threads    per total)  • 48GB RAM  ...
Adaptive Query Localization   Scaling Distributed Joins                           70x                                     ...
Auto-Sharding with High Availability• 對應用程式是透通的    • No need for application-layer sharding logic    • Partitioning based ...
MySQL Cluster 7.2 AQL Test Query          Web-Based Content Management System                                             ...
Web-Based CMS                                              70x                                               More         ...
Memcached Key-Value API                     持續,可擴展,                      memcached 的高可用後端                       • No appli...
MySQL 5.5 Server Integration             • Configure storage engine per-table             • Choose the right tool for the ...
Cross Data Center Scalability
Multi-Site Clustering                                            • 資料結點分散於多個資                                             ...
主/主的跨區域複製                •跨資料中心複製完整的                cluster 資料                 • 災備和取用當地資料                 • 不需要投資於怠機備份   ...
Ease of Use
簡化開通和維護             用戶開通和整合The existence, content and timing of future releases described here is included for information...
MySQL Cluster Manager                Reducing TCO and creating a more agile, highly                       available databa...
MySQL Cluster Manager 如何發揮效益 ?               Example: Initiating upgrade from MySQL Cluster 7.0 to 7.2          Before MyS...
MySQL Enterprise Monitor 2.3Copyright 2011 Oracle Corporation        30
MySQL Cluster in Action                   Web Reference ArchitecturesSession Management                                eCo...
如何開始                                                     Learn More                                    Scaling Web        ...
總結                              Scale Web Services with Carrier-Grade                                          Availabilit...
My sql cluster_taipei_event
Upcoming SlideShare
Loading in …5
×

My sql cluster_taipei_event

736 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

My sql cluster_taipei_event

  1. 1. MySQL Cluster 7.2Web-Scalability with Carrier-Grade Availability杜修文 Ivan.Tu@Oracle.ComOracle MySQL Sales Consultant
  2. 2. HIGHLIGHTS
  3. 3. Servicing the Most Performance-Intensive Workloads
  4. 4. 70x HIGHER complex query performance Real-Time Analytics Across Live OLTP Data
  5. 5. 4x HIGHER per node performance Reducing TCO
  6. 6. NoSQL Memcached APISchemaless, Key-Value Data Store
  7. 7. Multi-Site ClusteringAuto-Sharding Between Sites, with Auto-Failover
  8. 8. MySQL CLUSTER MANAGERSimplifying Provisioning & Maintenance
  9. 9. 議程 <Insert Picture Here>• Databases Are Exciting Again!!!• MySQL Cluster - What’s New• Resources to Get Started
  10. 10. MySQL Cluster – 用戶和應用 極佳的擴展性,可用度和成本效益比• 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 http://www.mysql.com/customers/cluster/
  11. 11. 重要效益 Auto-sharding + Multi-master讀和寫的擴展力 Transactional, ACID-compliant relational database Shared-nothing design, no Single Point of Failure99.999%可用性 On-Line operations: Scale, Upgrade Schema, etc. High-load, real-time performance即時的回應速度 Predictable low latency, bounded access times Complex, relational queries + Key/Value AccessSQL &NoSQL APIs MySQL, Memcached, C++, Java, JPA, HTTP / REST GPL & Commercial editions低總成本,開放平台 Commodity hardware, management & monitoring tools
  12. 12. MySQL Cluster 的架構 JPA REST Application Nodes Node Group 1 Node Group 2 Node 1 Node 3Cluster F1 F2 ClusterMgmt F3 F4 Mgmt Node 4 Node 2 F3 F4 F1 F2 Data Nodes
  13. 13. MySQL Cluster - 極大的容錯能力 JPA REST Application Nodes Node Group 1 Node Group 2 Node 1 Node 3Cluster F1 F2 ClusterMgmt F3 F4 Mgmt Node 2 Node 4 F3 F4 F1 F2 Data Nodes
  14. 14. 對計劃中的維護之處理 線上作業• 擴充 MySQL Cluster 容量 ( 線上增加和移除節點 ) 表的重拆分• 作業系統的更新和上修復程式• 的更新和線上修復程式• 備份• 以即時,線上的方式更改架構 (Schema)
  15. 15. MySQL Cluster 7.2 GA
  16. 16. • 8 x Commodity Intel Servers • 2 x 6-core processors 2.93GHz • x5670 processors (24 threads per total) • 48GB RAM • Linux• Infiniband networking• flexAsynch benchmark • C++ NoSQL API (NDB API)
  17. 17. Adaptive Query Localization Scaling Distributed Joins 70x More Performance • 跨伺服器做複雜的查詢mysqld • JOINs 推到資料節點 • 平行執行 A Data Nodes • 傳回單一的結果集到 MySQL Q • Opens Up New Use-Cases L • Real-time analytics • Recommendations engines • Analyze click-streamsmysqld Data Nodes 不需因牽就擴充力而犧生功能 !!
  18. 18. Auto-Sharding with High Availability• 對應用程式是透通的 • No need for application-layer sharding logic • Partitioning based on hashing all or part of the primary key • Each node stores primary fragment for 1 partition and back-up fragment for another 在固障移轉,升級和擴增容量以透通的方式維護 不會限制應用系統在 single-shard 的交易
  19. 19. MySQL Cluster 7.2 AQL Test Query Web-Based Content Management System MySQL Server Data Data Node1 Node2Copyright 2011 Oracle Corporation 19
  20. 20. Web-Based CMS 70x More Performance 87.23 seconds 1.26 secondsMust Analyze tables for best resultsmysql> ANALYZE TABLE <tab-name>;
  21. 21. Memcached Key-Value API 持續,可擴展, memcached 的高可用後端 • No application changes: re- uses standard memcached clients & libraries • 結合快取和資料庫層 • 去除 cache invalidation • 更容易重複使用多服務的資料 • 改善服務水準 • 具佈署的彈性 • 可以 Schema 或 Schema-less New 的方式儲存NoSQLAccess
  22. 22. MySQL 5.5 Server Integration • Configure storage engine per-table • Choose the right tool for the job • InnoDB: Foreign Keys, XA Transactions, Large Rows • MySQL Cluster: HA, High Write Rates, Real- Time • Reduces Complexity, Simplifies DevOps • Take advantage of MySQL 5.5 • 3x higher performance • Improved partitioning, diagnostics, availability, etc.
  23. 23. Cross Data Center Scalability
  24. 24. Multi-Site Clustering • 資料結點分散於多個資 料中心 • Synchronous replication Node Group 1 and auto-failover betweenData Node 1 Data Node 2 sites Synchronous Replication • Improved heartbeating to handle network partitions Node Group 2 • 增加高可用的選項Data Node 3 Data Node 4 • 不需處理衝突下的主/ 主資料庫
  25. 25. 主/主的跨區域複製 •跨資料中心複製完整的 cluster 資料 • 災備和取用當地資料 • 不需要投資於怠機備份 •簡化的主/主複製 Geographic Replication • 消除應用和架構變更所 需的需求 • 以交易為單位倒回
  26. 26. Ease of Use
  27. 27. 簡化開通和維護 用戶開通和整合The existence, content and timing of future releases described here is included for information only and may be changed at Oracles discretion.October 3rd, 2011
  28. 28. MySQL Cluster Manager Reducing TCO and creating a more agile, highly available database environment Automated Management Monitoring & High Recovery Availability OperationCopyright 2011 Oracle Corporation 28
  29. 29. MySQL Cluster Manager 如何發揮效益 ? Example: Initiating upgrade from MySQL Cluster 7.0 to 7.2 Before MySQL Cluster Manager With MySQL Cluster Manager • 1 x preliminary check of cluster state upgrade cluster --package=7.1 mycluster; • 8 x ssh commands per server • 8 x per-process stop commands • 4 x scp of configuration files (2 x mgmd & 2 x Total: 1 Command - mysqld) • 8 x per-process start commands Unattended Operation • 8 x checks for started and re-joined processes • Results • 8 x process completion verifications • 1 x verify completion of the whole cluster. • Reduces the overhead and complexity • Excludes manual editing of each configuration of managing database clusters file. • Reduces the risk of downtime resulting from administrator error Total: 46 commands - • Automates best practices in database 2.5 hours of attended operation cluster managementCopyright 2011 Oracle Corporation 29
  30. 30. MySQL Enterprise Monitor 2.3Copyright 2011 Oracle Corporation 30
  31. 31. MySQL Cluster in Action Web Reference ArchitecturesSession Management eCommerce Data Content Management Refinery Memcache / Application Servers MySQL Servers MySQL Servers MySQL Master Node Group 1 Node Group 2 Node Group 1 Node Group 2 F1 F2 F1 F2 Slave N F4 Node 3 F3 Node 3 F4 Node 3 F3 Node 3 F1 F2 F1 F2 F3 F4 Node 4 F4 Node 4 F3 Slave 8 Slave 9 Slave 10 Node 4 Node 4 Slave 6 Slave 7 MySQL Cluster Data Nodes MySQL Cluster Data Nodes Slave 1 Slave 2 Slave 3 Slave 4 Slave 5• 4 x Data Nodes: 6k Analyticspage hits per second MySQL Master XOR• Each page hitgenerating 8 – 12database operations Distributed Slave 1 Slave 2 Slave 3 Storage Whitepaper: http://www.mysql.com/why-mysql/white-papers/mysql_wp_high-availability_webrefarchs.php
  32. 32. 如何開始 Learn More Scaling Web Databases Guide www.mysql.com/cluster/ Evaluate MySQL Cluster 7.2 Bootstrap a Cluster! Download, No Download Today Obligation http://www.mysql.com/ https://edelivery.oracl downloads/cluster/ e.com/Copyright 2011 Oracle Corporation 32
  33. 33. 總結 Scale Web Services with Carrier-Grade Availability Don’t Trade Functionality for Scale Try it out Today!Copyright 2011 Oracle Corporation 33

×