Mysql Enterprise – the Platform for the Web Economy
Total Page:16
File Type:pdf, Size:1020Kb
<Insert Picture Here> MySQL – The Platform for the Web Economy Mario Beck MySQL Principal Sales Consultant, EMEA Oracle & MySQL: The Picture is Complete! Agenda • Introduction to MySQL <Insert Picture Here> • 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 Database 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 Linux (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.mysql.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 Transactions Per 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 software 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