mysql ab

26
1 Copyright 2008 MySQL AB The World’s Most Popular Open Source Database MySQL Enterprise for SaaS and Managed Hosting Providers Jimmy Guerrero Sr Product Marketing Manager, Sun Microsystems – Database Group May 19-20 l Washington, DC l Omni Shoreham

Upload: technical-dude

Post on 14-May-2015

797 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: MySQL AB

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

Page 2: MySQL AB

2Copyright 2008 MySQL AB The World’s Most Popular Open Source Database

Agenda• MySQL Overview

• SaaS – Hosting Provider Challenges

• Solutions for MySQL

• Next Steps

Page 3: MySQL AB

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

Page 4: MySQL AB

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

Page 5: MySQL AB

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

Page 6: MySQL AB

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

Page 7: MySQL AB

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"

Page 8: MySQL AB

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

Page 9: MySQL AB

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

Page 10: MySQL AB

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

Page 11: MySQL AB

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

Page 12: MySQL AB

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

Page 13: MySQL AB

13Copyright 2008 MySQL AB The World’s Most Popular Open Source Database

MySQL Replication – Scale-Out

reads

reads

MySQLReplication

writes

MySQL ReplicationWeb/AppServers

Page 14: MySQL AB

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

Page 15: MySQL AB

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

Page 16: MySQL AB

16Copyright 2008 MySQL AB The World’s Most Popular Open Source Database

Scalability: Virtualization

VM 1

Web/AppServers Virtualization Architecture

VM 2

VM 3

Page 17: MySQL AB

17Copyright 2008 MySQL AB The World’s Most Popular Open Source Database

MySQL Replication – High Availability

reads

MySQLReplication

writes

MySQL ReplicationWeb/AppServers

ActiveServers

StandbyServer

Page 18: MySQL AB

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

Page 19: MySQL AB

19Copyright 2008 MySQL AB The World’s Most Popular Open Source Database

DRBD Architecture

ActiveMaster

PassiveMaster

Virtual IPManagement

SynchronousBlock

Replication

MySQL and DRBDWeb/AppServers

Page 20: MySQL AB

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

Page 21: MySQL AB

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

Page 22: MySQL AB

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

Page 23: MySQL AB

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

Page 24: MySQL AB

24Copyright 2008 MySQL AB The World’s Most Popular Open Source Database

MySQL Query Analyzer

Page 25: MySQL AB

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

Page 26: MySQL AB

26Copyright 2008 MySQL AB The World’s Most Popular Open Source Database

Questions?

Jimmy Guerrero

Sr Product Marketing Manager

Sun Microsystems – Database Group

[email protected]