Beruflich Dokumente
Kultur Dokumente
Matthew Montgomery
Agenda
Industry Trends MySQL in Communications MySQL Cluster Architecture MySQL Cluster 7.0 Use Cases Resources
About MySQL
14 Years of Development Acquired by Sun in February 2008 400+ in Database Group 750+ Partners 70K+ Downloads Per Day Customers across every major operating system, hardware vendor, geography, industry, and application type
OEM /ISV's
Telecommunications
Enterprise 2.0
MySQL in Communications
http://www.mysql.com/industry/communications/resources.html#customer_case_studies
MySQL Cluster
Key Capabilities
Carrier-grade database Highly available
Shared-nothing, ACID-compliant relational database Five 9s (99.999%) availability using commodity hardware. Self-healing, sub-second failover High-load, real-time performance Predictable low latency, bounded access times Incrementally scale up, out and on-line as application demands Linearly scale with distribution awareness Open source, multiple data access High-performance APIs (C++/Java), SQL, LDAP, Web Services
The Worlds Most Popular Open Source Database 10
LDAP
MGM
MGM
NDB API
NDB API
Cluster 1
Cluster 2
Multi-Threaded Data
Simplified Maintenance
Back-up Snapshot
Nodes
Dynamic On-Line
Directories
Scalability
Large Record
Handling
Multi-Threaded Disk
"We view MySQL Cluster Carrier Grade Edition as a strategic technology in our applications portfolio. With MySQL Cluster CGE 7.0 we are enabling our customers to expose the rich capabilities of their networks to drive a long-tailed innovation model. As a result, the operator can leverage the creativity and agility of the web ecosystem to deliver new compelling, personalized and targeted services to their subscribers without compromising reliability and scalability."
Application
Node group
Authid (PK) 1 2 3 4
Application
Node Group
Authid (PK) 1 2 3 4
Country France USA Germany Japan Authid (PK) 2 4 Frame Ernest Junichiro Iname Hemingway Tanizaki Country USA Japan
Application
Node group 1
Node group 2
Authid (PK) 1 2 3 4
Country France USA Germany Japan Authid (PK) 2 4 Frame Ernest Junichiro Iname Hemingway Tanizaki Country USA Japan
Node group 1
Node group 2
Authid (PK) 1 3
Authid (PK) 2 4
Data Nodes
Sun Fire x4450s
SQL Nodes
Sun Fire x4600s & x4450s
4.3x higher throughput at 4-nodes MySQL Cluster 7 achieves 140k+ TPM with 2 data nodes vs 8 data nodes required for MySQL Cluster 6.3 4x less power and space consumption
I/O threads
Files
NDB
4 bytes
1 2 3
App
bitmap
NDB
1 2 3
Optimization of the NDB messaging protocols between apps and NDB nodes and between NDB nodes Packed read reduces the size of read and response messages > Reduces bandwidth used on the network increasing throughput Read request: replaces a list of column identifiers with a bitmap Read response: column values no longer need to be packed to a 4 byte boundary Changes are transparent to the application, but designers might choose to design schemas that further exploit the mechanism so that fields pack tightly
NDB
Ap p
TCKEYRE Q KEYINFO ATTRINFO
NDB
Optimization of the NDB messaging protocols between apps and NDB nodes and between NDB nodes Long signal transactions: >Reduces bandwidth used on the network, increasing throughput (50100% improvements observed) Transparent to the application
Copyright 2009 MySQL Sun Microsystems.
Existing messages limited to 100 bytes so complex requests split across multiple messages: > Bandwidth wasted on protocol overhead (header info) for each message > CPU consumed reassembling operation LST enables large operations to be specified in a single message (up to 32 KB); fragmented signals can be used if larger messages are needed
The Worlds Most Popular Open Source Database 23
Enables user to take advantage of MySQL Cluster to provide high availability, massively scaleable, real time clustered database, using driver from directory vendor Maintain standard API data access of LDAP Maintain directory benefits while improving agility, Copyright 2009 reducing database management complexity & Open Source Database 24 MySQL Sun Microsystems. The Worlds Most Popular cost
t i o n s / r e a d s o f l a r g e s s t fa i l b e l se ; d s ap t e a e a d c s c p e r a b i li t y
t e
W i n d o w s - Gs u A p ) p o r t ( p r e S u p p o r t f o r C - lG u sr a t e d r e a D s i a- E e Cnc da o r r r y i e B r a c k r t R e - t ia m l e c lu s t e r e d d a t a b a s e u s i n g d r i v S im p li f i e h o a o d M o n i t o r i n g & M a n a g e t a m c e a n c t h
f r o
S n a p s N D B C s c h e m
t o p t i o n f o r b a c k u p s n s i s t e c no tn c f o g n u f ri ga u i or a n t i do na i t c h a n g e s
&
Cluster reconfiguration
> Rolling restart
Cluster monitoring
> Recovery actions
Multi-site management
MySQL Cluster Manager 1.0 GA second half CY09 will deliver a subset of this functionality
failover
Why MySQL?
http://mysql.com/customers/view/? id=566
Performance Reliability Lower costs
MySQL Cluster won the performance test hands-down, and it fitted our needs perfectly. We evaluated shared-disk clustered databases, but the cost would
Franois Leygues, Systems Manager, Alcatel-Lucent Source Database 27 The Worlds Most Popular Open
27
UTStarcom
Applications
IPTV with data base requirements for eCommerce, OLTP, and data warehousing
Why MySQL?
Ensured 99.999% availability High performance and scalability
As one of the leading databases, MySQL Cluster provides high availability, reliable services, and proven ability to scale, satisfying our telco requirements.
Copyright 2009 MySQL Sun Microsystems.
M1 Singapore
Application
> RewardsPlus enables M1 to run credit expiration campaigns, generate comparison reports on promotional efficiency and send customized SMS messages to subscribers.
Why MySQL?
> Reliability & Scale Out
We rely on MySQL Cluster as the key technology behind RewardsPlus, which helps us increase the average revenue per user, and improve customer loyalty.
Tan Tiong Heng, General Manager, Core Network Planning, M1, Singapore
Copyright 2009 MySQL Sun Microsystems.
29
MySQL in Communications
http://www.mysql.com/industry/communications/
Questions?
Matthew Montgomery