38
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | MySQL支持运作合理化的策略 杨鲁 [email protected] MySQL 技术顾问 April 15th, 2015

MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL支持运作合理化的策略

杨鲁 [email protected] MySQL 技术顾问 April 15th, 2015

Page 2: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

议程

1

2

3

为何引进MySQL会成为企业的策略? 推进的原则 成功案例分享

2

Page 3: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

人们用MySQL的原因?

低成本 可靠度 性能 容易使用

Page 4: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL的导入曲线

发展初期

‘有最好’ 的阶段

发现其对运营的价值

对企业至关重要

典型的”自下而上”的引进模式

Time

Criti

calit

y

Page 5: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL引进您的组织 在引入早期时的MySQL管理

以‘网页’支持 以‘mysqldump’备份 以‘脚本’监控 以‘日志’调优 以‘密码’保护

一开始时还不错,但是当事情逐渐演变时…

Page 6: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

用户

/相依

销售部门无法自其IT部门得到正确报表. 自行建立一个资料集系统自订单系

统获取资料以服务销售主管的报告资料

运作得很好,所以加入财务部门的资料以服务高阶管理的需要

关键性任务

资料集的用户涵盖整个销售团队,高阶主管团队,财务部门主管,市场和服务部门 (超过200个人) ,同时有3个后台系统-订单,帐务和客户关系管理系统

Day 1 6 months 1 year

由”有最好”转成”关键性应用”的转折点

有比较好

随着时间演化成关键性任务的定制化应用系统 例子

Page 7: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

发展曲线

引进初期

‘有比较好’ 的时代

发现其对营运的价值

对企业至关重要

典型的模式

时间

重要性

在12个月内由初始阶段发展到对企业至关重要阶段并不少见 这意味著现在就’必需要’为未来的预算及早规划 重点是要对’对企业至关重要’的阶段准备

演示者
演示文稿备注
Business critical status reached increasingly fast considering the deluge of data we are facing
Page 8: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Operationalization Principles

Page 9: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Strategic Operationalization的原則

总成本 风险

性能

演示者
演示文稿备注
Need to ensure: Organizational scalability (no ad-hoc solutions for each dept) Low TCO Crucial to manage risks
Page 10: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

组织的稳定性 自动化的需求

导入初期的发展是很快的 为整个组织提供稳定的工具和支援 自动化 提高成本效率的可扩展性是关键

增加运作的效率,同时进一步减少总成本 要根据成本效率的方式引进必要的工具

Page 11: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL 企业版所带来的重大总成本节省

11

Hardware Configuration: Intel x86_64 Servers: 4, CPUs/Server: 4, Cores/CPU: 8

Page 12: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

风险 自行保障的不确定性

•只通过远程网络的自行支持不具扩充性 •加固,保障,和审计十多个事例 •自动监控和性能分析 •自动备份和恢复 •保障服务时间 •保护机密资讯

管理风险,同时专注您的使命

Page 13: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

企业支持运作 除了有您所喜欢的功能之外

保障您的布署

取得最佳的成果

提升客户满意度

Improve Performance & Scalability

Enhance Agility & Productivity

Reduce TCO

Mitigate Risks

Get Immediate

Help if/when Needed

Increase Customer

Satisfaction

13

Page 14: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

监控和性能 MySQL Enterprise Monitor 和 Query Analyzer

立刻可用的主动监控 优化以适用于云计算 自动取得和分析性能资讯 自动发掘

依以往的经验,传统的调优方式例如取得日志,载入测试和开发查询分析最坏可能错失40%的不良SQL指令。生产环境的分析是很重要的。

Page 15: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

认证,强化和审计 MySQL Enterprise Security, Audit & Encryption

将MySQL和安全认系统连结在一起 不需要接触它们的平台也能管理200个以上的MySQL事例 降低DDoS( Distributed Denial of Service )攻击和手机应用漏洞的影响 审计抓取发生在资料库上的所有事件 保护机密资料和符合法令的要求

Page 16: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL Enterprise Scalability : 线程池

16

Performance Security

Availability

Internal Clients

Connection Execution Threads External Clients

Thread Pool Thread Group 1 Threads 1 - 4096

Thread Group 2 Threads 4097 - 8193

Thread Group N Threads 8194 - N

Thread Group 1

Thread Group 2

Thread Group N

•内含数量可配置的数个线程组 (默认 = 16) –各线程最多可有4096个可重复使用的线程

•各连线通过轮流的方式指派到线程组 •线程可设优先顺序,命令依顺序执行

