Similar documents
MySQL és Hadoop mint Big Data platform (SQL + NoSQL = MySQL Cluster?!)

Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam

High Availability Solutions for the MariaDB and MySQL Database

Welcome to Virtual Developer Day MySQL!

MySQL CLUSTER. Scaling write operations, as well as reads, across commodity hardware. Low latency for a real-time user experience

MySQL High-Availability and Scale-Out architectures

<Insert Picture Here> MySQL in the Oracle Ecosystem

MySQL and Hadoop Big Data Integration

Tushar Joshi Turtle Networks Ltd

Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL

MySQL Reference Architectures for Massively Scalable Web Infrastructure

Database Scalability {Patterns} / Robert Treat

Database Scalability and Oracle 12c

In Memory Accelerator for MongoDB

High Availability Using MySQL in the Cloud:

MySQL Strategy. Morten Andersen, MySQL Enterprise Sales. Copyright 2014 Oracle and/or its affiliates. All rights reserved.

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

SCALABLE DATA SERVICES

HGST Virident Solutions 2.0

Flash Databases: High Performance and High Availability

Accelerating Enterprise Applications and Reducing TCO with SanDisk ZetaScale Software

MySQL Cluster Delivering Scalable & Highly Available Session Management

Active/Active DB2 Clusters for HA and Scalability

Synchronous multi-master clusters with MySQL: an introduction to Galera

<Insert Picture Here> MySQL Update

How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev. Percona Inc MySQLPerformanceBlog.

Tier Architectures. Kathleen Durant CS 3200

High Availability of VistA EHR in Cloud. ViSolve Inc. White Paper February

Oracle Database 12c Plug In. Switch On. Get SMART.

ScaleArc for SQL Server

MySQL Technical Overview

ScaleArc idb Solution for SQL Server Deployments

High Availability Solutions with MySQL

Top 10 Reasons to Choose MySQL for Web-based Applications

High Availability and Scalability for Online Applications with MySQL

On- Prem MongoDB- as- a- Service Powered by the CumuLogic DBaaS Platform

Top 10 Reasons why MySQL Experts Switch to SchoonerSQL - Solving the common problems users face with MySQL

<Insert Picture Here> Oracle NoSQL Database A Distributed Key-Value Store

MySQL High Availability Solutions. Lenz Grimmer OpenSQL Camp St. Augustin Germany

SAP HANA Operation Expert Summit BUILD - High Availability & Disaster Recovery

MySQL Enterprise Edition

Future-Proofing MySQL for the Worldwide Data Revolution

Exploring Amazon EC2 for Scale-out Applications

Mark Bennett. Search and the Virtual Machine

OLTP Meets Bigdata, Challenges, Options, and Future Saibabu Devabhaktuni

<Insert Picture Here> Playing in the Same Sandbox: MySQL and Oracle

Scalable Architecture on Amazon AWS Cloud

VMware Continuent. Benefits and Configurations TECHNICAL WHITE PAPER

MySQL ENTEPRISE EDITION

WHAT IS ENTERPRISE OPEN SOURCE?

Benchmarking Couchbase Server for Interactive Applications. By Alexey Diomin and Kirill Grigorchuk

Oracle Database Public Cloud Services

HYPER-CONVERGED INFRASTRUCTURE STRATEGIES

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

ORACLE DATABASE 10G ENTERPRISE EDITION

Enabling Database-as-a-Service (DBaaS) within Enterprises or Cloud Offerings

How to evaluate which MySQL High Availability solution best suits you

<Insert Picture Here> Oracle In-Memory Database Cache Overview

Exadata Database Machine

Oracle s Big Data solutions. Roger Wullschleger. <Insert Picture Here>

MySQL Cluster New Features. Johan Andersson MySQL Cluster Consulting johan.andersson@sun.com

Search Big Data with MySQL and Sphinx. Mindaugas Žukas

F1: A Distributed SQL Database That Scales. Presentation by: Alex Degtiar (adegtiar@cmu.edu) /21/2013

How To Use Big Data For Telco (For A Telco)

Running Oracle s PeopleSoft Human Capital Management on Oracle SuperCluster T5-8 O R A C L E W H I T E P A P E R L A S T U P D A T E D J U N E

Oracle: Database and Data Management Innovations with CERN Public Day

Building a Flash Fabric

Cloud Based Application Architectures using Smart Computing

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

MySQL and Virtualization Guide

MySQL performance in a cloud. Mark Callaghan

High Availability Solutions for MySQL. Lenz Grimmer DrupalCon 2008, Szeged, Hungary

Virtual Compute Appliance Frequently Asked Questions

Overview: X5 Generation Database Machines

Virtualization Strategy with Oracle VM and Oracle Linux. Bjorn Naessens

Maximizing Hadoop Performance and Storage Capacity with AltraHD TM

Elastic Scalability in MySQL Fabric using OpenStack

Oracle Linux Overview. Presented by: Anuj Verma Title: Senior Pre-Sales Consultant

Introduction to Database as a Service

SQL Server 2014 New Features/In- Memory Store. Juergen Thomas Microsoft Corporation

White Paper. Optimizing the Performance Of MySQL Cluster

Module 14: Scalability and High Availability

INTRODUCTION ADVANTAGES OF RUNNING ORACLE 11G ON WINDOWS. Edward Whalen, Performance Tuning Corporation

Real-time Data Replication

NoSQL Data Base Basics

Oracle Database 11g Comparison Chart

Oracle TimesTen In-Memory Database on Oracle Exalogic Elastic Cloud

Oracle Database - Engineered for Innovation. Sedat Zencirci Teknoloji Satış Danışmanlığı Direktörü Türkiye ve Orta Asya

Big data blue print for cloud architecture

SCALABILITY AND AVAILABILITY

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

MySQL Cluster Deployment Best Practices

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

Understanding Neo4j Scalability

vsphere 6.0 Advantages Over Hyper-V

How To Build A Fault Tolerant Mythrodmausic Installation

Transcription:

MyISAM Default Storage Engine before MySQL 5.5 Table level locking Small footprint on disk Read Only during backups GIS and FTS indexing Copyright 2014, Oracle and/or its affiliates. All rights reserved. 9

InnoDB Default Storage Engine since MySQL 5.5 ACID compliant transactions, MVCC Row level locking Clustered primary key index Foreign keys and and native partitioning Online backup and DDL operations SQL and NoSQL access to data Copyright 2014, Oracle and/or its affiliates. All rights reserved. 10

MySQL Cluster aka NDB Clustered database ACID compliant Row level locking Shards data automatically, transparent for application Foreign keys and and native partitioning Online backup and DDL operations SQL and NoSQL access to data Max 2TB Copyright 2014, Oracle and/or its affiliates. All rights reserved. 11

MySQL 5.5 InnoDB default SE InnoDB multiple BP, splitting and removing mutexes InnoDB 10X improvemet in InnoDB recovery speed Replication semi-synchronous replication Replication heartbeat Partitioning on more data types and more partition functions Performance Schema released Copyright 2014, Oracle and/or its affiliates. All rights reserved. 12

MySQL 5.6 GA Best release ever InnoDB scales up to 48 (60) cores InnoDB NoSQL access using memcached API Optimizer improvements for sub-queries Optimizer Explain on all type of statements Replication safer and more robust Replication multi threaded slaves Partition pruning in DML Copyright 2014, Oracle and/or its affiliates. All rights reserved. 13

MySQL 5.7 DM InnoDB for better transactional throughput, availability, IO Security with new encryption functions Replication for better scalability and availability Fabric for high availability and sharding Performance Schema for new and improved performance metrics Optimizer for better EXPLAINing, parsing, query performance GIS with native InnoDB spatial indexes and Boost.Geometry integration Available Now! dev.mysql.com/downloads/mysql/ Copyright 2014, Oracle and/or its affiliates. All rights reserved. 14

MySQL 5.7: Sysbench Benchmark 2x Faster than MySQL 5.6 3x Faster than MySQL 5.5 645,000 QPS MySQL 5.7: Sysbench Read Only (Point Select) Queries per Second 700 000 600 000 500 000 400 000 300 000 200 000 100 000 0 8 16 32 64 128 256 512 1 024 Connections MySQL 5.7 MySQL 5.6 MySQL 5.5 Intel(R) Xeon(R) CPU E7-4860 x86_64 4 sockets x 10 cores-ht (80 CPU threads) 2.3 GHz, 512 GB RAM Oracle Linux 6.5 Copyright 2014, Oracle and/or its affiliates. All rights reserved. 15

MySQL Future Focus on Web, Cloud, Embedded Architecture Improvements Improved Modularity Refactoring Optimizer, Parser, Runtime Web Scale Performance & Scalability Optimizer Cost Model InnoDB & Replication Improvements Management & Security Data Dictionary MySQL Enterprise Encryption Oracle Enterprise Manager for MySQL Copyright 2014, Oracle and/or its affiliates. All rights reserved. 16

MySQL HA Solutions MySQL Fabric DRBD Windows/S olaris/clust erware Clustering or Oracle VM MySQL Cluster MySQL Replication 9 9. 9 9 9 % 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 17

Mapping Uptime to Availability Replicated Systems Clustered & Virtualized Systems Web & Cloud Services Shared Nothing, Geo- Replicated Clusters ecommerce, Telecoms & Military Cost & Complexity SPs & Line of Business 9 9. 9 9 9 % 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 18

MySQL Fabric 1.5 High Availability + Sharding-Based Scale-out Application Application Connector Connector SQL MySQL Fabric Read-slaves Read-slaves HA group HA group High Availability Server monitoring with auto-promotion and transparent application failover Optionally scale-out through sharding Application provides shard key Range or Hash Tools for resharding Global updates & tables Fabric-aware connectors rather than proxy: Python, Java, PHP,.NET, C (labs) Lower latency, bottleneck-free Server provisioning using OpenStack etc. 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 19

19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 20

MySQL on Oracle Clusterware Oracle Clusterware unifies servers in a server farm to form a cluster At the core of Oracle RAC Oracle Cluster 12c includes MySQL Server 5.6 agent Planned migration and failover of MySQL database Hidden from the application 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 21

Windows Server Failover Clustering Native Windows HA clustering with MySQL Quorum (3rd vote), data (InnoDB + schema) & binaries (optional) stored in shared storage (iscsi & FCAL) Loss of service = couple of seconds + InnoDB recovery time Cluster managed through MS Failover Cluster Management snapin GUI Slave App App Virtual IP Vote Data App Bin 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 22

Oracle Solaris Clustering Kernel based heartbeating and monitoring SPARC and x86. Solaris Virtualization-aware MySQL agent included with Oracle Solaris Cluster Learn more: http://www.oracle.com/technetwo rk/server-storage/solariscluster/overview/index.html 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 23

Oracle Linux and DRBD Stack Application Based on distributed storage NOT physical shared storage Synchronous replication at block device level eliminates risk of data loss Open source, mature & proven Certified and supported by Oracle Services Cluster s/w Hosts MySQL MySQL VIP DRBD sync DRBD Pacemaker Corosync Oracle Linux Oracle Linux Active Standby 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 24

Oracle VM Template for MySQL Oracle VM Automatic Fault Detection & Recovery Oracle VM Pre-Installed & Pre-Configured Full Integration & QA Testing Single Point of Support Oracle VM Manager Secure Live Migration (SSL) Oracle VM Servers ocfs2 iscsi / FC-AL 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 25

MySQL Cluster Overview HIGH SCALE, READS + WRITES 99.999% AVAILABILITY REAL-TIME SQL + NoSQL LOW TCO Auto-Sharding, Multi-Master ACID Compliant, OLTP + Real-Time Analytics Shared nothing, no Single Point of Failure Self Healing + On-Line Operations In-Memory Optimization + Disk-Data Predictable Low-Latency, Bounded Access Time Key/Value + Complex, Relational Queries SQL + Memcached + JavaScript + Java + HTTP/REST & C++ Open Source + Commercial Editions Commodity hardware + Management, Monitoring Tools 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 26

MySQL Cluster Architecture Clients Application Layer Data Layer MySQL Cluster Data Nodes 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 27

MySQL Cluster Scaling Clients Application Layer Data Layer MySQL Cluster Data Nodes 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 28

MySQL Cluster HA Clients Application Layer Data Layer MySQL Cluster Data Nodes 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 29

Who s Using MySQL Cluster? 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 30

Oracle MySQL HA & Scaling Solutions MySQL Replication MySQL Fabric Oracle VM Template Oracle Clusterware Solaris Cluster Windows Cluster DRBD MySQL Cluster App Auto-Failover Data Layer Auto-Failover Zero Data Loss MySQL 5.7 MySQL 5.7 Platform Support All All Linux Linux Solaris Windows Linux All Clustering Mode Master + Slaves Master + Slaves Active/Pas sive Active/Passi ve Active/P assive Active/Pas sive Active/P assive Multi- Master Failover Time N/A Secs Secs + Secs + Secs + Secs + Secs + < 1 Sec Scale-out Reads Cross-shard operations N/A N/A N/A N/A N/A N/A Transparent routing For HA Shared Nothing Storage Engine InnoDB+ InnoDB+ InnoDB+ InnoDB+ InnoDB+ InnoDB+ InnoDB+ NDB Single Vendor Support 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 31

Best Choice for Next Generation Web & Cloud Applications Strong MySQL Momentum World s Most Popular Open Source Database Leading Open Source Database for Web Applications #1 Open Source Database in the Cloud Integrated with Hadoop in Big Data Platforms Copyright 2014, Oracle and/or its affiliates. All rights reserved. 32

Getting Started MySQL Enterprise Edition http://www.mysql.com/news-and-events/web-seminars/why-relying-on-mysql-enterprise-edition/ http://www.mysql.com/news-and-events/web-seminars/the-mysql-sys-schema/ MySQL Security and Upgrading to 5.6 http://www.mysql.com/news-and-events/web-seminars/mysql-security-whats-new-in-mysql-5-7-best-practices/ http://www.mysql.com/news-and-events/web-seminars/upgrading-to-mysql-5-6-best-practices/ MySQL Availability http://www.mysql.com/why-mysql/white-papers/#en-22-16 http://www.mysql.com/news-and-events/on-demand-webinars/#en-20-16 19th February 2015 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Copyright 2015, Oracle and/or its affiliates. All rights reserved 33

Thank You! Copyright 2014, Oracle and/or its its affiliates. All All rights reserved.