mysql in the real world

22
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | MySQL in the Real WorldAbel Flórez [email protected] Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Upload: abel-florez

Post on 08-Jul-2015

207 views

Category:

Technology


0 download

DESCRIPTION

"MySQL in the Real World" talk at Librecon 2014

TRANSCRIPT

Page 1: MySQL in the Real World

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

MySQL in the Real World™ Abel Fló[email protected]

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

Page 2: MySQL in the Real World

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

Safe Harbor Statement

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

2

Page 3: MySQL in the Real World

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

Program Agenda

Oracle Stewardship

Reaching Out to the MySQL Community

Real World™ samples

1

2

3

3

Page 4: MySQL in the Real World

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

Program Agenda

Oracle Stewardship

Reaching Out to the MySQL Community

Real World™ samples

1

2

3

4

Page 5: MySQL in the Real World

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

Nearly 5 Years of Oracle StewardshipMore Investment, More Innovation

Jan 2010

Sept 2014

5

2x Engineering Staff3x QA Staff2x Support Staff

Page 6: MySQL in the Real World

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

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

MySQL Enterprise Backup 3.7

All GA!

Oracle Products Certifications

MySQL Windows Installer

MySQL Enterprise Security

MySQL Enterprise Scalability

MySQL Enterprise Audit

MySQL Cluster 7.2

MySQL Cluster Manager 1.3

MySQL Utilities

MySQL Workbench 6.0

All GA!

MySQL Windows Tools

MySQL Database 5.6

MySQL Cluster 7.3

MySQL Enterprise Monitor 3.0

MySQL Workbench 6.1

MySQL Enterprise Backup 3.11

MySQL Fabric

MySQL Workbench 6.2

MySQL Database 5.7 DMR*

MySQL Cluster 7.4 DMR

*Development Milestone Release

All GA!

Available Now!

Driving MySQL Innovation: 2010 - 2014

Partial List of Releases Delivered

6

Page 7: MySQL in the Real World

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

MySQL 5.7: Innovation & Quality

• Worklogs Implemented: 244

• New MTR Tests for 5.7: 497

• Total Bugs Fixed in 5.7: 1263

• Total Bugs Fixed since 5.5: 8259

Since MySQL 5.5 GA Dec 15, 2010

7

Page 8: MySQL in the Real World

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

MySQL & Oracle Product Integrations• Oracle Linux • Oracle VM• Oracle Solaris• Oracle Clusterware• Oracle Secure Backup

• Oracle Enterprise Manager• Oracle Fusion Middleware• Oracle GoldenGate• Oracle Audit Vault & Database Firewall• MyOracle Online Support

MySQL Integrates into your Oracle Environment

8

Page 9: MySQL in the Real World

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

Program Agenda

Oracle Stewardship

Reaching Out to the MySQL Community

Real World™ samples

1

2

3

9

Page 10: MySQL in the Real World

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

Improving Cloud Operations

• Provisions machines & MySQL– Initially using OpenStack Nova–Other cloud frameworks on the way

(OpenStack Trove, AWS,…)

• Server setup– Clones slave– Sets up replication– Performs custom operations

11

MySQL Fabric: OpenStack Server Provisioning

labs.mysql.com

Page 11: MySQL in the Real World

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

• Simple and convenient way to install & update MySQL products

• Supports the following distributions– Oracle, Red Hat, CentOS – Fedora– Ubuntu, Debian

• Coming Soon– SUSE– Preconfigured Containers– Improved support for popular DevOps

deployment tools

• The latest releases of– MySQL Database– MySQL Workbench– MySQL Connector/ODBC– MySQL Connector/Python– MySQL Connector/NET– MySQL Utilities

MySQL Community Repositories: Yum, APT, NuGET

12

Page 12: MySQL in the Real World

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

MySQL Source Code Available on GitHub • Git for MySQL Engineering

– Fast, flexible and great for a distributed team– Great tooling – Large and vibrant community

• GitHub for MySQL Community– Easy and fast code availability to the community and to downstream projects– Beta repo available today at https://github.com/mysql

– More info at http://mysqlrelease.com

13

Page 13: MySQL in the Real World

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

Program Agenda

Oracle Stewardship

Reaching Out to the MySQL Community

Real World™ samples

1

2

3

14

Page 15: MySQL in the Real World

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

"The notion persists within many traditional enterprises that once you reach a certain level of application importance, it is necessary to transition to big, expensive boxes running big, expensive databases. However, free-thinking members of their IT staffs are beginning to ask the question: 'What can we learn from Google, Yahoo, and Wikipedia on how to scale for high growth?'"

Stephen O'Grady, Principal AnalystRed Monk

Wikipedia relies upon MySQL replication to scale-out their database infrastructure and accommodate more visitors, more articles and more contributors.