–当并发连线数增加时改进扩充力,保护不受DOS攻击

Page 17: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL Enterprise Edition With Thread Pool

MySQL Community Server Without Thread Pool

20x Better Scalability with Thread Pool

MySQL 5.5.16 Oracle Linux 6.1, Unbreakable Kernel 2.6.32 2 sockets, 24 cores, 2 X 12-core Intel(R) Xeon(R) X5670 2.93GHz CPUs 72GB DDR3 RAM 2 X LSI SCSI Disk (MR9261-8i) (597GB)

有线程池的情况

演示者
演示文稿备注
Read from slide.
Page 18: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL 企业安全 •开启SSL 连线 •取用控制

–企业级的认证 (PAM, Windows, LDAP, 等.) –Proxy users

•审计和监控 –MySQL security advisors –Oracle Audit Vault

•Oracle Database Firewall

18

Page 19: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL 企业加密 •MySQL 加密库

–对称式加密 AES256 –密钥 / 非对称式加密

•密钥管理 –生成公钥和私钥 –密钥交换的方法: RSA, DSA, DH

•签证和验证资料 –Cryptographic hashing 做数据签证,验证和确证

19

Page 20: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

备份 MySQL Enterprise Backup

•线上,非阻碍式的备份和回复 •备份送到云的存储 ( 例如S3, 等 .) •增量备份 •指定时间点恢复 •跨平台(Windows, Linux, Unix)

DBA首要的责任 : 资料完整性

Page 21: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

数据库防火墙 •SQL Injection: 网路应用头号的威胁

–77% 的网站都有弱点 –每8个就有一个有重弱点

•MySQL Enterprise Firewall –实时监控数据库命令效能 –定”规则”自动生成任何应用的白名单 –自带数据库事务侦测和阻碍政策

21

Page 22: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

经认证的MySQL高可用方案

MySQL 5.6 Replication

Oracle VM Template

Solaris Cluster Windows Cluster

DRBD MySQL Cluster

Auto-Failover & Migration ✔ ✔ ✔ ✔ ✔ ✔

No Data Loss @ Failover Semi-Sync ✔ ✔ ✔ ✔ ✔

Platform Support All Linux Solaris Windows Linux All

Clustering Mode Master + Slaves Active/Passive Active/Passive Active/Passive Active/Passive Multi-Master

Shared Storage ✖ ✔ ✔ ✔ ✖ ✖

Availability Design 99.9% 99.99% 99.99% 99.95% 99.99% 99.999%

Single Vendor Support ✔ ✔ ✔ ✖ ✔ ✔

Page 23: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

•天生的Windows HA clustering支持MySQL •固障移转和计划中的维护 •Quorum (3rd vote), data (InnoDB + schema) 和程序 (optional) 存于共享存储 (iSCSI & FCAL) •服务中断时间=数秒 + InnoDB 恢复时间

–App sees temporary loss of connection and reconnects on same IP address –Replication slave recovers automatically

•通过MS Failover Cluster Management snap-in 图形介面管理集群 •不需新的软件/脚本

Windows 服务器固障移转集群

** Technical support for Windows Server Failover Clustering must be sourced from Microsoft.

手册下载: http://bit.ly/w3rSoP

Page 24: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL 5.6 Replication

Oracle VM Template

Solaris Cluster Windows Cluster

DRBD MySQL Cluster

Auto-Failover & Migration ✔ ✔ ✔ ✔ ✔ ✔

No Data Loss @ Failover Semi-Sync ✔ ✔ ✔ ✔ ✔

Platform Support All Linux Solaris Windows Linux All

Clustering Mode Master + Slaves Active/Passive Active/Passive Active/Passive Active/Passive Multi-Master

Shared Storage ✖ ✔ ✔ ✔ ✖ ✖

Availability Design 99.9% 99.99% 99.99% 99.95% 99.99% 99.999%

Single Vendor Support ✔ ✔ ✔ ✖ ✔ ✔

经认证的MySQL高可用方案

Page 25: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Oracle Linux 和 DRBD 技术堆叠 •基于分散式存储,非SAN

–同步复制不会有数据丢失的风险 •开源,成熟和经验证 •经Oracle认证及支持

–DRBD整合到 Oracle Linux Unbreakable Enterprise Kernel R2 –Pacemaker 和Corosync 做集群/固障移转 –通过ULN channel更新软件

•白皮书: –http://www.mysql.com/why-mysql/white-papers/mysql_wp_drbd.php

