MySQL – The Platform for the Web Economy Mario Beck MySQL Principal Sales Consultant, EMEA Oracle & MySQL: The Picture is Complete! Agenda

• Introduction to MySQL • MySQL Architecture and Technology • MySQL Editions • Scalability and High Availability with MySQL • MySQL Cluster CGE • Leveraging Oracle Data Management Solutions • Q&As and More... Introduction to MySQL Who is Using MySQL – The Top 20 Websites 1. Google 11. Twitter 2. Facebook 12. Yahoo JP 3. Youtube 13. Google IN 4. Yahoo 14. Taobao 5. Windows Live 15. Google DE 6. Wikipedia 16. Google HK 7. Baidu 17. Wordpress 8. Blogger 18. Amazon.com 9. MSN 19. Google UK 10. QQ 20. Sina

...and many more: Flickr, Second Life, Craigslist, Slashdot, LiveJournal, Digg, Del.icio.us, Pricegrabber.com, Weather.com etc. Oracle’s Investments in MySQL

Make MySQL a Better MySQL • #1 Open Source for Web Applications Develop, Promote and Support MySQL • Improve engineering, consulting and support MySQL Community Edition • Source and binary GPL releases MySQL Focus Areas • Web, Embedded & Telecom • LAMP • Windows Oracle + MySQL Customers

Product Integrations • Oracle VM Template for MySQL • Oracle GoldenGate (MySQL Capture is now GA!) • Oracle Fusion Middleware Certifications • Oracle Secure Backup • Oracle Audit Vault (planned) • Oracle Enterprise Manager (planned)

Support • Leverage 24x7, World-Class Oracle Support • My Oracle Support

More Product Releases Than Ever Before

Driving MySQL • MySQL Enterprise Backup 3.7 Innovation •Oracle VM Template for MySQL Enterprise Edition •MySQL Enterprise Oracle Certifications • MySQL Cluster 7.2 • MySQL Enterprise Monitor 2.2 • MySQL Windows Installer • MySQL Cluster • MySQL Cluster 7.1 •New MySQL Enterprise Manager 1.4 • MySQL Cluster Manager 1.0 Commercial Extensions • MySQL Utilities 1.0.6

• MySQL Workbench 5.2 All GA! All GA! • MySQL Database 5.5 • MySQL Enterprise Backup 3.5 • MySQL Enterprise Monitor 2.3 • MySQL Database 5.6 DMR* • MySQL Database • MySQL Cluster Manager 1.1 • MySQL Cluster 7.2 DMR 5.6.5 DMR* All GA! and MySQL Labs! and MySQL Labs! (“early and often”) (“early and often”)

A Better MySQL

*Development Milestone Release

8 CY2010 CY2011 Q1 CY2012 MySQL Architecture and Technology Pluggable Storage Engines Architecture

MySQL Server Connectors Clients and Apps Native C API, JDBC, ODBC, .Net, PHP, Ruby, Python, VB, Perl

Enterprise Management Services and Utilities Connection Pool Backup & Recovery Authentication – Thread Reuse – Connection Limits – Check Memory – Caches Security Replication Cluster SQL Interface Parser Optimizer Caches Partitioning DDL, DML, Stored Query Translation, Access Paths, Global and Engine Instance Manager Procedures, Views, Object Privileges Statistics Specific Caches and Information_Schema Triggers, Etc.. Buffers MySQL Workbench

Pluggable Storage Engines Memory, Index and Storage Management

InnoDB MyISAM Cluster Etc… Partners Community More..

Filesystems, Files and Logs Redo, Undo, Data, Index, Binary, Error, Query and Slow

MySQL 5 – All the Right Features

PERFORMANCE RELIABILITY EASE OF USE