Page 16: MySQL in the Real World

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

Suggesting that we could develop a synchronization server in a few months that would rival the performance and reliability of MySQL, which has been in development for nearly 20 years and is used by thousands of companies around the world, would have been ridiculous. Furthermore, none of our developers had experience developing high-performance, robust server software. We were more than happy to trust this portion of our software to open source developers.

Science Activity Planner (SAP) is the primary science downlink analysis and uplink planning tool for NASA’s Mars Exploration Rover Mission.

During each sol (Martian day) of mission operations, scientists and engineers use SAP to visualize the data acquired by the rover on previous sols and develop a plan of activities for the rover to accomplish on the next sol. Other operations tools then refine the plan and transmit it to the spacecraft.

SAP uses MySQL to synchronize data between multiple program instances and ensure HA

Page 17: MySQL in the Real World

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

Millions of people every day visit the BBC News website for their daily fix of world news and analysis. Stories from hundreds of dedicated journalists in all time zones are constantly being fed to the site, which currently attracts 35 million unique users and receives over 800 millionpage impressions each month.

The BBC wanted a dynamic system, working in real time, which would give audiences a real sense of the news stories on the website being picked up most by other users.

The challenge was to balance a demand for high performance with value for money on a limited budget. The BBC’s solution was to develop the 'BBC News Live Stats' system in-house, supported by an open source software stack consisting of Apache web servers, Linux as the operating system and the MySQL database for data management.

BBC News Website uses MySQL to Monitor Reader Interest

Page 18: MySQL in the Real World

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

”Caspur relies on MySQL Enterprise because MySQL is the de-facto industry-standard database used in Bioinformatics. The MySQL Query Analyzer allows more effective monitoring and optimization of database queries.”

Nico Sanna Senior Technology Manager Divisione HPC Chimica e Biologia Computazionale Consorzio CASPUR

CASPUR is a non-profit inter-university consortium which was founded in 1992, based in Rome. It deals with scientific supercomputing applications and innovative technologies.

CASPUR employs a MySQL Enterprise subscription that allows them to monitor application reliability using MySQL Monitor, and improves query performance through

the MySQL Query

Page 19: MySQL in the Real World

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

“MySQL represents a very reliable and strong foundation for a computational analysis application like ours, and has been a key to its success.”

Matti Hellqvist,Bank of Finland

The Bank of Finland (BoF) acts as Finland's central bank, national monetary authority,and member of the European System of Central Banks and the Eurosystem.The BoF has developed a versatile Payment and Settlement System Simulator (BoFPSS2),for making payments and settlement system simulations. The simulator can beused for analyzing liquidity needs, risk issues, settlement algorithms as well as changes inbehavioral patterns, authority policies & regulations, settlement conventions and pricingor costs issues. It is freely available for research purposes at http://pss.bof.fi.

The BoF selected MySQL as embedded database within its PSS2 product inorder to provide the turnkey, easy to use and powerful simulation application they were hoping other

central bank economists would also adopt.

Page 20: MySQL in the Real World

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

”The Central Registry is an extremely mission critical application that must never go down or face interruptions. Powering the Central Registry with MySQL Enterprise helped us ensure that the system is reliable and highly available while very performant and flexible.”

Jan FridénMedical Doctor, Sahlgrenska University Hospital

Sahlgrenska University Hospital (SU) provides emergency and basic care within the city of Göteborg with 700,000 inhabitants, as well as highly specialized care for the Västra Götaland county with 1.7 million inhabitants.Every year, Sahlgrenska University Hospital records two million referrals and comments through the Central Registry system which is powered by MySQL. All in all, the Central Registry manages about 100 gigabytes of data with up to 2,000 concurrent users on a yearly basis.

The Central iRegistry (CR) s a Java-based system where referrals and commentsare registered - either illustrated by images, graphs or as plain text.

Page 21: MySQL in the Real World

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

“Thanks in part to MySQL, we deliver a highly reliable and robust SaaSsolution to Fortune 100 companies at affordable prices that our competitors can’t touch.”

Trevor StansburyPresident, Supply Dynamics

Supply Dynamics is a leading supply chain solution provider that is focused on material consolidation solutions known as “Material Demand Aggregation.”

Supply Dynamics developed an innovative, SaaS solution that has the ability to seamlessly integrate with an OEM customer’s existing ERP/MRP/Data Warehouse systems such as SAP R/3. This allows the OEM to get an aggregate view into total raw material demand across its supply chain, encompassing a virtually unlimited number of manufacturing sites and sub-tier suppliers.

Supply Dynamics relies on MySQL to cost effectively store tens of thousands of unique multi-level Bill of Material records, synchronizing those in real-time with actual finished

part demand at the OEM.

Page 22: MySQL in the Real World

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

Thank You!

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