Page 26: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

MySQL Enterprise Support •最大的 MySQL 工程和支援团队 •有开发团队做后盾 •以29种语言做全球的支持 •Hot fixes 和 maintenance releases •24x7x365 •不限支援次数 •顾问咨询服务 •支援能量遍级全球

立即协助任MySQL的问题, 加上专家建议

26

Page 27: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

顾问咨询服务 使您的MySQL发挥到极至

•远程故障排除 •复制评估 •分区评估 •架构评估 •查询评估 •性能调优 •...还有更多

27

Page 28: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

管理工具 先进的功能 支援

•Scalability •High Availability •Security •Audit •Encryption •Firewall

•Monitoring •Backup •Development •Administration •Migration

•Technical Support •Consultative Support •Oracle Certifications

MySQL企业版

28

Page 29: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Single Dashboard to manage Oracle stack for Web & Cloud以同一个介面管理布署于本地和云端的Oracle相关技术 •据估计70%的Oracle客户同时也使用MySQL

–用于网路,客制化,部门和嵌入应用系统 –所有要求中排名最高的

29

Oracle Enterprise Manager for MySQL

Page 30: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

性能 •在增加容量同时兼顾效能 •监控和优化

心态

•保障 •在需要时能立刻得到协助

总成本 •降低故障的风险 •改善生产力

风险

•符合安控和法令的要求 •和 MySQL团队保持连系

开发营运的灵活性 •容量扩增和管理自动化 •弹性,线上备份

顾客满意度

•应用系统的效能 •应用系统提供服的时间

30

根本的要求

Page 31: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

公司介绍 瑞典的时尚连锁体系,在180个国家有直营店,且在28个国家有线线上销售 应用系统 以云为基础的电子商务应用系统,运行于MySQL企业版(一开始建在社群版上) 使用MySQL企业版的原因 “MySQL 企业版使我们能扩张和增长在现有的及新的国家的线上销售,同时还能维持低总成本。它是一个高性能,可用性和容易监看的资料库;我们对它非常满意。

Gina Tricot

31

演示者
演示文稿备注
Gina Tricot is a family-owned, Swedish fashion chain that consists of over 180 stores across the following five markets: Sweden, Norway, Denmark, Finland and Germany. Combined with growing online sales, the company reaches fashion-conscious women in 28 countries across Europe. In 2012, Gina Tricot reported sales of SEK 2.3 billion. Challenges Implement a reliable and scalable infrastructure to drive online sales both in countries with a physical presence via stores and in countries where the company sells exclusively online. Outsource the day-to-day administration of the e-commerce system, including the databases, to a local partner while maintaining overall overview and control of the system. Solution Selected MySQL to power Gina Tricot’s e-commerce application based on its reputation as default database for web-based transactional applications, its low Total Cost of Ownership (TCO) and the recommendation of the local partner in charge of the implementation. Decided to outsource both the physical infrastructure to a public cloud services provider and the day-to-day database administration to Oracle partner Emineo in Sweden. Implemented MySQL replication to improve performance and scalability. While the system was initially built using MySQL Community Edition, upgraded to MySQL Enterprise Edition in order to ensure better performance, reliability and security. The MySQL Enterprise Monitor visual dashboard furthermore provides the Gina Tricot IT managers with an overview of the health of the databases at any point in time. Using the MySQL Enterprise Monitor and MySQL Query Analyzer to detect poorly performing queries and to fix both existing and potential issues before they impact the application. Achieved objective of maintaining visibility on all key database performance indicators and control over the application while delegating the execution of the database administration tasks to a partner. "MySQL Enterprise Edition enables us to expand and grow online sales in both existing and new countries while maintaining a low TCO. It is a high performance, scalable and easy to monitor database; we’re extremely pleased with it." Nicklas Griphem, Manager Server & Infrastructure, Gina Tricot
Page 32: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

公司介绍 国际性的资讯技术服务公司,年营业达88亿欧元,7万7千多名员工遍布在全球52个国家 应用系统 Atos以MySQL企业版管理欧洲大陆的Euronext市场交易清算(现金和洐申性商品)。每天的处理超过一百万笔交易,而且其容量可达每天六万笔交易,大辐降低总成本。 使用MySQL企业版的原因 “MySQL使我们晚上能睡得安稳, 这在以前旧的系统时代是很难做到。我们以更低的成本交出了更好的成果,同时甲骨文的MySQL技术支援的水准非常棒。" Vincent Cornet, DBA Support Manager, Atos

