oracle mysql+ +platform+overview
TRANSCRIPT
-
7/28/2019 Oracle MySQL+ +Platform+Overview
1/52
-
7/28/2019 Oracle MySQL+ +Platform+Overview
2/52
MySQL - Platform Overview
Keith HollmanPrincipal Sales Consultant MySQL
-
7/28/2019 Oracle MySQL+ +Platform+Overview
3/52
Agenda
Introduction to MySQL MySQL Architecture and Technology MySQL Enterprise
Scalability and High Availability with MySQL Tools, Services and More
-
7/28/2019 Oracle MySQL+ +Platform+Overview
4/52
Multiple Languages
C C++ C#
MySQL is Everywhere
MULTIPLE PLATFORMS
MULTIPLE LANGUAGES
-
7/28/2019 Oracle MySQL+ +Platform+Overview
5/52
MySQL is Powering the Web
Enterprise 2.0SaaS, Hosting
Web OEM / ISV
s
Telecommunications
Thank You MySQL Customers
http://images.google.com/imgres?imgurl=http://www.infinitytechnology.com/uploadedImages/Home/TechFocus_News/AlcatelLucent_Hor_2col_lrg.gif&imgrefurl=http://www.infinitytechnology.com/phonesystems.aspx&h=251&w=720&sz=11&hl=en&start=4&sig2=urYvX47BOQRqvADY_UMA0w&um=1&tbnid=pA91nzVKrUFImM:&tbnh=49&tbnw=140&ei=94SgSOaRCaqkpATZu-jgBw&prev=/images?q=alcatel+lucent&um=1&hl=en&suggon=0&rls=com.microsoft:en-us&sa=N -
7/28/2019 Oracle MySQL+ +Platform+Overview
6/52
Who is Using MySQL The Top 20 Websites
1. Google
2. Facebook3. Youtube4. Yahoo5. Windows Live Wikipedia Baidu Blogger MSN QQ
11.Twitter
12.Yahoo JP13.Google IN14.Taobao Google DE Google HK Wordpress Amazon.com Google UK Sina
...and many more: Flickr, Second Life, Craigslist, Slashdot, LiveJournal, Digg,Del.icio.us, Pricegrabber.com, Weather.com etc.
-
7/28/2019 Oracle MySQL+ +Platform+Overview
7/52
Oracle s Investments in MySQL
Make MySQL a Better MySQL #1 Open Source Database for Web Applications
Develop, Promote and Support MySQL Improve engineering, consulting and support
MySQL Community Edition Source and binary GPL releases
MySQL Focus Areas Web, Embedded & Telecom LAMP Windows
Oracle + MySQL Customers Oracle Enterprise Manager Oracle Secure Backup Oracle Audit Vault
-
7/28/2019 Oracle MySQL+ +Platform+Overview
8/52
Oracle s Investment in Open Source
Supported popular open source projects for many years Part of Oracle s Complete, Open, Integrated strategy Speed up time-to-innovation Expand the developer community
-
7/28/2019 Oracle MySQL+ +Platform+Overview
9/52
Agenda
Introduction to MySQL MySQL Architecture and Technology MySQL Enterprise
Scalability and High Availability with MySQL Tools, Services and More
-
7/28/2019 Oracle MySQL+ +Platform+Overview
10/52
MySQL 5 All the Right Features
Stored Procedures Query Optimizations Archive Engine InnoDB storage
Table/Index Partitioning Full-Text Improvements Archive Improvements Faster DDLs Parallel Data Import New Load Testing Utility MyISAM Memory Option New Diagnostics
Stored procedure SQL Mode Triggers Views Precision Math Distributed Transactions Increased object support
Row-Based Replication Federated Engine Txn Row-Based Binary Log Analysis
Instance Manager Information Schema Cursors Enhanced GUI Tools Migration Toolkit MySQL Workbench
XML/XPath Support Task Scheduler Storage Engine Plug-in API
5 5 5
5. 1 5. 1 5. 1
-
7/28/2019 Oracle MySQL+ +Platform+Overview
11/52
Pluggable Storage Engine Architecture
MySQL Server
-
7/28/2019 Oracle MySQL+ +Platform+Overview
12/52
MyISAM Storage Engine
Fast Facts Default Storage Engine Table Level Locking, non-transactional
Locks do not apply if rows are appended Unlimited data storage Support for Full-text and Geospatial data Offer compress data option Fast read, faster bulk load Available as Active/Active cluster conf.
Best Use Cases Data Warehouse High-traffic web sites Data collectors (telco and net data records)
-
7/28/2019 Oracle MySQL+ +Platform+Overview
13/52
InnoDB Storage Engine
Fast Facts ACID transaction support Based on tablespaces (max 64TB/tbs) Row-level locking, MVCC, 4 isolation levels Log/double buffer support Foreign Keys and constraints Fast Crash/Recovery support Available as Active/Passive cluster conf.
Best Use Cases OLTP Applications E-Commerce web sites
-
7/28/2019 Oracle MySQL+ +Platform+Overview
14/52
NDB Storage Engine
High Availability (99.999%)> Fault tolerant, no single point of failure> Geographical redundancy
Near linear scalability> Predictable real time performance> Scale applications/data independently
Built-in failover and load balancing> Sub second failover
Online upgrade and management> Add nodes
> Add columns, index Multiple Simultaneous Data Access Interfaces
> SQL (JDBC/ODBC)> Direct APIs (C++/Java)> LDAP, Web Services
-
7/28/2019 Oracle MySQL+ +Platform+Overview
15/52
NDB Storage Engine
Data is stored in an ACID compliant in-memory database> Data is written safely> Synchronous two-phase commit> Disk data table support
High Performance> Need more capacity? Add more Data Nodes> Better throughput? Add more application instances
Geographical Replication> Multiple replication topologies are supported> No single point of failure using two replication channels
Ongoing work on multithreaded Data Nodes> Up to 8 cores per Data Node
-
7/28/2019 Oracle MySQL+ +Platform+Overview
16/52
Agenda
Introduction to MySQL MySQL Architecture and Technology MySQL Enterprise
Scalability and High Availability with MySQL Tools, Services and More
-
7/28/2019 Oracle MySQL+ +Platform+Overview
17/52
MySQL Enterprise An all-in-one subscription that includes:
MySQL Enterprise Server The most reliable, secure, and up-to-date version of the world's
most popular open-source database, with fastest access toservice packs and hot fixes
Monitoring Additional capabilities that provide automated best practices
rules for maximum uptime and performance Support
Around-the-clock support for MySQL, along with consultativeservices and priority escalation
-
7/28/2019 Oracle MySQL+ +Platform+Overview
18/52
MySQL Enterprise Features
COMMUNITY ENTERPRISE
Open Source
Benefits from testing by worldwide Community
Feature Releases Mature Mature
Monthly Rapid Update Service Pack Program
Hot Fix Program
Bug Escalation Privilege
24x7 Production Support & Consultative Service
Platform / Application / Training Certified
Extended End-of-Life Policy
Enterprise Installer and Configuration Manager
Out-of-the-Box Configured for Enterprise use
Monitoring and Advisory Service / Virtual DBA Assistant
Automated Software Update and Alert Service
Online Knowledge Base
Extensive internal/external (Coverity, KLOCwork) testing
Benchmarked with 2,000+ connections
-
7/28/2019 Oracle MySQL+ +Platform+Overview
19/52
MySQL Enterprise Monitor A Virtual MySQL DBA Assistant!
Single, consolidated view intoentire MySQL environment
Auto-discovery of MySQLservers, replication topologies
Customizable rules-basedmonitoring and alerts Identifies problems before they
occur Reduces risk of downtime Makes it easier to scale out
without requiring more DBAs
-
7/28/2019 Oracle MySQL+ +Platform+Overview
20/52
MySQL Enterprise Advisors140+ rules designed to enforce MySQL Best Practices.
Helps DBA better manage databaseprocesses
Suggests improvementsfor smoother operations
ADMINISTRATION
Protects MySQL Servers Uncovers Security
loopholes
SECURITY
Built by DBA to EnforceOrganization specificbest practices
Create New or Tailor MySQL Advisors to fitneeds
CUSTOM
Monitors and AdvisesBugs that affect currentinstallation
Provides update path tocorrecting MRU/QSP
UPGRADE
Makes suggestions for improving replicationdesign
Identifies potentialreplication bottlenecks
REPLICATION
Ensures optimum use of memory
Minimizes disk access for read intensive systems.
MEMORY
Helps DBA design better databases
Uncovers Securityloopholes
SCHEMA
Makes suggestions for improving databasespeed
Identifies potentialperformance bottlenecks
PERFORMANCE
-
7/28/2019 Oracle MySQL+ +Platform+Overview
21/52
MySQL Replication Monitor
Makes it easier to scale out reads with MySQL Auto-detects and groups master/slave relationships Saves DBA time collecting master/slave status info
from command line
-
7/28/2019 Oracle MySQL+ +Platform+Overview
22/52
MySQL Query Analyzer
Trace, monitor & analyze MySQL query activity for specific servers, users, and applications.
Show worst queries Bad exec time or count; bad row size or count; Capture/show problem query examples Show Query Explain
-
7/28/2019 Oracle MySQL+ +Platform+Overview
23/52
MySQL Enterprise Backup
Formerly InnoDB Hot Backup Online, non-locking backup & recovery
Tables, Indexes Server, database, or object-level
Logical and physical backups Full or incremental backups Point-in-time recovery
Compressed backups Also provides backup & recovery for MyISAM Cross-Platform (Windows, Linux, Unix)
-
7/28/2019 Oracle MySQL+ +Platform+Overview
24/52
MySQL Workbench The MySQL IDE
The Official MySQL GUI Application Combines Three Major Feature Sets in
One Tool Design Development Administration
Cross platform and Native UI Windows Linux Mac OSX
-
7/28/2019 Oracle MySQL+ +Platform+Overview
25/52
MySQL Workbench Home Screen
-
7/28/2019 Oracle MySQL+ +Platform+Overview
26/52
MySQL Support Services
Self-help support service Online knowledge base
Problem-resolution service Seasoned support team 24x7 email/phone access
Consultative support services Remote troubleshooting service Configuration and tuning services Customer code review services
-
7/28/2019 Oracle MySQL+ +Platform+Overview
27/52
MySQL 5.5
InnoDB will become default ACID Transactions, FKs, Crash Recovery
Improved Availability Semi-synchronous Replication
Replication HeartbeatImproved Usability SIGNAL/RESIGNAL More Partitioning Options PERFORMANCE_SCHEMA
Better Instrumentation/Diagnostics InnoDB stats in 5.5 PERFORMANCE_SCHEMA
-
7/28/2019 Oracle MySQL+ +Platform+Overview
28/52
MySQL 5.5 is Faster!
InnoDB Performance improvements Multiple Buffer Pool Instances Multiple Rollback Segments Extended Change Buffering (with delete buffering, purge
buffering) Improved Purge Scheduling
Improved Log Sys mutex Separate Flush List mutex
MySQL Performance Improvements Better Metadata Locking within Transactions Split LOCK_open mutex Eliminated LOCK_alarm mutex as bottleneck
Eliminated LOCK_thread_count as bottleneck Improved Performance/Scale on Win32, 64
More than 10x improvement in recovery times
-
7/28/2019 Oracle MySQL+ +Platform+Overview
29/52
-
7/28/2019 Oracle MySQL+ +Platform+Overview
30/52
MySQL 5.5 SysBench Benchmarks
MySQL 5.1.40(InnoDB built-in)
MySQL 5.1.40(InnoDB Plug-in)
MySQL 5.5.4(New InnoDB)
364% performance gain for MySQL 5.5 over 5.1.40; at scale
Intel Xeon X7460 x86_64
4 CPU x 6 Cores/CPU
2.66 GHz, 32GB RAM
Fedora 10
-
7/28/2019 Oracle MySQL+ +Platform+Overview
31/52
Agenda
Introduction to MySQL MySQL Architecture and Technology MySQL Enterprise Scalability and High Availability with MySQL Tools, Services and More
-
7/28/2019 Oracle MySQL+ +Platform+Overview
32/52
Single Server
HA: 90% Scalability: None
Usual start. The Availability of the
system rely on the MTBF (Mean TimeBetween Failure) of the hardware.Without spare servers a down can lastfor hours or days.
-
7/28/2019 Oracle MySQL+ +Platform+Overview
33/52
HA: Replication
HA: 99% (A/A) Scalability: None Replication: built-in async Cluster manager: Third
Party
Circular Asynchronousreplication. In case of
failure some data loss canhappen.
-
7/28/2019 Oracle MySQL+ +Platform+Overview
34/52
HA: Shared Storage
HA: 99.9% (A/P) Scalability: None Cluster Manager: Third
Party
Standard shared storageimplementation. Need aCluster Manager for failure
management.
-
7/28/2019 Oracle MySQL+ +Platform+Overview
35/52
HA: DRBD
HA: 99.9% (A/P) Scalability: None Replication: Third Party Cluster Manager: Third
Party
Synchronous replication atFile System level. Needs a
Cluster Manager.
-
7/28/2019 Oracle MySQL+ +Platform+Overview
36/52
SCALABILITY: Replication
HA: 99% Scalability: Reads Replication: Built-in
Slaves not synchronized,can have different data.Scale only reads, notwrites.
-
7/28/2019 Oracle MySQL+ +Platform+Overview
37/52
SCALABILITY: Partitioning
HA: 90% Scalability: some R/W
improvements Partitioning: Transparent
Still limited by theresources of the machine.
P1
P2
P3
P4
-
7/28/2019 Oracle MySQL+ +Platform+Overview
38/52
SCALABILITY: Sharding
HA:
-
7/28/2019 Oracle MySQL+ +Platform+Overview
39/52
SCALABILITY AND HA: Sharding+DRBD
HA: 99.9% (A/P) Scalability: R/W scalability Partitioning: Logic in the App
Cross-sharding queries:Logic in the App
Replication: Third Party Cluster Manager: Third
Party
Unlimited scalability. Waste of hardware
P1 P1
P2 P2
-
7/28/2019 Oracle MySQL+ +Platform+Overview
40/52
SCALABILITY AND HA: Sharding+DRBD Optimized
HA: 99.9% (A/P) Scalability: R/W scalability Partitioning: Logic in the App
Cross-sharding queries:Logic in the App
Replication: Third Party Cluster Manager: Third
Party On line scalability:
manually Unlimited scalability.
P1
P2
P2
P1
-
7/28/2019 Oracle MySQL+ +Platform+Overview
41/52
SCALABILITY AND HA: Transparent Sharding
HA: 99.9% (A/P) Scalability: R/W scalability Partitioning: Transparent Cross-sharding queries:
Transparent Replication: Third Party Cluster Manager: Third
Party Online scalability:
automatic
Unlimited scalability.
P1
P2
P2
P1
-
7/28/2019 Oracle MySQL+ +Platform+Overview
42/52
SCALABILITY AND HA: Built-in replication
HA: 99.99% (A/A) Scalability: R/W scalability Partitioning: Transparent Cross-sharding queries:
Transparent Replication: Built-in Cluster Manager: Third
Party
Unlimited scalability.
P1
P2
P2
P1
P3
P4
P4
P3
-
7/28/2019 Oracle MySQL+ +Platform+Overview
43/52
SCALABILITY AND HA: Built-in clustering
HA: 99.999% (A/A) Scalability: R/W scalability Partitioning: Transparent Cross-sharding queries:
Transparent Replication: Built-in Cluster Manager: Built-in,
sub-second failover Online scalability:
automatic
Unlimited scalability.
P1
P2
P2
P1
P3
P4
P4
P3
Cluster
Manager
-
7/28/2019 Oracle MySQL+ +Platform+Overview
44/52
SCALABILITY AND HA: SQL or NoSQL?
HA: 99.99% (A/A) Scalability: R/W scalability Partitioning: Transparent Cross-sharding queries:
Transparent Replication: Built-in Cluster Manager: Built-in Online scalability:
automatic Multiple Protocols
P1
P2
P2
P1
P3
P4
SQL
P3
Cluster
Manager
SQLSQL
JPA LDAPHTTP NDB
API
SQL
P4
-
7/28/2019 Oracle MySQL+ +Platform+Overview
45/52
Agenda
Introduction to MySQL MySQL Architecture and Technology MySQL Enterprise Scalability and High Availability with MySQL Resources
-
7/28/2019 Oracle MySQL+ +Platform+Overview
46/52
The value of MySQL and its Community
Manuals http://dev.mysql.com/doc
Forums http://forums.mysql.com
Worklog http://forge.mysql.com/worklog
MySQL Forge http://forge.mysql.com
MySQL University http://forge.mysql.com/wiki/MySQL_University
http://dev.mysql.com/dochttp://forums.mysql.com/http://forge.mysql.com/workloghttp://forge.mysql.com/http://forge.mysql.com/wiki/MySQL_Universityhttp://forge.mysql.com/wiki/MySQL_Universityhttp://forge.mysql.com/http://forge.mysql.com/workloghttp://forums.mysql.com/http://dev.mysql.com/doc -
7/28/2019 Oracle MySQL+ +Platform+Overview
47/52
More Resources Available
Webinars http://www-it.mysql.com/news-and-
events/web-seminars/ Consulting
MySQL Architecture & Design MySQL Performance tuning MySQL HA Jumpstart http://ww.mysql.com/consulting/
Training MySQL 5.0 for DBAs MySQL 5.0 for Developers MySQL 5.0 Performance & Tuning http://www.mysql.com/training
White Papers http://www.mysql.com/why-mysql/white-
papers
http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www.mysql.com/consulting/http://www.mysql.com/why-mysql/white-papershttp://www.mysql.com/why-mysql/white-papershttp://www.mysql.com/why-mysql/white-papershttp://www.mysql.com/why-mysql/white-papershttp://www.mysql.com/why-mysql/white-papershttp://www.mysql.com/why-mysql/white-papershttp://www.mysql.com/why-mysql/white-papershttp://www.mysql.com/consulting/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/http://www-it.mysql.com/news-and-events/web-seminars/ -
7/28/2019 Oracle MySQL+ +Platform+Overview
48/52
-
7/28/2019 Oracle MySQL+ +Platform+Overview
49/52
Thank You
Downloads: http://dev.mysql.com/downloads Documentation: http://dev.mysql.com/doc Blogs: http://planet.mysql.com Forums: http://forums.mysql.com
search.mysql.com
http://dev.mysql.com/downloadshttp://dev.mysql.com/dochttp://planet.mysql.com/http://forums.mysql.com/http://forums.mysql.com/http://planet.mysql.com/http://dev.mysql.com/dochttp://dev.mysql.com/downloads -
7/28/2019 Oracle MySQL+ +Platform+Overview
50/52
The preceding is intended to outline our generalproduct direction. It is intended for informationpurposes only, and may not be incorporated into anycontract. It is not a commitment to deliver any
material, code, or functionality, and should not berelied upon in making purchasing decisions.The development, release, and timing of any featuresor functionality described for Oracle
s productsremains at the sole discretion of Oracle.
-
7/28/2019 Oracle MySQL+ +Platform+Overview
51/52
-
7/28/2019 Oracle MySQL+ +Platform+Overview
52/52