MySQL 高可用方案及成功案例
Upcoming SlideShare
Loading in...5
×
 

MySQL 高可用方案及成功案例

on

  • 641 views

 

Statistics

Views

Total Views
641
Views on SlideShare
641
Embed Views
0

Actions

Likes
1
Downloads
11
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

MySQL 高可用方案及成功案例 MySQL 高可用方案及成功案例 Presentation Transcript

  • <Insert Picture Here> MySQL 高可用方案及成功案例 Web Scale Performance, Carrier-Grade Availability 杜修文 Oracle MySQL Sales Consultant Ivan.Tu@Oracle.Com
  • MySQL Cluster – 用戶和應用 High Scale, Transactional, Real-Time with HA: Web & Telecoms • 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/
  • 高可用和擴充性 MySQL 複製 在資訊中心之內和之間橫向擴 充 自我療癒和不受失敗影響 支援多種架構 – Master/Slave, Cascading, Circular 預設是非同步,半同步是另一 種選項 複製工具以快速推進資料 支持監看和最佳實踐 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | Relay Log
  • MySQL 的高可用方案 • MySQL Replication • MySQL+DRBD (for Linux) Asynchronous replication Shared Nothing Active/Passive Application / Application / Web / Web AP Web / Web AP Load Balancing Fail Over on failure MySQL MySQL Asynchronous Server Server MySQL Server MySQL Synchronous Replication Server Replication • Shared Disk Based Active/Passive • MySQL Cluster Shared Nothing Active/Active Application / Application / Web / Web AP Web / Web AP Fail Over on failure MySQL Server Shared disk Load Balancing MySQL Server MySQL Cluster MySQL Synchronous Replication Cluster
  • MySQL Cluster 的架構 REST LDAP Application Nodes Node Group 2 F3 Node 3 F1 F3 F1 Data Nodes Node 4 Node 1 Cluster Mgr Node 2 Node Group 1 F2 F4 F4 F2 Cluster Mgr
  • MySQL Cluster 的組成 SQL Node (MySQL) NDB API (Application) Data Node (NDB Storage Engine) Management Node • Standard SQL Interface • Scale-out for Performance • Enables Replication • High Performance • C, C++ & Java, LDAP, HTTP API • Developer’s Guide • Data Storage (Memory/Disk) • Automatic & User-Defined Partitioning • Local & Global Checkpoints • Scale-out or scale-up for Capacity & Redundancy • Scale dynamically with on-line add node • Administration and Configuration • Arbitration • Use Two for Redundancy
  • MySQL Cluster - 極佳的存活力 REST LDAP Application Nodes Node Group 2 F3 Node 3 F1 F3 F1 Data Nodes Node 4 Node 1 Cluster Mgr Node 2 Node Group 1 F2 F4 F4 F2 Cluster Mgr
  • 複製的彈性 Cluster 1 InnoDB Synchronous replication Asynchronous replication Cluster 2 InnoDB InnoDB • Synchronous replication within a Cluster node group for HA • Bi-Direction asynchronous replication to remote Cluster for geographic redundancy • Asynchronous replication to non-Cluster databases for specialised activities such as report generation • Mix and match replication types
  • 這些年來大中華區的重要客戶 © 2010 Oracle Corporation
  • 在大型晶圓製造廠獲得了重大成就  評估   自四種不同的資料庫評比中勝出 技術取得  Oracle MySQL 為客戶開了四次的研討會  建立和遷移  全球最大的代工晶圓廠,總部在新竹 , 全球超過三萬名員工, Oracle/Sun, Nvida, VIA 均是其客戶,您的手機 , 遊戲機 , 筆電中一定有 TSMC 的產品 測試   納入標准   Passive Master Replication 企業資料庫儀表板納入 MySQL Slave 布署   客戶的技術評議委員會核定 MySQL 是唯二 標準資料庫 投入生產   在 Slave Server 進行備份和管理 加強及擴大應用  Replication 隨著 ICOP, MySQL 一布署到所有晶圓廠 用 SSD 加強效能 Slave/Read Slave/Read
  • Service Portal 資料庫架搆 - MySQL Cluster with Replication Load balancer MySQL-Enterprise Monitor In Site Replication MySQL-Slave (Reporting) Data Node Data Node MySQLCluster MySQLCluster In Site Replication SQL Node Fail over Cross Site Replication MySQL-Slave (Reporting) SQL Node Switch/Proxy Management Node Cross Site Replication Cross Site Replication MySQLCluster MySQL-Slave (Reporting) In Site Replication
  • U-Cloud 完整資料庫架構 Presentation/Logial Layer Data Access Layer (JPA) Cluster/J Sharding Layer (HiveDB...) MySQL Cluster 公共资源 码号资源 Lookup & Authentication SQL SQL Data Data SQL SQL Data Data 设备资源 设备资源 ETL BIDW 基础网 基础网 专业网 专业网
  • U-Cloud 測試結果 场景名称 查询 BSC 设备 查询 BSC 设备 城域网设备查询 城域网设备查询 地址查 地址查 地址查 地址查 随机读 随机写 随机写 批量资料录入 预算编制 预算编制 预算编制 并发数 100 300 100 300 100 300 500 1000 3000 1000 3000 100 100 200 300 响应时间 响应时间 S (單 S ( Cluster ) 機) 0.123 0.252 0.58 0.56 0.375 0.43 0.856 1.2 0.089 NA 0.406 NA 0.397 NA 0.5 NA 0.004 0.004 0.032 0.22 0.042 2.584 4.112 73.451 24.271 67.667 33.347 155.016 46.719 NA
  • 更多的資訊 mysql.com ● ● ● 總成本計算器 http://www.mysql.com/tcosavings/ 白皮書 https://www.mysql.com/why-mysql/white-papers/ 客戶成功案例 http://www.mysql.com/customers/ dev.mysql.com ● ● ● ● 下載 http://dev.mysql.com/downloads 文件 http://dev.mysql.com/doc/ 論壇 http://http://forums.mysql.com/ PlanetMySQL http://http://planet.mysql.com/ eDelivery.oracle.com • 下載及試用所有 MySQL 產品 http://edelivery.oracle.com
  • <Insert Picture Here> MySQL Cluster Web Scale Performance, Carrier-Grade Availability 杜修文 Oracle MySQL Sales Consultant Ivan.Tu@Oracle.Com