mysql ab
TRANSCRIPT
1Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL Enterprise forSaaS and Managed Hosting Providers
Jimmy Guerrero
Sr Product Marketing Manager, Sun Microsystems – Database Group
May 19-20 l Washington, DC l Omni Shoreham
2Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Agenda• MySQL Overview
• SaaS – Hosting Provider Challenges
• Solutions for MySQL
• Next Steps
3Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Sun: The World's Largest CommercialOpen Source Contributor
Java Enterprise SystemComposite Application Platform
Sun xVM
Operating System
Virtualization
Architecture
Database Platform
Application Infrastructure
Partners
4Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
About MySQL
Leadership * Innovation * Market Acceptance
• 12 years old• 400+ employees• 750 partners• 60K downloads/day• Customers across every major
operating system, hardware vendor, geography, industry, and application type
5Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Established & Emerging Companies
craigslist
Web 2.0
Enterprise 2.0
SaaS
Telecom
OEM & ISV
6Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
SaaS & MHP Provider Challenges• Delivering on SLA’s• Uptime & availability• Application performance & responsiveness• Rapid, frequent & iterative feature releases• On-demand scalability• Integration & customization limitations• Reduce infrastructure costs• Compliance, identity & access management• Security of online & offline data• Technical competence & knowledge• Proactive monitoring
7Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Solutions Overview
"MySQL and Parallels are exploring ways to help service providers enable SaaS"
8Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Benefits of Open Source and LAMP
• LAMP software stack running on COTS hardware lowers initial startup costs
• Perfect for on-demand Scale-Out environments• Open Source freedom and no vendor lock-in
Scale-Up Scale-Outvs
9Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL Enterprise
Deploy and monitor an unlimited number of servers for the price of a single CPU of Oracle
MySQL Enterprise
MySQLEnterprise
Server
MySQLEnterprise
Monitor
24x7Production
Support
MySQLEnterpriseUnlimited
Enterprise database and monitoring software, plus production support delivered in an annual subscription
10Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Why MySQL Enterprise?• Deliver on SLAs
• Increase availability
• Optimize performance
• Effectively monitor scale-out environments
• Faster time to launch
• Develop & deliver on proven open source components
• Keep costs predictable
11Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL Enterprise Monitor• Consolidated view of entire MySQL environment• Auto discovery of MySQL Servers & replication topologies• Over 100 customizable rules for monitoring and alerting• Identifies problems before they occur• Reduces risk of downtime• Improve delivery of SLAs• Scale-out with less DBAs
12Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
On-Demand Scalability for MySQL
MySQL Replication• Designed for on-demand read scalability• Cost-effective alternative to Scale-Up• Asynchronous replication• Statement or row-level replication support• No special networking components• Fully-supported via MySQL Enterprise subscription• Enterprise Monitor discovers and monitors replication
topologies
13Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL Replication – Scale-Out
reads
reads
MySQLReplication
writes
MySQL ReplicationWeb/AppServers
14Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Scalability: MySQL Partitioning
Cust_id 1-999
Cust_id 1000-1999
Cust_id 2000-2999
Web/AppServers MySQL Partitioning
15Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Sharding - Application Partitioning
Cust_id 1-999
Cust_id 1000-1999
Cust_id 2000-2999
Web/AppServers Sharding Architecture
16Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Scalability: Virtualization
VM 1
Web/AppServers Virtualization Architecture
VM 2
VM 3
17Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL Replication – High Availability
reads
MySQLReplication
writes
MySQL ReplicationWeb/AppServers
ActiveServers
StandbyServer
18Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
High Availability for MySQL
Distributed Replicated Block Device (DRBD)• Runs over standard IP networks• Distributed storage• Similar to network RAID• Synchronous replication• No special networking components• Excellent performance (blocks vs. rows of data)• Manages inconsistencies of data during a failure• Hides the complexity of many recovery actions• Linux heartbeat manages fail over and virtual IPs• Fully-supported add-on to MySQL Enterprise subscription
19Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
DRBD Architecture
ActiveMaster
PassiveMaster
Virtual IPManagement
SynchronousBlock
Replication
MySQL and DRBDWeb/AppServers
20Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL High Availability Scale-Out
ActiveMaster
PassiveMaster
Virtual IPManagement
SynchronousBlock
Replication
Web/AppServers
writes
reads
DRBD + MySQL Replication
reads
21Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
• 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!
Common Pain Points
22Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL software which can route database queries to the appropriate database in a scale-out environment.
• Improves/scales throughput of reads for online applications• Helps customers reduce cost of adding slaves
• Intelligently route reads across slaves• Use database least behind, least loaded• Remove latent slaves from read rotation• Other distribution algorithms
MySQL Load Balancer
23Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
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
24Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
MySQL Query Analyzer
25Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
• 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. Paid edition $99
NEW! MySQL Workbench
26Copyright 2008 MySQL AB The World’s Most Popular Open Source Database
Questions?
Jimmy Guerrero
Sr Product Marketing Manager
Sun Microsystems – Database Group