Atos

32

演示者
演示文稿备注
Atos Manages Transaction Clearing for the Euronext Markets in Continental Europe with MySQL Enterprise Edition Atos is an international information technology services company with annual revenue of EUR 8.8 billion and 77,100 employees in 52 countries. Serving a global client base, it delivers IT services in 3 domains, Consulting & Technology Services, Systems Integration and Managed Services & BPO and transactional services through Worldline. In 2009 Atos was asked to drastically reduce the costs of the UCS application (Universal Clearing System): the compensation engine for the Euronext Cash (stocks and bonds) and derivatives markets in the Euro zone. In the financial sector, clearing is exercised by aggregating all purchases and sales by the type of product/assets held by each account holder, resulting in a balance of net payables or receivables as well as the net flows of securities delivered or received. Challenges  Migrate from a proprietary HP NonStop-SQL/MP environment towards an open source infrastructure enabling both a drastic reduction in the Total Cost of Ownership (TCO) as well as technology independence. Guarantee the robustness and the high availability of this highly mission critical financial application. Increase the performance and the scalability of UCS to address constantly growing transactions volumes. Solution Adoption of an Open Source strategy and complete re-engineering of the application relying on a software stack including Linux, MySQL Enterprise Edition, Apache/Tomcat, and the C and Java languages. The new system is architected around several servers or clusters of blade servers running Linux, some of them virtualized, and a SAN. The application primarily relies on the InnoDB storage engine, using the Memory storage engine to a lesser extent. Implementation of an architecture built around business processes acting as sub-components multi-instantiated to allow for better scalability. The previous architecture allowed siloed processes to become bottlenecks. Geographical redundancy achieved using synchronous replication between two data centers, separated by 40 kilometers. The UCS application handles : In excess of 1 million transactions per day, peaking at 2 million per day during the summer of 2011 8000 files sent to customers daily 700 batch processes each night Several benchmarks were run to ensure that the application could scale to handle more than 6 million daily transactions. Vincent Cornet, DBA Support Manager at Atos, recalls "During one of our benchmarks we faced a crash. We turned to Oracle’s MySQL support team and obtained a fix within 48 hours, which was subsequently integrated within the official MySQL version. We were extremely pleased with such responsiveness." The reengineering of the application handling the clearing for the Cash markets was a project that lasted for 15 months, involved 12,000 man-days of effort and resulted in: An entirely reworked platform and software architecture New data centers New SAN and commodity blade servers New administration and monitoring tools, including MySQL Enterprise Monitor and MySQL Workbench Successful delivery, and an extremely pleased customer Following that achievement, similar re-architecting of the clearing system for derivative products. Requiring teamwork between more than 40 people from different departments and a 24/7 task force for 6 months. The objective of drastically reducing TCO was realized while at the same time the maintenance of the system was simplified and its performance increased. The new UCS application has been a success and has been praised by all parties involved. In addition to being one of the best transactional solutions on the market, it also represents a great technological and human achievement thanks to the very strong cooperation between all of the teams to drive change using new technologies. Atos has moreover acquired an expertise valuable to other customers across multiple industries. Beyond an upgrade to MySQL 5.6, Atos is now also considering using MySQL Cluster within the UCS architecture or other similar applications in the future. "MySQL allows us to sleep soundly at night, which was far from being the case with the old system. We deliver better results at a lower cost, and the quality of Oracle’s MySQL support is exemplary." Vincent Cornet, DBA Support Manager, Atos
Page 33: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

公司介绍 知名的全球移动应用开发,管理及支付生态系统,协助消费者更能享受移动设备 应用系统 MySQL企业版支援Buongiorno的平台,储存8TB以上的资料并且每秒处理5万次查询,1万5千次交易 使用MySQL企业版的原因 我高度推荐MySQL企业版,最新版的MySQL Enterprise Monitor非常的有用,也为我们省下许多时间和力气。" Carmine Giordano, DBA Manager, Buongiorno

Buongiorno

33

