my sql presentation
DESCRIPTION
Presentación Tecnología Enterprise al costo de Open Source - Mayo 2009TRANSCRIPT
MySQL and Sun:The Platform for the Web EconomyPablo LambertSoftware ArchitectSun Microsystems
2
Agenda
• New opportunities• About MySQL• MySQL products• Sun and MySQL• Our suggestions
2
3
Today's Business Challenges
• Increase business agility> Implementing and deploying Web services
quickly and cost-effectively• Reduce cost
> Realizing cost savings and lowering TCO• Scale
> Being able to handle the high volume of traffic, transactions, and data
• Reliability> Solid, reliable platform to run applications,
solid vendor standing behind it
4
Global Economy Is in TroubleCan MySQL and open source help?
5
Gartner on Enterprise Database Adoption
66% are deploying MySQL or are planning to
6
World's most popular open-source database
MySQL — An Open-Source Icon• MySQL is...
> The “M” in LAMP(Linux, Apache, MySQL, and PHP)
> The industry's most popular and one of the fastest-growing open-source databases
> Ubiquitous across Windows, Linux, Solaris™, and Mac OSs
> Pervasive across HP, Dell, IBM, Sun, and Fujitsu
> Deployed by the most important companies on Earth!
7
About MySQL
Leadership, innovation, market acceptance
• 11 million active installations• 60,000+ downloads each day• 40–50% revenue growth year
over year• 90% lower TCO than
proprietary database offerings• Customers across every major
operating system, hardware vendor, geography, industry, and application type
8
How MySQL Reduces TCO
• Low cost of acquisition> 80–90% of proprietary database
features at 10–15% of the cost> Excels on low-cost hardware
• Low cost of operations> Provides core functionality
without unnecessary complexity> Existing staff can move easily to
MySQL, with standardized RDBMS SQL and functions
• Reduced cost of downtime> Extreme reliability leads to
reduced downtimeTCO Breakdown of Database Software
Source: IDC
9
Open-source is powering the Web
MySQL's Industry-Leading Customers
Enterprise 2.0TelecommunicationsOn demand, SaaS, hosting
Web/Web 2.0 OEMs/ISVs
10
MySQL Product Overview
MySQLServer
MySQLGUI Tools
MySQLDrivers
• MySQL Community Server• MySQL Enterprise Server• MySQL Embedded Server• MySQL Cluster Carrier Grade Edition
• MySQL Query Browser• MySQL Administrator• MySQL Migration Toolkit• MySQL Visual Studio Plugin• MySQL Workbench (new!)
• JDBC• ODBC• .NET• PHP
11
MySQL Architecture
MySQL Server
12
MySQL and High Availability
%9 9 9 9935 days 4 days 50 mins 5 mins8 hours
Unmanaged
Replication Technologies
Clustering Technologies
Clustering & GeographicalRedundancy
Well-Managed
Small
Business
ISPs &
Mainstream
Business
Data
Centers
Banking
Medical
Telco
Military
Defense
.
MySQLCluster
MySQL + DRBDMySQL + SAN
MySQLReplication
13
MySQL Replication
14
Scale Out with MySQL Proxy
15
MySQL, Heartbeat & DRBD Cluster
SynchronousBlock Replication
IP Management
ActiveDRBDServer
PassiveDRBDServer
16
Shared disk clusters
• Sun Cluster• Linux HeartBeat/HA• Veritas Cluster Server• Microsoft Cluster Server
• Active/Pasive• High Availability• Automatic FailOver• Data on SAN
17
MySQL Cluster — Architecture
Application nodes(NDB API, MySQL Server,
OpenDS, openldap)
Data nodes
Managementnode
Clients
NDB storage engine
18
Data distribution on 2 nodes
MySQL Enterprise Solution Enterprise software and services delivered in an annual subscription
• Subscription:• MySQL Enterprise
• License (OEM):• Embedded Server• Support
• MySQL Cluster Carrier-Grade
• Training• Consulting• NRE
Database
Monitoring
Support
• The most up-to-date MySQL Enterprise software• Monthly rapid updates• Quarterly service packs• Hot-fix program• Indemnification
• Virtual database assistant• Global monitoring of all servers• Web-based central console• Built-in advisors, expert advice• Problem query detection/analysis
• Online self-help MySQL Knowledge Base• 24/7 problem resolution with priority escalation• Consultative help• High-Availability and Scale-Out
20
Added Value for the Enterprise• Comprehensive offering of production support, monitoring
tools, and MySQL database software• Optimal performance, reliability, security, and uptime
Open-source serverwith pluggable APIs
Monitoring
Enterprise manager
Query analysis
Hot fixes
Service packs
Best-practices rules
MySQLKnowledge Base
24/7 support
MySQL Load Balancer
21
Q1 Q2 Q3 Q4
H1 H2
MySQL Enterprise Server
MySQL Community Server
MySQL Enterprise Server release schedule
MySQL Community Server vs. MySQL Enterprise Server
• Rapid/quarterly source/binary maintenance releases
MySQL Community Server release schedule• Quarterly source, semiannual binary releases
22
MySQL Deployment Architecture — Scale-Out
reads
reads
MySQLReplication
writesWeb/Appservers
HTTPload balancerClients
Application reads are scaled by adding more read slaves
23
What's New with MySQL 5.1?New features and tools to boost performance and simplify data management:
• Table and index partitioning > Reduce query response times with five forms of data partitioning.
• Row-based and hybrid replication> Achieve and maintain the safest and most efficient replication
scheme for your application.• MySQL Event Scheduler
> Schedule and automate common recurring SQL-based tasks.
24
• Single, consolidated view into entire MySQL environment
• Auto-discovery of MySQL servers, replication topologies
• Customizable rules-based monitoring and alerts
• Identifies problems before they occur
• Reduces risk of downtime
• Makes it easier to scale out without requiring more DBAs
MySQL Enterprise Monitor
A virtual MySQL DBA assistant!
25
• Configuration• Advisor scheduling• Alerts/notifications• Visual monitoring• Query analysis
Enterprise Monitor ArchitectureService agent written in C and supports all MySQL Enterprise platforms
Service manager written in Java Servlets exposed as Web services. Supports Linux, Solaris, Mac OSX, and Microsoft Windows operating systems
Enterprise dashboard, Web-based, written in JSP
Repository holds historical performance data for analysis
Individual servers with agent
Master-slave replicationEnterprise dashboard
Service manager
Repository
Customer datacenter
• Advisor monitoring• Event-based alerts• Advice/corrective actions
Collects MySQL- and OS-specific metrics, query content/stats
Holds historical MySQL and OS data, query statistics
Firewall
26
MySQL Enterprise Advisors, Rules, and Alerts
Administration• Monitors and advises
on optimal configuration and variable settings
• Ensures recoverability
Security• Monitors and
advises on unplanned security changes
• Uncovers security loopholes
Upgrade• Monitors and advises
bugs that affect current installation
• Provides update path to correcting MRU/QSP
Replication• Monitors and advises
on master/slave latency issues
• Makes suggestions for improving replication design
Memory usage
• Monitors for optimal use of memory/cache
• Advises on memory tuning for better performance
Schema• Monitors and advises
on unplanned schema change
• Uncovers security loopholes
Performance• Monitors and advises
on optimal performance variable settings
• Identifies performance bottlenecks
• Built by DBA to enforce organization-specific best practices.
• Create new or tailor MySQL Advisors to fit needs
Custom
• 125+ rules (16 new), 20+ (5 new) graphs find problems/tuning opportunities you cannot
• Save you time writing, testing, versioning, and deploying custom scripts
27
What's New with MySQL Enterprise?Boost performance up to 3x with MySQL Query Analyzer
• MySQL Query Analyzer> Trace, monitor, and analyze query activity to pinpoint poorly
performing code.> Make fixes to get application running at peak performance quickly
and easily. > Customers using MySQL Query Analyzer have experienced
3x performance improvement in days, not weeks.
28
• App connects to agent via port 4040
• Agent connects to MySQL server
• Agent optionally collects query data
• Agent reports MySQL, OS, query metrics back to monitor
Web/Appservers
HTTPload balancer
Clients MySQL Server
MySQLEnterprise Monitor
Queries inResults
Queries inResults
• Query diagnostics• MySQL and OS
monitoring
MySQLQuery Analyzer(proxy/agent)
MySQL Query Analyzer — New!
29
• Makes it easier to scale out with MySQL • Auto-detects and groups master/slave relationships• Saves DBA time collecting master/slave status info
from command line
MySQL Replication Monitor
30
• Growing use for data warehousing and business intelligence> Third-most-used database for data warehousing — IDC> Third-most-common application in MySQL market
MySQL and Data Warehousing
31
2009 Total Data Warehousing Market
6–25 TB
< 6 TB
> 25 TB
$4.2BData Warehousing
[10% CAGR]
• Overall market> $11.3B in hardware and software
spending> 63% of the spending is at
the high end> 87% of the customers are in the
low end (< 6 TB)
• Mass market> $4.2B in hardware and software
spending, growing at 10% CAGR> $300M in MySQL hardware and
software spending, growing at 30% CAGR
Data Warehouse Market
32
At-a-Glance Data Volume Decision Grid
Data Volume Size Solution
0–1 TB MySQL Enterprise Server
500 GB–3 TB w/ appliance desire Kickfire appliance
1–30 TB
>30 TB Greenplum
Infobright + MySQL Enterprise Server
33
Data Warehouse PartnersA
pp
sTo
ols
Reporting andAnalytics
Replication
Developmentand admin
Database
Storage(SAN/NAS)
Operatingsystem
Hardware
Pla
tfo
rms
ETL
Operationaldata store
Source systems
ETLprocess
Datawarehouse
Metadatarepository
Datamart
34
�The notion persists within many traditional enterprises that once you reach a certain level ofapplication importance, it is necessary to transition to big, expensive boxes running big, expensivedatabases. However, free-thinking members of their IT staffs are beginning to ask the question: �What can we learn from Google, Yahoo, and Wikipedia on how to scale for high growth? � �
— Stephen O'Grady, Principal Analyst, Red Monk
• Application> Wikipedia is one of the top 10 most
trafficked Web sites in the world, hosting over 7 million articles in 200 languages.
• Key business benefit> MySQL has enabled Wikipedia’s
number of annual visitors to grow by 50,000 to over 154 million.
• Why MySQL? > Performance.> Scalable database solution to support
exponential growth.
Wikipedia
34
35
“By using Sun products and Sun Professional Services for our solution, we can scale horizontally,and we can scale vertically. And we don't have to change one line of our software code to rundual-core, quad-core, or sixteen-core machines — or any other hardware that Sun provides.”
— Jean-Luc Vaillant, Chief Technology Officer, LinkedIn
• Application> LinkedIn is an online network of more
than 24 million professionals from more than 150 industries worldwide
• Key business benefits> Increased query performance by 54%> Reduced database footprint by 39%> Achieved easily scalable and
manageable solution that supports future growth
• Why MySQL? > Better performance to users> Scalable, manageable database
solution to support future growth
35
36
“MySQL Cluster won the performance tests hands down, and met our needs perfectly.” — Alain Chastagner, Systems Manager, Alcatel-Lucent
• Application> Alcatel-Lucent’s next-generation
subscriber database applications.
• Key business benefit> The subscriber database at the
heart of the application needed more flexibility to deliver higher performance, scalability, and reliability at a lower cost.
• Why MySQL? > Performance.> Lower costs.
Alcatel-Lucent
36
37
MySQL Enterprise Subscription Choices
Platinum$4,999/Server
Gold +● Higher SLA than Gold● Ensures performance
and availability● Guards against
unplanned schema change
● Optimizes/tunes● Custom queries ● Database design● Custom code
Gold$2,999/Server
Silver +
24/7 support Monitors and optimizes
memory usage Replication monitor Ensures proper
replication configuration Rapid problem
resolution Hot-fix builds
Silver $1,999/Server
Basic + Busines-hours phone
support Monitors all servers Proactive notifications Expert advice Optimizes MySQL
configuration settings Ensures recoverability Tightens security Extends support
Basic$599/server
Two incidents via email support
Enterprise server Ensures uptime/reliability Regular service packs Self-help support
Valu
e to
cust
omer Gold and Platinum
should be minimum— these provide 24/7
support.
38
Enterprise Monitor by Subscription Level
MySQL Enterprise Monitor
✓ ✓ ✓
Notifications and alerts ✓ ✓ ✓
Custom advisors ✓ ✓ ✓
Administration advisor ✓ ✓ ✓
Upgrade advisor ✓ ✓ ✓
Security advisor ✓ ✓ ✓
Replication advisor ✓ ✓
Replication monitor ✓ ✓ Query Analyzer ✓ ✓ Memory-usage advisor ✓ ✓ Schema advisor ✓ Performance advisor ✓
Enterprise Basic
Enterprise Silver
Enterprise Gold
Enterprise Platinum
Enterprise dashboard
39
MySQL Enterprise Unlimited
MySQL Unlimited• Fixed annual subscription
> Unlimited servers> Unlimited CPUs> Unlimited cores
• Simplify> No counting> No compliance issues
• Pricing> No proprietary DBMS license fees> Price starts at $40K/year
40
Price per year
Employees Gold Platinum
1–999 $40,000 $100,000
1,000–4,999 $250,000 $625,000
5,000+ $500,000 $1,250,000
MySQL Enterprise Unlimited Pricing
41
• Self-help support service– Online MySQL Knowledge Base
• Problem-resolution service– Seasoned support team– 24/7 email/phone access
• Consultative support services– Remote troubleshooting service– Configuration and tuning services– Customer code review services
MySQL Enterprise Support Services
42
Enterprise Strategy Considerations
• Deploy MySQL for new applications and major rewrites
• Target use cases> Web-facing applications of any scale> Medium to small OLTP applications> Business intelligence/data warehousing> Distributed applications
• Use MySQL to drive down proprietary vendor ELAs
• Annual MySQL Enterprise Unlimited subscription> No per-CPU or per-server fees
43
• Increase performance up to 50%• Up to 7.5x performance by design:
more memory, faster I/O, SSDs• Demanding MySQL deployments on
Linux, Windows, or Solaris OSs• Up to 53x less cost, 13x better
price/performance over proprietary stack • Leverage latest technologies for
performance, cost advantages• Try risk-, cost-, and hassle-free — get
up to ___% off to convert Try and Buy
Sun Systems for MySQL x86 PerformanceGet maximal MySQL performance on any OS, industry-standard technology
Simply no reason to have performance envy
44
• 10x proven price/performance, 3x more throughput, 83% less power • Fast, free, open hypervisor,
low-cost storage arrays• Breakthrough throughput,
eco-efficiency, and reliability• Consolidate in up to 128 virtual
MySQL servers in 1U/blade format• Scale MySQL with TomCat, Apache,
Lighttpd, SugarCRM, Drupal, others• Try risk-, cost-, and hassle-free — get
up to 40% off to convert Try and Buy
Sun Systems for MySQL Virtualization Reduce environmental costs — virtualize and scale for maximal eco-efficiency
Scaling sky-high for MySQL Virtualization
Sun SPARC Enterprise Sun Blade T5220 server T6320 server module
45
Sun Systems for MySQL BackupEasily and simply protect critical Data for business continuity
Easy, affordable data protection for MySQL
• Continuous enterprise data protection specifically for MySQL• 2x system performance for the money• Uses Solaris ZFS snapshots for hot
backup of MySQL schema and data• Enables recovery to any point in time• Single console eases management of
multiple MySQL servers• Enterprise support from Sun• Unique 60-day trial of ZRM — up to
20% off system through Try and Buy
Sun Fire X4540 storage server
Sun Storage J4200 array
46
Sun is the leading provider of platforms for the Web economy
• Open source throughout• Easily accessible• Global mission-critical support
and services• Solutions for both Web and
traditional enterprises• Highly scalable, highly reliable• Proven market acceptance• Innovation focused on driving
customer value
Positioned for Growth
MySQL and Sun:The Platform for the Web EconomySun Microsystems