• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
What is new in MySQL? (Lars Thalmann)
 

What is new in MySQL? (Lars Thalmann)

on

  • 1,138 views

 

Statistics

Views

Total Views
1,138
Views on SlideShare
1,097
Embed Views
41

Actions

Likes
1
Downloads
40
Comments
0

2 Embeds 41

http://www.highload.ru 40
http://new.ritconf.ru 1

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

    What is new in MySQL? (Lars Thalmann) What is new in MySQL? (Lars Thalmann) Presentation Transcript

    • What is new in MySQL?Lars ThalmannDevelopment Director, MySQL Engineering, OracleMySQL Replication, Enterprise Backup, Connectors, and UtilitiesHighload 2012, 23 October 2012, Moscow 1Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 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 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 12 years with MySQL  2001 Joined Alzato (MySQL Cluster) (MySQL releases 3.23 GA)  2003 MySQL acquires Alzato (MySQL 4.0 GA)  2004 MySQL 4.1 GA  2005 MySQL 5.0 GA 2008 Sun acquires MySQL MySQL 5.1 GA MySQL Replication, Connectors,  2010 Oracle acquires Sun Enterprise Backup, Utilities MySQL & InnoDB in same company MySQL 5.5 GA  2012 MySQL 5.6 RC, MySQL Cluster 7.3 DMR, MySQL Enterprise Backup 3.8, Connector Python GA, ...3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 2003 MySQL acquires Alzato “It must be possible to install the software in 15 minutes.” “The source must be available to everyone.” “Everyone can download the software.” Chat systems, Agile development, 250 emails/day RESULT: MySQL Cluster became much easier to use. And Open Source.4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 2008 Sun acquires MySQL “Yeah, sure it is fast, but not on real computers.” “MySQL is only one of many products at Sun.” “There are people to help, especially with performance.” RESULT: MySQL performance started to increase a lot.5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 2010 Oracle acquires Sun “Oracle drives innovation. Make MySQL a better MySQL.” “Security is key.” “Quality and testing is essential.” MySQL & InnoDB in the same company RESULT: More development than ever before. More secure, more features, more testing. Huge InnoDB & MySQL performance improvements.6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • DELIVERING MORE BETTER ORACLE FASTER PRODUCTS DRIVES MySQL INNOVATION DELIVERING MORE ANDDELIVERING MORE BETTERBETTER PRODUCTS FASTER PRODUCTS FASTER7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Improving the MySQL Experience Users: MySQL 5.6 RC, MySQL Cluster, Labs Customers: Additional Commercial Extensions Oracle customers using MySQL: Integrations Across all major platforms8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Driving MySQL Innovation MySQL Enterprise Backup 3.7 MySQL Cluster 7.2 Oracle VM Template for MySQL MySQL Utilities 1.0.6 Enterprise Edition Microsoft SQL Server MySQL Enterprise Oracle Migration WizardMySQL Enterprise Monitor 2.2 Certifications All GA!MySQL Cluster 7.1 MySQL Windows InstallerMySQL Cluster Manager 1.0 New MySQL Enterprise MySQL Database 5.6.6 DMRMySQL Workbench 5.2 Commercial Extensions MySQL Cluster 7.3 in MySQLMySQL Database 5.5 Labs All GA!MySQL Enterprise Backup 3.5MySQL Enterprise Monitor 2.3 MySQL Database 5.6 DMR*MySQL Cluster Manager 1.1 MySQL Cluster 7.2 DMR MySQL Labs! All GA! (“early and often”) 2010 2011 Q1-Q2 2012 *Development Milestone Release 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Oracle Significantly Invests in MySQL  Complete Solutions  Best of Breed at Every Level  On Premise and in the Cloud  MySQL: Web, Mobile & Embedded10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Best of Breed Components for LAMP Apps Oracle Linux Oracle VM Higher Performance,  Oracle VM 3.0 4x More Unbreakable Enterprise Kernel Scalable than VMWare Lower Cost, Free to download &  Lower Cost, Free to download & distribute distribute Management Tools included  Application-Driven, Awareness High Availability included of what’s running inside the VM Easier Deployment  Integrated Management  Accelerated Deployment 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 2.2BN USERS 630M WEB SITES 955M USERS 552M DAILY ACTIVE 40% DATA GROWTH PER YEAR 72 HOURS UPLOADED EVERY MINUTE400m TWEETS $1TR BY 2013 PER DAY $700BN IN 2011 5.9BN MOBILE SUBS IN 2011 OVER 1.2 BILLION iOS & ANDROID 85% HANDSETS APPS IN 2012 SHIPPED WITH A BROWSER 12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • The Best of Both Words - No Trade-Offs SQL AND NoSQL Mix Key Value & Complex Queries Transactional Integrity Standards & Skillsets13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Improving the User Experience on Windows New Microsoft SQL Server to MySQL Migration Wizard New “MySQL for Excel” plug-in New MySQL Notifier Enhanced Installer Reduce your Database TCO by up to 90% Hardware Configuration: Intel x86_64 Servers: 4, CPUs/Server: 4, Cores/CPU: 814 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • STRONG MySQL MOMENTUM Over 15 million estimated active installations Facebook: 163K fans, +35% YoY Growth Twitter: 25K followers, +67% YoY Growth MySQL Newsletter: 1,35 M subscribers, +20% YoY Growth Events: Dozens of fully booked Dev Days & Tech Tours Awards: CRN, Linux Journal, PHP Architect... MySQL Ubiquitous in the Cloud MySQL Connect 2012 at Oracle Open World 15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Announcements from MySQL Connect 2012, Oracle Open World MySQL 5.6 RC MySQL Enterprise Backup 3.8 MySQL Cluster 7.3 First Development Milestone Release MySQL Connector Python GA New MySQL Enterprise Commercial Extensions16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6 RC17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6 Release Candidate  MySQL 5.6 builds on MySQL 5.5 by improving: - InnoDB for better transactional throughput, availability - Optimizer for better query execution times, diagnostics - Replication for high availability, data integrity - Performance Schema for better instrumentation - Other Important Enhancements  Available Now! Get it here: dev.mysql.com/downloads/mysql/18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6: InnoDB Better Performance, Scalability - Removal of legacy mutexes, CPU cache sharing - Improved threading and concurrency - Optimizations for Read Only workloads - SSD optimizations Better Availability - Online DDL operations - Dump, restore/warm buffer pool More Flexibility - Full Text Search - Transportable Tablespaces - NoSQL, Key-value access to InnoDB19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6: InnoDB  Key-value access to InnoDB Best of Both Worlds - via industry standard Memcached API - Use existing Memcached clients Application - Bypasses full SQL parsing SQL NoSQL  NotOnlySQL access (Memcached(MySQL Client) - For key-value operations Protocol) mysqld - SQL for rich queries, JOINs, FKs, etc. MySQL Server Memcached plugin  Implemented via: - Memcached plug-in to mysqld InnoDB Storage Engine - Memcached mapped to native InnoDB API - Shared process for ultra-low latency 20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6: Optimizer Subquery Optimizations File sort optimizations with small limit Index Condition Pushdown Postpone Materialization of views/subqueries in FROM Batched Key Access and Multi Range Read Better Diagnostics Huge Performance Improvements!21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6: Optimizer "records_estimation": [ { Better Diagnostics "database": "test", "table": "t6",  EXPLAIN "range_analysis": { "table_scan": { - INSERT, UPDATE, and DELETE "records": 2, "cost": 4.5034 - Structured EXPLAIN output }, "potential_range_indices": [  Optimizer Traces { "index": "d", "usable": true, "key_parts": [SET SESSION.OPTIMIZER_TRACE=‘enabled=on’; "d" ]SELECT (SELECT 1 FROM t6 WHERE d = c) }AS RESULT FROM t5; ], "best_covering_index_scan": {SELECT * FROM information_schema.OPTIMIZER_TRACE; "index": "d", "cost": 1.4233, "chosen": true }, 22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6 Replication: Design Goals PERFORMANCE • Less stale reads from slaves • Reduces risk of data loss if master fails FAILOVER & RECOVERY • Minimize service interruption • Self-Healing DATA INTEGRITY • Correct, consistent & accessible AGILITY • Reducing TCO • Quickly responding to business demand23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6 Replication: Enhancements PERFORMANCE • Multi-Threaded Slaves • Binary Log Group Commit • Optimized Row-Based Replication FAILOVER & RECOVERY • Global Transaction Identifiers • Replication Failover & Admin Utilities • Crash Safe Slaves & Binlogs DATA INTEGRITY • Replication Event Checksums AGILITY • Time Delayed Replication • Remote Binlog Backup • Informational Log Events24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 5x Faster Replication  Multi-Threaded Slaves – Updates applied in parallel, across schemas Multi-Threaded Slave Performance – Increases slave throughput  Binary Log Group Commit 300 250 – Groups updates to the binlogQueries per Second – Increases master performance 200 150  Optimized Row Based Replication 100 – Only replicates row elements that have changed 50 – Reduces binlog size 0 0 5 10 Worker Threads 25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Failover & Recovery: Self-Healing Replication  Global Transaction IdentifiersFailed – Simple to track replication progressMaster through the cluster  MySQL HA Utilities Promoted – Automate failover, switchover & recovery Master – Fully configurable slave promotion policies  Crash-Safe Slaves & Binlog – Automatically recover transactions and replication state Slaves 26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6 Performance Schema New Instrumentation New Features  Statements/Stages  Host cache  Table and Index I/O  New Summary tables  Table locks  Easier configuration  Users/Hosts/Accounts - Start up defaults in my.cnf  Network I/O - Auto tune  Reduced overhead27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6: Security Major overhaul of password handling, improved encryption - Provide alternatives to showing passwords in plain text - Assess/Enforce password strength policies - Enforce new password at next login - Stronger password hashing 28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL 5.6: Other Important Enhancements New default configuration optimizations TIME/TIMESTAMP/DATETIME - fractional second precision TIMESTAMP/DATETME – default /auto update = CURENT_TIMESTAMP TIMESTAMP – now nullable by default Improved Partitioning - Better performance for tables w/100s of partitions - Import/export tables to/from partitioned tables - Explicit partition selection GIS: Precise spatial operations and more... Get it now! 29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. dev.mysql.com/downloads/mysql/
    • MySQL CLUSTER 7.330 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL Cluster 7.3 DMR #1: Foreign Keys Brings MySQL Cluster to a broader range of workloads – Packaged apps, custom projects Adds powerful functionality while reducing complexity – App logic & data model Enabled by default town(PK) county county(PK) country Enforced for SQL Reading Berkshire Shropshire & England NoSQL APIs Shrewsbury APIs Shropshire Buckinghamshire England Maidenhead Berkshire Berkshire England On-line add and drop Oxford Oxfordshire Oxfordshire England31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL Cluster 7.3: Node.js NoSQL API Early Access Feature  Native JavaScript access to MySQL Cluster – End-to-End JavaScript: browser to the app and Clients database – Storing and retrieving JavaScript objects directly in MySQL Cluster – Eliminate SQL transformation V8 JavaScript Engine  Implemented as a module for node.js – Integrates full Cluster API library within the web app MySQL Cluster Node.js Module  Couples high performance, distributed apps, with high performance distributed database MySQL Cluster Data Nodes32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Evaluating MySQL Cluster 7.3 Development Release Tabhttp://dev.mysql.com/downloads/cluster/ http://labs.mysql.com/ 33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL EnterpriseCOMMERCIALextensions34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL Enterprise Edition Highest Levels of MySQL Scalability, Security and Uptime Oracle Premier Lifetime Support MySQL Enterprise Oracle Product Security Certifications/Integrations MySQL Enterprise MySQL Enterprise Audit Monitor/Query Analyzer MySQL Enterprise MySQL Enterprise Scalability Backup MySQL Enterprise High Availability MySQL Workbench35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • #1 DBA Concern - Is My Data Safe?…Who can see it? Do I know……What did they see? …what happened?…Who can change it? …and when?…What did they change? Can I prove what I believe to be true?…Are my apps compliant with company and legal requirements? 36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL Enterprise Audit Policy-based Auditing for MySQL Applications  Out-of-the-box logging of connections, logins, query activity across all or specific MySQL servers  User defined policies, filtering and log rotation  Dynamically enabled, disabled: no server restart  XML-based audit stream per Oracle audit specification  MySQL 5.5.28 and higher – Get it here: support.oracle.com and edelivery.oracle.com Adds regulatory compliance to MySQL applications37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL Enterprise Audit Flow 3. Joe’s connection, query logged Server11. DBA Enables on Server12. User Joe Connects and Queries Server138 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Certified And Supported MySQL HA Solutions MySQL 5.6 Oracle Replication Solaris Windows MySQL VM DRBD (after GA) Cluster Cluster Cluster TemplateAuto-Failover & Migration Yes Yes Yes Yes Yes YesZero Data Loss Semi-Sync Yes Yes Yes Yes YesPlatform Support All Linux Solaris Windows Linux All Master + Active/ Active/ Active/ Active/ Multi-Clustering Mode Slaves Passive Passive Passive Passive MasterShared Storage No Yes Yes Yes No NoAvailability Design 99.9% 99.99% 99.99% 99.95% 99.99% 99.999%Single Vendor Support Yes Yes Yes No Yes Yes 39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Operational Best Practices for HA  Training  Consulting  24 x 7 x 365 Global Support  Database Management and Monitoring40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL ON WINDOWS41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL Installer for Windows  MySQL Database  MySQL Connectors (.Net and ODBC)  MySQL Workbench  New! Migration Wizard (SQL Server, Sybase, PostgreSQL to MySQL)  New! MySQL Notifier Tray App  New! MySQL for Excel  MySQL Utilities (in Python)  MySQL Docs  Sample Databases http://www.mysql.com/downloads/installer/From download to development in 3 mins! All-in-one package.42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • MySQL Workbench New! Database Migration WizardDatabase Design for SQL Server, Sybase, PostgreSQL- Visual Design, modeling- Forward/Reverse Engineer- Schema validation, Schema docSQL Development- SQL Editor - Color Syntax Highlighting- Objects - Import/Export, Browse/EditDatabase Administration- Status, Configuration, Start/Stop- Users, Security, Sessions- Import/Export Dump Files 43 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Interesting ideas for the future Supporting new businesses on Web & Cloud Supporting young entrepreneurs More and smarter MySQL Utilities Support for elasticity & sharding with MySQL Flexible replication in any topology Easier to use replication More automatic operations Easier to manage high availability Extended MySQL Enterprise Backup Intelligent connectors More performance improvements45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • Summary: Some of the highlights of today!  MySQL 5.6 RC (lots of features + performance improvements)  MySQL Utilities (shipped with Workbench)  MySQL Enterprise Backup 3.8  MySQL Cluster 7.3  Connector Python GA  Windows Installer  Database Migration Wizard  Multiple HA solutions  MySQL Enterprise Audit  NoSQL interfaces46 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
    • 47Copyright © 2012, Oracle and/or its affiliates. All rights reserved.