演示者
演示文稿备注
Buongiorno Relies on MySQL Enterprise Edition to Power its Mobile Services Buongiorno is known in the worldwide mobile ecosystem for developing and managing paid applications and content that help consumers get greater enjoyment from their mobile devices. Buongiorno’s strategic goal is to deliver directly to consumers around the world a broad portfolio of content & services on all their personal devices, exploiting social and location based propositions, and letting telecom operators be in control of the billing. With direct connections to more than 130 telecom operators in 25 countries, over 10 years’ experience and a team of 600 professionals, Buongiorno makes the mobile internet experience happen for consumers globally. Buongiorno’s web apps brands include Gamifive, MuchGossip, Fingerbooks, Appsfuel HTML5 Marketplace, Winga, Play.me and the mobile payments solution Cashlog. Challenges Rely on a database delivering high performance and scalability to power Buongiorno’s mobile services. The database additionally needed to be very easy to use in order to rapidly launch and easily manage new fast growing applications. Implement an effective monitoring solution in order to increase Dev-Ops productivity and focus resources on strategic operations. Maintain a low Total Cost of Ownership (TCO) for its infrastructure, both initially and over time. Solution Selected MySQL to power Buongiorno’s platform.  The team especially valued its performance and scalability for mobile applications, including the ability to very quickly open and close connections to the database. MySQL was moreover extremely easy to use, and would allow the company to cost-effectively scale-out, adding more database servers at low cost to fuel its growing business. MySQL instances are hosted on virtualized servers. The architecture currently consists of over 50 MySQL database instances including: Over 40 “MySQL chains” as illustrated in the below diagram with circular replication between master and slave servers (or "Master Backup") to ensure High Availability, and replication to a second slave server for reporting purposes. Over 10 additional similar MySQL chains without replication to another slave server for reporting needs. More than 8 TB of data are stored in the MySQL master servers (excluding the replicas). The application handles: Over 50,000 queries/second Over 15,000 transactions/second While several MySQL versions are still in use in the platform, all servers are being migrated to MySQL 5.6 in order to take advantage of the latest features. Standardized on MySQL Enterprise Edition. Relying on the MySQL Enterprise Monitor Visual dashboard to monitor all MySQL databases at a glance. Automated alerts enable the Buongiorno DBAs to immediately focus on potential problems and fix them before they impact the system. Leveraging Oracle’s MySQL Technical support to assist their team. "We turn to the support team whenever we don’t know the answer, they are extremely good and really responsive" said Carmine Giordano, DBA Manager. Planning to use MySQL Enterprise Backup, that now integrates with their central company backup solution. "MySQL is an excellent database to deliver mobile applications; it’s really fast, reliable and easy to use. I highly recommend MySQL Enterprise Edition; the latest version of the MySQL Enterprise Monitor is extremely useful and saves us a lot of time and efforts." Carmine Giordano, DBA Manager, Buongiorno
Page 34: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

TSMC

Master

Slave/Backup

Slave/Read Slave/Read

Replication

Replication

Backup Fail-over

公司介绍 全球第一的芯片代工. 应用系统 ICOP 和 CCOP 是CIM的重要环节,自生生机台收集芯片测试数据且列示于控制室的仪表板,供制程工师分析并及时调整机台参数. 使用MySQL企业版的原因 MySQL 替我们证明低成本也可以有高可用, Andrew Yang – Principal Engineer, TSMC

评估 自四种不同的数据库评比中胜出

技术移转 Oracle MySQL为客户开了四次的研讨会

建立和迁移 测试

在Slave Server进行备份和管理

纳入标准 客户的技术评议委员会核定MySQL是唯二标准数据库

投入生产 企业数据库仪表板纳入MySQL

布署 随着生MySQL部署到所有芯片厂

加强及扩大应用 推广到基于网路旳供应炼应用系统 用SSD加强效能

Page 35: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

CMCC

35

公司介绍 全球最大的移动电信运营商. Application Fetion (结合短信和邮箱) 和MM(Mobile Market). Why MySQL Enterprise Edition? MySQL企业版使一台服务器能抵得上四台, – Heng Xing Wang – Director, CMCC

Page 36: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

总结 结束前的分享

•MySQL 已经在您的组织中还会持续成长 •是一个坚实的技术已用于无数的网路,客制化和部门等级的应用,很快用于对营运至关重要应用 •当成您的核心”自上而下”的企业方案 •立刻可用的提升技术

在发展的早期就采用这个方法以更快的降低总成本和系统化的管理风险

Page 37: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Learn More

Demos: MySQL Enterprise Edition – MySQL Cluster http://www.youtube.com/mysqlchannel

Try the Solutions: http://www.mysql.com/trials/

Page 38: MySQL支持运作合理化的策略 - oracle.com · Need to ensure:\爀伀爀最愀渀椀稀愀琀椀漀渀愀氀 猀挀愀氀愀戀椀氀椀琀礀 尨no ad-hoc solutions for each

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |