Anda di halaman 1dari 37

The Future of MySQL

What You Need to Know About


What’s Coming

Presented by, Robin Schumacher


MySQL AB® & O’Reilly Media, Inc.
Sr. Manager
Product Management, Database Group
robin.schumacher@sun.com

Rob Young
Sr. Product Manager
Database Group
rob.young@sun.com
Agenda

 Server and Products Roadmap

 Scale Out - Easing Common Pain Points

 MySQL Enterprise Software and Services


Roadmap
MySQL Product Overview

• Community Server
MySQL • Enterprise Server
Server • Embedded Server
• Cluster Carrier-Grade

• Query Browser
• Administrator
MySQL • Migration Toolkit
GUI Tools • Visual Studio Plug-in
• MySQL Workbench (New!)

• JDBC
MySQL • ODBC
Drivers • .NET
• PHP
MySQL Enterprise
• MySQL Enterprise Server
• Monthly Rapid Updates
Server • Quarterly Service Packs
• Hot Fix Program
• Subscription:
• Extended End-of-Life
• MySQL Enterprise
• Global Monitoring• License (OEM):
of All Servers
• Embedded Server
• Web-Based Central Console
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
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”
• RC 5.1.24 available for conference
• GA scheduled for end of Q2 2008
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 Q4/2008
• Planned default transactional
storage engine. Q4 GA.
• 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.
• All general engines supported
• Backup will be GPL and offer:
• SQL-command driven interface
• Online, non-blocking DML for
Transactional engines
• Point-in-time recovery
• Blocking backup for other engines
• Additional plug-in’s for native online MyISAM
backups, compression, encryption, others.
• 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 -
• 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.
GA: Q1
• MySQL Cluster 6.3: SQL
performance enhancements GA:
Q2.
• MySQL Cluster 6.4: Multi-threaded
NDB GA: Q4.
• MySQL Cluster 7.0: Windows
support, varchar on disk, SQL join
improvements. GA: Q1/2009.
• LDAP, NDB/J products – GA: Q2
• 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
• 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 (Q2)
• Customers benefit by having:
• One vendor Web server with
memcached
• A formal support organization client

• A formal training and professional


service organization
memcached
servers
• 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. Q3 Beta; Q4 GA
• Enterprise Monitor 2.0 - Query
Analyzer: global monitoring of query
performance with drill down diagnosis.
Q3 Beta; Q4 GA
• MySQL Connection Manager 1.0: User
connection management for better
performance. Q1/2009 GA
• 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
• 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
2008 At-a-Glance

2008
Q1 Q2 Q3 Q4
• MySQL 5.1 GA
• Nitro Engine GA
• MySQL Workbench GA
• MySQL Cluster 6.3 GA
• NDB/J, Cluster LDAP GA • MySQL 6.0/Falcon GA
• Memcached offering • MySQL Cluster 6.4 GA
• MySQL 6.0/Falcon Beta/RC • Load Balancer GA
• Load Balancer Alpha • Query Analyzer GA
• Connection Manager Alpha
• Maria (MyISAM++)

• MySQL Cluster 6.2 GA • Load Balancer Beta


• MySQL5.1 RC • Query Analyzer Beta
• Enterprise Monitor (Japanese)
• MySQL Workbench RC
• MySQL 6.0/Falcon Beta
• Zmanda for MySQL
MySQL 6.x
The “What”
• 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 late-2008
• GA’s expected first part of 2009
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 begin mid-2009
• GA’s expected end of 2009
“Citadel”
Storage Engine Update
Third-Party Engines:
Storage Engine Usage Summary
InnoDB Standard transactional applications; New Plug-in
InfoBright Large (GB -TB) Data Warehouse applications
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
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.
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
MySQL Enterprise – What’s Next?

Help with scaling your on-line


applications!
MySQL Enterprise Includes
MySQL Enterprise Server
Database • Most Up to date version of MySQL
• Monthly Rapid Updates
• Subscription:
• Quarterly Service Packs
• MySQL Enterprise
MySQL Enterprise• License
Monitor(OEM):
• Global Monitoring • Embedded
of All MySQLServer
Servers
Monitoring • Built-in Advisors,• Expert
Support Advice
• MySQL Help
• Specialized Scale-Out Cluster
Carrier-Grade
• 24 x 7 x 365 •Production
Training Support
• Consulting
Support • Web-Based Knowledge Base
• Consultative •Help
NRE
Scaling with MySQL
Web/App
MySQL Replication
Servers

writes

Users/ MySQL
Customers Replication
reads

reads
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!
Adding Value in 2008-09
MySQL Enterprise will provide…

 Upgrade Assistance – Spring 2008 Release!

 Load Balancing for Slaves, Reads, Writes, etc.

 Identification of poorly performing SQL code

 Optimized connection management for online


apps (PHP, Perl, Python, Ruby)
MySQL Load Balancer
MySQL Enterprise software which can route
database queries to the appropriate
database in a scale-out environment.
 Route/split reads and writes
 Use database least behind, least loaded
 Remove latent slaves from read rotation
 Other distribution algorithms

Improves/scales throughput of reads for online applications


Helps customers reduce cost of adding slaves
MySQL Load Balancer
Clients HTTP Web/App MySQL MySQL
Load Servers Load Balancer Servers
Balancer

READ reads

reads MySQL
Replication

reads

writes
WRITE
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
MySQL Query Analyzer
Clients Http Web/App MySQL MySQL Server
Load Balancer Servers Query Analyzer

Queries in
Results

Queries in • Management
• Query Diagnostics
Results • Monitoring

MySQL
Enterprise Monitor
MySQL Query Analyzer
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
Connection
MySQL
Connection
 Connection Concentrator Pooler Concentrator

Prevents connection “overload”


and “waiting” on database
Optimizes throughput of online applications
Reduces overhead on production servers
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
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
MySQL Enterprise Roadmap
Q1-2, 2008
 Monitor 1.3 w/Japanese Localization
 New Advisors and Rules (Upgrade Advisor)
 Monitoring of 5.1
 Early Adopter Beta Program
Q3-4, 2008
 MySQL Load Balancer
 Monitor 2.0 w/Query Analyzer
 Monitoring of 6.0 and Falcon

Into 2009
 MySQL Connection Manager
MySQL Enterprise at the UC!
Monitoring Scale-out with the MySQL Enterprise Monitor
Andy Bang (Sun/MySQL)
Wednesday, 04/16/2008 5:15pm - 6:00pm Ballroom E

MySQL Proxy, the Friendly Man in the Middle


Jan Kneschke, Jimmy Guerrero (Sun/MySQL)
Thursday, 04/17/2008 10:50am - 11:50am Ballroom F
BoF Sessions
 MySQL Load Balancer, Query Analyzer, Connection Manager; 7:30
Tuesday, Ballroom E
 MySQL Enterprise Monitor w/Query Analyzer; 7:30 Wednesday,
Ballroom D

Exhibit Hall
 Sun and MySQL booths – information, demos, Gurus, fun stuff!
MySQL Enterprise Beta Program

beta-enterprise@mysql.com

Thanks for attending!

robin.schumacher@sun.com

rob.young@sun.com

Anda mungkin juga menyukai