The Ultimate Guide to Choosing WordPress Pros and Cons
MySQL Roadmap 2008-2009 Overview
1. MySQL Roadmap
2008-2009
Serge Frezefond
Resp Technique MySQL France
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 1
2. • MySQL Server
• MySQL Enterprise
• MySQL Tools
• MySQL Enterprise Drill-down
• Conclusions
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 2
3. MySQL Product Overview
• Community Server
MySQL • Enterprise Server
Server • Embedded Server
• Cluster Carrier-Grade
• Query Browser
• Administrator
MySQL • Migration Toolkit
GUI Tools • MySQL Workbench (New!)
• JDBC
MySQL • ODBC
Drivers • .NET
• PHP
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 3
4. MySQL Enterprise
• MySQL Enterprise Server
• Monthly Rapid Updates
Server • Quarterly Service Packs
• Hot Fix Program
• Subscription:
• Extended End-of-Life
• MySQLEnterprise
• of All Servers
• Global Monitoring License (OEM):
• EmbeddedSevr
• Web-Based Central Consolere
Monitor • Built-in Advisors
• Support
• Expert Advice
• MySQL
• Specialized Scale-Out Help Cluster
Carrier-Grade
• Training
• 24 x 7 x 365 Production Support
• Consulting
• Web-Based Knowledge Base
Support • Consultative Help
• NRE
• Bug Escalation Program
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 4
5. Pluggable Storage Engine
Architecture
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 5
6. The “What”
• Table/Index Partitioning Great for data warehouses
• Row-based/Hybrid Replication Safer and smarter
• Disk-based Cluster Supports bigger DB’s
• Built-in Job Scheduler Simplified task mgmt
• Problem SQL Identification Easier troubleshooting
• Faster full-text Search 500% increases in cases
• Embedded Server (libmysqld) Deeply embedded apps
• More…
The “When”
• GA since Nov 28
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 6
7. The “What”
• Falcon Engine Transactional engine
• New Backup (version 1.0) Cross engine, non-blocking
• Online Add Column Cluster only
• Replication Conflict Detection Cluster only
• Optimizer Enhancements Faster subqueries
• Better Performance Info Diagnostics and more
The “When”
• Alpha available now (with Falcon beta)
• GA scheduled for CYQ4/2009
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 7
8. • Planned default transactional
storage engine.
• Not InnoDB replacement
• Most InnoDB app’s OK on
Falcon
• Leapfrog’s InnoDB on scale out
• ACID transactions
• Crash recovery
• Full MVCC
• More features…
• Designed to excel on modern
hardware platforms.
• Planned to beat InnoDB on
typical MySQL app.
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 8
9. • Backup will be GPL/Open Source
• First version will include:
• SQL-command driven interface
• Online, non-blocking DML for
Transactional engines
• Point-in-time recovery
• Native driver for fast, online
backup of MyISAM databases
• All general engines supported, except
Cluster (which has its own backup)
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 9
10. • New optimizer enhancements
• Greatly enhance the speed of
certain SQL statements
SELECT COUNT(l_orderkey) FROM lineitem
WHERE l_linenumber=1 AND
l_orderkey IN
(SELECT o_orderkey FROM orders
WHERE o_totalprice > 1000 AND
o_custkey IN
(SELECT c_custkey FROM customer
WHERE c_address LIKE 'Le%'));
Time Number of Reads
MySQL 5.0/5.1 12 Minutes 9,000,000
MySQL 6.0 1.8 seconds 153,000
- 99.75% Reduction in Response Time in example query above-
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 10
11. • MySQL 5.1 with disk-based
Cluster and Replication for
Cluster.
• DRBD - more speed plus new
verification.
• MySQL Cluster 6.2:
performance and ease-of-use
enhancements.
• MySQL Cluster 6.3: SQL
performance enhancements
• MySQL Cluster 6.4: Multi-
threaded NDB GA: Q1, 2009.
• MySQL Cluster 7.0: Windows
support, varchar on disk, SQL
join improvements. GA:
Q3/2009.
• LDAP, NDB/J products
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 11
12. • MySQL 5.1 with data
partitioning
• Archive engine improvements
in 5.1
• Better optimizations for sub-
query performance (6.0)
• New Nitro engine available in
5.1 for real-time data
warehousing
• InfoBright engine for TB-sized
data warehousing
• New Kickfire MySQL DW
appliance
• Jaspersoft BI suite
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 12
13. • High-performance, distributed memory
object caching system - speeds up
dynamic web applications
• Used by vast majority of top web sites
• Will now be offered and supported by Clients
MySQL under MySQL Enterprise
• Customers benefit by having:
• One vendor Web server with
memcached
• A formal support organization client
• A formal training and professional
service organization
memcached
servers
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 13
14. • Enterprise Monitor 1.2 with new
replication monitoring available now
• Enterprise Monitor 1.3 - Japanese
localization
• MySQL Load Balancer 1.0: MySQL
load balancing between MySQL
Servers. Q1,2009 GA
• Enterprise Monitor 2.0 - Query
Analyzer: global monitoring of query
performance with drill down
diagnosis. GA
• MySQL Connection Manager 1.0:
User connection management for
better performance. Q2/2009 GA
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 14
15. • New Data Modeling/Database
Generation tool
• Design MySQL databases right the
first time
• Removes ‘black box’ feel from
packaged apps
• Two versions – free open source
community and paid closed source
offering
• Advanced features in paid version
• Database synchronization,
HTML/Text reporting, Rev-engineer
from database, and more
• Available now
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 15
16. • Enterprise Customers want global
backup management tool
• Scale-out presents backup /
recovery challenges for many
• 44% of Enterprise customers have
no skilled DBA staff
• Zmanda Recovery Manager for
MySQL perfect fit for these shops
• Contains capabilities only found in
Oracle’s and IBM’s Toolset
• Added on to MySQL Enterprise as
option
• New enhancements include support
for Innobase hot backup and quick
snapshot option
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 16
17. The “What” MySQL 6.x
• Foreign Keys All storage engines
• Better Prepared Statements Prepare any SQL statement
• Better Server-side Cursors Faster/less memory
• Replication Improvements Checksums
• Optimizer Enhancements Faster subqueries
• Online Backup Enhancements Backup catalogs, more
• Stored Procedure Changes Signal/Resignal, more
• Performance Interface Better perf diagnostics
The “When”
• Alpha’s, Beta’s begin mid-2009
• GA’s expected Q4 2010
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 17
18. The “What”
• Security Groups/Roles Easier privilege mgmt
• Transparent Data Encryption Table/Column level
• Data Auditing For compliance
• External Authentication O/S level authorizations
• Online Alter Table Online DDL changes
• Optimizer Enhancements More subquery changes
The “When”
• Alpha’s, Beta’s TBD
• GA’s TBD
“Citadel”
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 18
19. Storage Engine Update
Third-Party Engines:
Storage Engine Usage Summary
InnoDB Standard transactional applications; New Plug-in
InfoBright Large (GB -TB) Data Warehouse applications
Kickfire Appliance for data warehousing
DB2 Used for i5 Platform
PBXT (beta) Community developed; transactional applications
Nitroedb (5.1) Real-Time Data Warehousing applications
… All handled through MySQL Alliances Certified Storage Engine Program.
DB2
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 19
20. InfoBright Data Warehousing Engine
MySQL Provides:
• mature connectors, tools,
resources
• interconnectivity and
certification with BI Tools
• Management Services and
Utilities
Infobright Provides
• Load function that
compresses data
• Column-oriented data storage
engine
• Knowledge Grid metadata
layer that contains
information about the
compressed data
• Otimizer/executor that uses
the Knowledge Grid.
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 20
21. Kickfire Data Warehousing Appliance
• World’s #1 in price/performance
• Makes MySQL rock for reporting and queries
• Affordable, load-and-go appliance
• Scalable from GBs to TBs
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 21
22. MySQL Enterprise Detail – What’s Next?
Help with scaling your on-line applications!
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 22
23. Scaling with MySQL
Web/App
Servers MySQL Replication
writes
Users/ MySQL
Customers Replication
reads
reads
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 23
24. Common Pain Points
• Application level load balancing is limited to read/write
splitting
– Hardware utilization not optimized
– Reads directed to latent slaves
• Little insight into user/application related activity
– “Evil” queries
– Slow query log good, but not great
• Idle connections on production servers
– Consume resources
– PHP, Ruby, Perl have no built in connection management
– App servers > Db servers = Connection Storm!
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 24
25. MySQL Load Balancer
Clients HTTP Web/App MySQL MySQL
Load Servers Load Balancer Servers
Balancer
READ reads
reads MySQL
Replication
reads
writes
WRITE
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 25
26. MySQL Query Analyzer
MySQL Enterprise Monitor feature that allows
users to trace, monitor, and analyze MySQL query
activity for specific servers, users, and
applications.
– Adaptive “Evil” query collection/tracing
– Historical browsing/analysis
– “Needle in a haystack” identification of worst queries
– Worst execution times, # of execs, etc.
SQL code is the #2 cause of performance issues
97% of those surveyed will use this
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 26
27. MySQL Query Analyzer
Clients Http Web/App MySQL MySQL Server
Load Balancer Servers Query Analyzer
Queries in
Results
Queries in • Management
• Query
Results Diagnostics
• Monitoring
MySQL
Enterprise Monitor
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 27
29. MySQL Connection Manager
MySQL Enterprise software that maximizes the
efficiency, performance, and scalability of database
connections made by online applications.
Connection Manager
• Comprised of two core features
– Connection Pooler MySQL MySQL
– Connection Concentrator Connection
Pooler
Connection
Concentrator
• Prevents connection “overload” and
“waiting” on database
Optimizes throughput of online applications
Reduces overhead on production servers
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 29
30. MySQL Connection Manager
Web/App Connection
Requests Database
Tier Manager
Connection Connection
Concentrator Pooler
Increased Reusable Pool
Utilization of Pooled of Database
Connections via Connections
1000’s of Requests Multiplexing Transactions
onto a Single Connection
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 30
31. Practical Use Cases
• MySQL Load Balancer
– High traffic, read intensive apps and websites
– Application load balancing extension
• Enterprise Monitor w/Query Analyzer
– Shops with rapid development cycles (test = prod)
– Apps with heavy use of dynamic SQL
• MySQL Connection Manager
– Websites that experience frequent or idle connections
• app servers > db servers
• developed in language with no built-in connection management
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 31
32. MySQL Enterprise Roadmap
Allready there
Monitor 1.3 w/Japanese Localization
New Advisors and Rules (Upgrade Advisor)
Monitoring of 5.1
Monitor 2.0 w/Query Analyzer
Into 2009
MySQL Load Balancer
MySQL Connection Manager
Monitoring of 6.0 and Falcon
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 32
33. Conclusions
• MySQL Server getting more enterprise-class features
• More/better options for high availability implementations
• Improved Data warehousing capabilities
• Continued improvements in MySQL Enterprise services
• More tools to enable MySQL development
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 33
34. Questions?
Serge Frezefond
Serge.frezefond@mysql.com
MySQL
Copyright 2008 MySQL AB The World’s Most Popular Open Source Database 34