• Stored Procedures • Stored procedure • Instance Manager • Query Optimizations • SQL Mode • Information Schema • Archive Engine 5 • Triggers 5 • Cursors 5 • InnoDB storage • Views • Enhanced GUI Tools • Precision Math • Migration Toolkit • Table/Index Partitioning • Distributed Transactions • MySQL Workbench • Full-Text Improvements • Increased object support • Archive Improvements • Faster DDLs • Row-Based Replication • XML/XPath Support • Parallel Data Import 5.1 • Federated Engine Txn 5.1 • Task Scheduler 5.1 • New Load Testing Utility • Row-Based Binary Log • Storage Engine Plug-in • MyISAM Memory Option Analysis API • New Diagnostics MySQL 5.5 • InnoDB is default – ACID Transactions, FKs, Crash Recovery

• Improved Availability – Semi-synchronous Replication – Replication Heartbeat

• Improved Usability – SIGNAL/RESIGNAL – More Partitioning Options – PERFORMANCE_SCHEMA

• Better Instrumentation/Diagnostics – InnoDB stats in 5.5 PERFORMANCE_SCHEMA

• MySQL 5.5 is Faster! – More than 10x improvement in recovery times – 369% Performance Gain on (r/w) – 1561% performance gain on Windows (r/w) MySQL 5.6: A better MySQL Extends Cloud Leadership, Improving: • Optimizer & InnoDB for better Performance, Scalability • Reduces number of provisioned instances

• Performance Schema for better Instrumentation • Resource consumption for users, hosts, accounts, queries, etc

• Replication for Higher Availability, Scalability & Data Integrity • Elasticity & self healing

• “NoSQL” options for better Flexibility • Integrating loosely coupled cloud services

13 MySQL Database – Key-value access for InnoDB NotOnlySQL: Memcached API • Fast, simple access to InnoDB Application • Accessed via Memcached API • Use existing Memcached clients SQL NoSQL • Bypasses SQL transformations (MySQL Client) (Memcached Protocol) • NotOnlySQL access mysqld • For key-value operations MySQL Server Memcached plugin • SQL for rich queries, JOINs, FKs, etc. • Implementation InnoDB Storage Engine • Memcached daemon plug-in to mysqld • Memcached protocol mapped to the native InnoDB API • Shared process space for ultra-low Try it now! latency labs..com

14 MySQL Editions MySQL Editions: Features

MySQL Editions Features MySQL Standard MySQL Enterprise MySQL Edition Edition CGE Edition MySQL Database ✔ ✔ ✔ MySQL Connectors ✔ ✔ ✔ MySQL Replication ✔ ✔ ✔ MySQL Partitioning ✔ ✔ MySQL Workbench SE ✔ ✔ ✔ Storage Engine: MyISAM ✔ ✔ ✔ Storage Engine: InnoDB ✔ ✔ ✔ Storage Engine: NDB ✔ MySQL Enterprise Monitor ✔ ✔ MySQL Enterprise Backup ✔ ✔ MySQL Enterprise Security ✔ ✔ MySQL Enterprise Scalability ✔ ✔ MySQL Enterprise High Availability ✔ ✔ MySQL Cluster Manager ✔ MySQL Cluster Geo-Replication ✔ Oracle Products Certification ✔(1) ✔ ✔

(1) Standard Edition is Certified with Oracle Linux, VM and Solaris Only MySQL Editions: Support

MySQL Editions Oracle Premier Support MySQL Standard MySQL Enterprise MySQL CGE Edition Edition Edition

24x7 Support ✔ ✔ ✔

Unlimited Support Incidents ✔ ✔ ✔

Knowledge Base ✔ ✔ ✔

Maintenance Releases, Bug Fixes, Patches, ✔ ✔ ✔ Updates

MySQL Consultative Support ✔ ✔ ✔ http://mysql.com/products MySQL Enterprise Monitor A Virtual MySQL DBA Assistant!

• Single, consolidated view into entire MySQL environment • Automated, rules-based monitoring and alerts (SMTP, SNMP enabled) • Query capture, monitoring, analysis and tuning, correlated with Monitor graphs • Visual monitoring of “hot” applications and servers • Real-time Replication Monitor with auto-discovery of master-slave topologies • Integrated with MyOracle Support

MySQL Query Analyzer

• Trace, monitor & analyze MySQL query activity for specific servers, users, and applications. – Show “worst” queries – Bad exec time or count; bad row size or count; – Capture/show – problem query examples – Show Query Explain

MySQL Enterprise Backup

• Formerly “InnoDB Hot Backup” • Online, non-locking backup & recovery – Tables, Indexes – Server, database, or object-level • Logical and physical backups • Full or incremental backups • Point-in-time recovery • Compressed backups • Also provides backup & recovery for MyISAM • Cross-Platform (Windows, Linux, Unix) MySQL Enterprise Scalability MySQL Thread Pool gives 20x Better Scalability (RW)

• MySQL default thread-handling – excellent performance, can limit scalability as connections grow • MySQL Thread Pool improves sustained performance/scale as user connections grow

• Thread Pool API MySQL 5.5 Sysbench OLTP Read/Write

8,000

7,000

6,000

5,000

4,000

3,000

2,000

Transactions Per Second TransactionsPer 1,000

0 8 16 32 64 128 256 512 1,024 1,536 2,048 2,560 3,072 3,584 4,096 Simultaneous Database Connections MySQL Enterprise Security MySQL External Authentication

• PAM (Pluggable Authentication Modules) – Access external authentication methods – Standard interface (Unix, LDAP, others) – Proxied and non-proxied users • Windows – Access native Windows services – Authenticate users already logged into Windows (Windows Active Directory) • Pluggable Authentication API

Integrates MySQL with existing security infrastructures and SOPs. MySQL Enterprise High Availability OVM Template for MySQL

Oracle VM Oracle VM Automatic Fault Detection & • Oracle Linux with the Recovery Unbreakable Enterprise Kernel Secure Live • Oracle VM Migration (SSL) • Oracle VM Manager Oracle VM Server Pool • Oracle Cluster File System 2 Oracle VM Manager (OCFS2) • MySQL Database (Enterprise Edition) Oracle VM Servers

• Pre-Installed & Pre- ocfs2 Configured SAN / iSCSI • Full Integration & QA Testing • Single Point of Support**

** Technical support for Oracle Linux and Oracle Virtual Machine requires Unbreakable Linux Network subscription.. MySQL Workbench – Home Screen MySQL Support Services

• Self-help support service – Online knowledge base • Problem-resolution service – Seasoned support team – 24x7 email/phone access • Consultative support services – Remote troubleshooting service – Configuration and tuning services – Customer code review services Scalability and High Availability with MySQL Scalability with MySQL

Scale Out Scale Up • Commodity Intel / AMD • Proprietary SMP • Open source hardware • Platform freedom • Closed or Open Source • Add commodity servers software to increase capacity • Platform lock-in • “Fork Lift” to increase capacity

MySQL Replication

• Better response time by splitting the load for processing queries between the master and slave • SELECT queries may be sent to the slave to reduce the query processing load of the master • Enabled for all storage engines, replication between different storage engines • Achieve higher availability with a master/slave setup • In the event of problems with the master, you can switch to the slave as a backup • Perform backups using slaves

READS WRITES

Clients

MySQL Replication

Slaves Master

28 Replication Topologies A Flexible Way to Scale

Single Chain

Multiple Circular

Master Slave Sharding aka Application Partitioning

Master Slave

Reads Clients Writes

Partitioning Logic 1 2 3 4 5

Shards

Slaves Wikipedia Customer Success Profile

COMPANY OVERVIEW KEY BUSINESS BENEFIT • Wikipedia is the multilingual, Web-based, • MySQL also allows them to free encyclopedia that is produced save significantly on hardware collaboratively by volunteers. costs. Since they add new • It hosts over 15 million articles in more than servers only on an incremental, 270 languages. as-needed basis. • Wikipedia's MySQL handle over 90,000 SQL queries per second. WHY MYSQL? CHALLENGES/OPPORTUNITIES • Ability to scale as you need • Wikipedia relies upon MySQL replication to • Lower costs and flexibility scale-out their database infrastructure and accommodate more visitors, more articles and more contributors.

SOLUTIONS • Oracle MySQL

High Availability Solutions Certified & Supported

Clustering & Geographical Redundancy

Oracle Clustering & Virtualization Clusterware

Replication 3rd Party Solutions Replication

ISPs & On-Line eCommerce Business Services Telecoms 9 9 . . 9 9 9 % 35 days 4 days 8 hours 50 mins 5 mins MySQL Cluster Carrier Grade Edition MySQL Cluster Architecture

JPA REST Application Nodes

Node Group 1 Node Group 2

Cluster F1 F2 Cluster

Mgmt F3 F4 Mgmt Node 1 Node

Synch Replication 3 Node

F3 F4

F1 F2 Node 4 Node Node 2 Node Data Nodes Handling Scheduled Maintenance On-Line Operations

• Scale the cluster (add & remove nodes on-line) • Repartition tables • Upgrade / patch servers & OS • Upgrade / patch MySQL Cluster • Back-Up • Evolve the schema on-line, in real-time Automatic Data Sharding 4 Data Nodes and 2 Replicas

IDCol Col1 Col2 Col3 Col4 … Node Group 1 F1

1 1

Node Node F3

2 F1

3 F3 F1 4 F2 2 Node

5 Node Group 2 6 F3

F2

7 3 F4 Node Node

8 F4 F4 F2 Fn Primary Replica 4 Node Fn Secondary Replica Servicing the Most Performance-Intensive Workloads

Leveraging Oracle Data Management Solutions Oracle Data Management Solutions Span the Full Range of Developers’ Needs

Mobile Devices Telematics Gateways / Metadata Field Force Automation Telecom Billing Network mgmt / Security Financial trading Mobile Services Software Healthcare Equipment Fraud detection Industrial Systems Manufacturing Systems

Mobile Applications

Web, SMB, Edge Applications Real Time Applications Data Center Applications Oracle Database

• Market-leading relational database • Enterprise capabilities – Broad functionality • More than just a database: spatial datatypes, semantic technology, rich analytic functions, data mining algorithms etc – Highly available, scalable and secure • Extensive add-on options • Packaged application support

MySQL Strengths

• Most popular open source relational database • The “M” of the LAMP Stack • Ideal for high volume, low margin applications – Up to 90% Savings over Microsoft SQL Server • High performance, scalability, reliability • Cross-platform support – All major platforms including Windows, Linux, Solaris • Ease of use and administration – 15 minute download to database up and running – Zero administration Applications Well Suited To MySQL

• New Applications • Hybrid Applications (Expanding Legacy Systems with MySQL)

• Custom Applications • Content Management • E-Commerce/OLTP • Session Management • User Authentication • Web Non Transactional Apps • Messaging & Collaboration • Datamarts & Analytics • Embedded Applications • Telecom Applications Oracle Database & MySQL

Consider Oracle Database if… Consider MySQL if… High-end packaged applications Open source mandate (ERP, HRMS…) High-end data warehouse and BI Web applications applications with tens of TB

Applications requiring certified Custom departmental SIs applications Oracle Database and MySQL Complementary

• Together Servicing Broader User Needs • MySQL Well Suited for Web-based Apps, Custom Departmental apps and Embedded apps • Users can Benefit by Running MySQL and Oracle Together

Summary

Oracle is driving MySQL Innovation

Oracle Database 11g and MySQL Are Complementary

Rely on MySQL Enterprise Edition For Web & Departmental Applications Across Your Organization Additional References

• MySQL Enterprise: http://www.mysql.com/products/enterprise/ • MySQL Enterprise Trial: http://www.mysql.com/trials/ • Community Downloads: http://dev.mysql.com/downloads • Documentation: http://dev.mysql.com/doc • Blogs: http://planet.mysql.com • Forums: http://forums.mysql.com [email protected] http://mablomy.blogspot.de search.mysql.com

Thank you! The preceding 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.