SlideShare a Scribd company logo
MySQL Enterprise Monitor
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor
Mario Beck
MySQL Presales Manager EMEA
mario.beck@oracle.com
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
3
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor: Agenda
Why MySQL Enterprise Edition?
Overview & Architecture
Installation & Configuration
Features & Benefits
Additional Info & Case Studies
4
1
2
3
4
5
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Why MySQL Enterprise Edition?
5
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Cloud
Web & Enterprise OEM & ISVs
6
Industry Leaders Rely on MySQL
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
They Scale
with MySQL
Mobile Network
Supporting Over 800
Million Subscribers
1.6 Billion Active Users
100 TB of User Data for PayPal
IDs Processed for 1
Billion Citizens
850 Million Candy
Crush Game Plays/Day
2 Billion Events/Day for
Booking.com
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Replication Lossless Semi-Synchronous
GTIDs
Crash Safe
Time Delayed
Multi-threaded
Multi-Source
InnoDB Improved Throughput
Default Online DDL
Full Text Search
NoSQL Access
M y S Q L U t i l i t i e s
EXPLAIN
O p t i m i z e r : F a s t e r
Q u e r y E x e c u t i o n a n d
B e t t e r D i a g n o s t i c s
G I S
Performance
Schema
Security Partitioning
Why MySQL Enterprise Edition?
All the Database Features You Love
8
J S O N
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Why MySQL Enterprise Edition?
In Addition to all the MySQL Features you Love
Insure Your Deployments
Get the Best Results
Delight Customers
9
Improve
Performance
& Scalability
Enhance Agility &
Productivity
Reduce TCO
Mitigate Risks
Get
Immediate
Help if/when
Needed
Increase
Customer
Satisfaction
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Management ToolsAdvanced Features Support
•Scalability
•High Availability
•Authentication
•Audit
•Encryption
•Firewall
•Monitoring
•Backup
•Development
•Administration
•Migration
• Technical Support
• Consultative Support
• Oracle Certifications
MySQL Enterprise Edition
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Overview & Architecture
11
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor
12
Application
Big Fish Games is a global leader in the online games industry
and distributes more games worldwide than any other online
site.
Key Business Benefit
MySQL Query Analyzer provides a consolidated view of query
activities and execution details, and has enabled Big Fish Games
to quickly identify poorly running queries and tackle the root
causes directly in the SQL code.
Why MySQL Enterprise Edition?
“With the MySQL Query Analyzer, we were able to identify and
analyze problematic SQL code, and triple our database
performance. More importantly, we were able to accomplish this
in three days, rather than taking weeks.” -- Keith Souhrada,
Software Development Engineer, Big Fish Games
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Database Application Growth
• 2.1 Billion Internet Users
• 40% Data Growth/Year
• $1 Trillion eCommerce
• 600 New Videos/Minute
• 58 Million Tweets/Day
Situation
Requirements
• Performance
• Scale-out
• Automation
13
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL DBA Checklist
1. Ensure your production databases are available ✔
2. Monitor MySQL performance throughout the day ✔
3. Verify that MySQL replication is working properly ✔
4. Confirm that backups have completed successfully ✔
5. Monitor disk space to ensure MySQL won’t run out of space ✔
6. Regularly monitor and identify blocking issues ✔
7. Verify there have been no changes to database schema ✔
8. Check OS metrics for unusual events ✔
9. Check for security vulnerabilities ✔
10. Monitor and analyze memory usage ✔
14
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL DBA Challenges
• “The database is slow. What needs tuning?”
• “What are my most expensive queries?”
• “Are indexes optimized?”
• “Is replication lag a problem?”
• “Did my last backup succeed?”
• “When will my disk fill up?”
• “When will I need more hardware to scale-out?”
• “Has my database schema changed?”
• “Are there security vulnerabilities that I need to be concerned about?”
15
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor
16
• Start monitoring MySQL in 10 minutes
• Real-time MySQL performance and
availability monitoring
• Visually find & fix problem queries
• Disk monitoring for capacity planning
• Cloud friendly architecture
– No agents required
– Policy driven configuration
– Easy integration with DevOps tools
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Cloud Friendly Architecture
• MySQL
– Performance Schema provides Query Analyzer data
– Provides all MySQL related metrics
• Service Manager
– Collects all MySQL related metrics
– Collects all OS/Host related metrics
• Repository
– Stores all historical data
• Agent (optional)
– Only required for OS/Host metrics
17
MySQL Enterprise
Dashboard
Service Manager
Repository
HTTPS
DataCenterPublicCloudPrivateCloud
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Installation & Configuration
• Install the Service Manager
– shell> ./mysqlmonitor-3.X.X.XXXX-…-installer.bin
• Up and Running in 10 minutes
– Auto-discovery of MySQL servers
– Advisors are pre-configured
– Advisors are pre-scheduled
• Customization
– Centralized configuration dashboard
– Advisors
– Event handling
18
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Dashboard
19
"The MySQL Enterprise Monitor is an absolute
must for any DBA who takes his work seriously.”
Adrian Baumann
System Specialist
Federal Office of Information Technology &
Telecommunications
• SLA monitoring
• Real-time performance monitoring
• Alerts & notifications
• MySQL best practice advisors
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Hardware
Schema Changes
Data Growth
Indexes
SQL
90% of
Performance Problems
Source of Database Performance Problems
20
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Performance Schema
• Identify performance bottlenecks
• Identify problematic queries
• Get real time insight into locks
• See exactly what is happening
within MySQL
• Get real time insight into MySQL
internals
• Get real time insight into query
executions
21
mysql> select * from host_summary_by_stages;
+------+--------------------------------+-------+-----------+-----------+
| host | event_name | total | wait_sum | wait_avg |
+------+--------------------------------+-------+-----------+-----------+
| hal | stage/sql/Opening tables | 889 | 1.97 ms | 2.22 us |
| hal | stage/sql/Creating sort index | 4 | 1.79 ms | 446.30 us |
| hal | stage/sql/init | 10 | 312.27 us | 31.23 us |
| hal | stage/sql/checking permissions | 10 | 300.62 us | 30.06 us |
| hal | stage/sql/freeing items | 5 | 85.89 us | 17.18 us |
| hal | stage/sql/statistics | 5 | 79.15 us | 15.83 us |
| hal | stage/sql/preparing | 5 | 69.12 us | 13.82 us |
| hal | stage/sql/optimizing | 5 | 53.11 us | 10.62 us |
| hal | stage/sql/Sending data | 5 | 44.66 us | 8.93 us |
| hal | stage/sql/closing tables | 5 | 37.54 us | 7.51 us |
| hal | stage/sql/System lock | 5 | 34.28 us | 6.86 us |
| hal | stage/sql/query end | 5 | 24.37 us | 4.87 us |
| hal | stage/sql/end | 5 | 8.60 us | 1.72 us |
| hal | stage/sql/Sorting result | 5 | 8.33 us | 1.67 us |
| hal | stage/sql/executing | 5 | 5.37 us | 1.07 us |
| hal | stage/sql/cleaning up | 5 | 4.60 us | 919.00 ns |
+------+--------------------------------+-------+-----------+-----------+
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Features & Benefits
22
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Performance Monitoring
• Monitor MySQL performance
• Monitor OS performance
• Monitor query performance
• Advice on index usage
• Alerts on performance problems
23
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Enterprise Query Analyzer
• Real-time query performance
• Visual correlation graphs
• Find & fix expensive queries
• Detailed query statistics
• Query Response Time index (QRTi)
24
“With the MySQL Query Analyzer, we were able to identify
and analyze problematic SQL code, and triple our database
performance. More importantly, we were able to
accomplish this in three days, rather than taking weeks.”
Keith Souhrada
Software Development Engineer
Big Fish Games
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Query Response Time Index (QRTi)
• “Quality of Service” (QoS) measurement for each query
• QoS measurement for a server, group, or every instance
• Single metric for query performance
25
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
1 2 3 4
• Visually Identify Slow Queries
• Correlation Graphs
• Query Response Time index (QRTi)
• Execution Statistics
• Tune Queries
• Add Indexes
• Tune Schemas
• Improve Caching
• MySQL Explain Plan
• Sample Query
• Query Graphs Better Performance
Solving Query Performance Problems
26
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Advantages of the Query Analyzer
over Slow Query Log
• See query execution statistics
• Trace the query origination back to the application source code
• View the overall query performance over time
• See when the query was first introduced
• See the explain plan
• Focus on queries specific to a particular host and time period
• View query executions correlated with other performance graphs
27
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
InnoDB Monitoring
• Monitor key performance metrics
• Stay on top of locking issues
• Get configuration advice
• Examine buffer pool usage
28
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Memory Usage Monitoring
• Monitor OS memory usage
• Monitor MySQL memory usage
• Advice on configuration
• Alerts on memory usage
29
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Replication Monitoring
• Replication Dashboard
• Auto-discovers replication topology
• Master/Slave performance monitoring
• Replication advisor
• Best practice replication advice
30
"I use the MySQL Enterprise Monitor
every day to monitor and keep tabs on
our MySQL databases. Quick one stop
shopping for keeping tabs on them.”
Wes Homer,
Sr System and Network Administrator
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Replication Monitoring: Topology View
• Configuration of Replication Groups
• Replication Channel View
• Multiple Replication Topologies
– Master/Slave
– Multi-Source
– Circular
– Ring
31
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Replication Monitoring: Group Status & Statistics
• Binary Logging
• Semi-sync Replication
• GTIDs
• Relay Logging
• Multi-threaded Replication
• Multi-source Replication
32
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Best Practice Advisors
• Enforce MySQL best practices
• 14 Advisor categories
• 250+ Advisors
• Threshold-based alerts
– Exponential moving averages
– Rate change detection
• Expert problem resolution advice
33
"I definitely recommend the MySQL Enterprise
Monitor to DBAs who don't have a ton of MySQL
experience. It makes monitoring MySQL security,
performance and availability very easy to
understand and to act on.”
Sandi Barr
Sr. Software Engineer
Schneider Electric
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Disk Monitoring
• Capacity Planning
• Forecast capacity requirements
• Projections
• Trend analysis
• Timeseries data
34
"With the monitoring dashboard and advisory rules, we
can accurately predict our capacity requirements and
optimize MySQL performance.”
Keith Souhrada
Software Development Engineer
Big Fish Games
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Enterprise Backup Monitoring
• Monitor backup results
• Monitor backup performance
• Ensure backups are up to date
35
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Configuration Management
• Centralized management
• Organized by topic
• Options grouped by feature
• See host details
• See network details
36
Advisors will provide
configuration tuning
advice!
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Security Administration
• Account management
• Know when privileges change
• Get advice on best practices
• Monitor access problems
37
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Trends & Predictive Problem Detection
• Visual trend analysis
• Identify outliers
• Head off problems
• Handle imminent capacity issues
38
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Customizable & Extensible
• Create custom
– Groups
– Advisors
– Graphs
– Filters
– Event Handlers
– And more …
39
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Causes of Performance Issues MySQL Enterprise Monitor Helps
Queries doing table scans See these queries immediately
Excessive temporary tables on disk See the queries generating these
CPU spikes Find out what caused it
Disk I/O saturation Find out what caused it
Internal locking Get alerts when locking issues occur
Hardware problems Get alerts for disk and network problems
Database and schema changes Get alerts when changes are made
New queries introduced See what queries are added and when
Poor MySQL configuration Get advice on configuration tuning
Solving Common Performance Issues
40
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
✔ Identify the most expensive queries
✔ Full table scans (no indexes)
✔ Excessive temporary tables
✔ Large and/or frequent filesorts
✔ CPU usage overload
✔ Disk I/O saturation
✔ Hardware problems
✔ Database and schema changes
✔ New queries introduced
✔ Poor MySQL configuration
✔ Internal locking issues
Top 10 Performance Issues Solved
41
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
The Bottom Line
Performance
• Performance at scale
• Monitoring and tuning
Peace of Mind
• Insurance
• Immediate help
if/when needed
TCO
• Reduced risk of downtime
• Improved Productivity
Risks
• Security & regulatory
compliance
• Contact with MySQL team
DevOps Agility
• Automated scaling &
management
• Flexible, real-time backups
Customer Satisfaction
• Application performance
• Application uptime
42
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Additional Info & Case Studies
43
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor Demo Videos
44
http://www.mysql.com/products/enterprise/demo.html
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Company Overview
Known in the worldwide mobile ecosystem for
developing and managing paid apps and contents that
help consumers get greater enjoyment from mobile
devices.
Application
Buongiorno’s platform powered by MySQL Enterprise
Edition. Stores 8TB of data and handles 50K
queries/sec, 15K transactions/sec.
Why MySQL Enterprise Edition?
I highly recommend MySQL Enterprise Edition; the latest
version of the MySQL Enterprise Monitor is extremely
useful and saves us a lot of time and efforts." --
Carmine Giordano, DBA Manager, Buongiorno
Buongiorno
45
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Company Overview
International information technology services
company with annual revenue of EUR 8.8 billion and
77,100 employees in 52 countries.
Application
Atos Manages Transaction Clearing for the Euronext
Markets in Continental Europe (Cash and derivatives)
with MySQL Enterprise Edition.
Why MySQL Enterprise Edition?
"MySQL allows us to sleep soundly at night, which was
far from being the case with the old system. We deliver
better results at a lower cost, and the quality of
Oracle’s MySQL support is exemplary.“ -- Vincent
Cornet, DBA Support Manager, Atos
Atos
46
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Company Overview
Swedish fashion chain with over 180 stores, and selling
online in 28 countries.
Application
E-commerce application powered by MySQL Enterprise
Edition (initially built on Community Edition).
Why MySQL Enterprise Edition?
"MySQL Enterprise Edition enables us to expand and
grow online sales in both existing and new countries
while maintaining a low TCO. It is a high performance,
scalable and easy to monitor database; we’re extremely
pleased with it.“ -- Nicklas Griphem, Manager Server &
Infrastructure, Gina Tricot
Gina Tricot
47
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Get Started Today!
MySQL Enterprise Edition Trial Contact a MySQL Sales Rep
48
http://www.mysql.com/trials/ http://www.mysql.com/about/contact/
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
Thank You!
49
MySQL Enterprise Monitor

More Related Content

PDF
MySQL Community and Commercial Edition
PDF
MySQL for Oracle DBAs
PDF
MySQL 5.7: What's New, Nov. 2015
PDF
MySQL Enterprise Monitor
PDF
MySQL Security
PPTX
MySQL High Availibility Solutions
PDF
MySQL 5.6, news in 5.7 and our HA options
PDF
MySQL 5.7: Focus on Replication
MySQL Community and Commercial Edition
MySQL for Oracle DBAs
MySQL 5.7: What's New, Nov. 2015
MySQL Enterprise Monitor
MySQL Security
MySQL High Availibility Solutions
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.7: Focus on Replication

What's hot (20)

PDF
MySQL Enterprise Edition Overview
PDF
MySQL The State of the Dolphin - jun15
PPTX
MySQL Tech Tour 2015 - 5.7 Security
PDF
Oracle Enterprise Manager for MySQL
PDF
What's new in my sql smug
PDF
MySQL Cluster
PDF
MySQL 5.7 Replication News
PDF
Mysql security 5.7
PDF
Performance schema and sys schema
PDF
Upgrade from MySQL 5.7 to MySQL 8.0
PDF
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
PDF
MySQL Enterprise Backup apr 2016
PDF
MySQL sys schema deep dive
PPTX
MySQL Tech Tour 2015 - Manage & Tune
PDF
MySQL Technology Overview
ODP
Introduction to MySQL Enterprise Monitor
PDF
MySQL Cloud Service
PDF
MySQL Enterprise Edition - Complete Guide (2019)
PDF
MySQL's Performance Schema, SYS Schema and Workbench Integration
PDF
MySQL Manchester TT - Security
MySQL Enterprise Edition Overview
MySQL The State of the Dolphin - jun15
MySQL Tech Tour 2015 - 5.7 Security
Oracle Enterprise Manager for MySQL
What's new in my sql smug
MySQL Cluster
MySQL 5.7 Replication News
Mysql security 5.7
Performance schema and sys schema
Upgrade from MySQL 5.7 to MySQL 8.0
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Enterprise Backup apr 2016
MySQL sys schema deep dive
MySQL Tech Tour 2015 - Manage & Tune
MySQL Technology Overview
Introduction to MySQL Enterprise Monitor
MySQL Cloud Service
MySQL Enterprise Edition - Complete Guide (2019)
MySQL's Performance Schema, SYS Schema and Workbench Integration
MySQL Manchester TT - Security
Ad

Similar to MySQL Enterprise Monitor (20)

PPTX
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
PDF
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
PPTX
MySQL enterprise edition
PDF
Netherlands Tech Tour - 06 MySQL Enterprise Monitor
PDF
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
PPTX
6 Tips to MySQL Performance Tuning
ODP
MySQL Enterprise Portfolio
PDF
MySQL Manchester TT - MySQL Enterprise Edition
PDF
MySQL for Software-as-a-Service (SaaS)
PPTX
MySQL in oracle public cloud
PPTX
MySQL in oracle_public_cloud
PDF
MySQL Tech Tour 2015 - Alt Intro
PDF
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
PDF
제3회난공불락 오픈소스 인프라세미나 - MySQL
PDF
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
PDF
Modern Data Security with MySQL
PDF
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
PDF
My sql cluster case study apr16
PDF
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
PDF
Netherlands Tech Tour 03 - MySQL Cluster
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
MySQL enterprise edition
Netherlands Tech Tour - 06 MySQL Enterprise Monitor
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
6 Tips to MySQL Performance Tuning
MySQL Enterprise Portfolio
MySQL Manchester TT - MySQL Enterprise Edition
MySQL for Software-as-a-Service (SaaS)
MySQL in oracle public cloud
MySQL in oracle_public_cloud
MySQL Tech Tour 2015 - Alt Intro
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
제3회난공불락 오픈소스 인프라세미나 - MySQL
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Modern Data Security with MySQL
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
My sql cluster case study apr16
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
Netherlands Tech Tour 03 - MySQL Cluster
Ad

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Big Data Technologies - Introduction.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Cloud computing and distributed systems.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Spectroscopy.pptx food analysis technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Programs and apps: productivity, graphics, security and other tools
NewMind AI Weekly Chronicles - August'25 Week I
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Big Data Technologies - Introduction.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation_ Review paper, used for researhc scholars
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Empathic Computing: Creating Shared Understanding
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Spectral efficient network and resource selection model in 5G networks
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology
sap open course for s4hana steps from ECC to s4
Network Security Unit 5.pdf for BCA BBA.
Spectroscopy.pptx food analysis technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
The Rise and Fall of 3GPP – Time for a Sabbatical?

MySQL Enterprise Monitor

  • 2. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor Mario Beck MySQL Presales Manager EMEA mario.beck@oracle.com
  • 3. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 3
  • 4. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor: Agenda Why MySQL Enterprise Edition? Overview & Architecture Installation & Configuration Features & Benefits Additional Info & Case Studies 4 1 2 3 4 5
  • 5. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Why MySQL Enterprise Edition? 5
  • 6. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Cloud Web & Enterprise OEM & ISVs 6 Industry Leaders Rely on MySQL
  • 7. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | They Scale with MySQL Mobile Network Supporting Over 800 Million Subscribers 1.6 Billion Active Users 100 TB of User Data for PayPal IDs Processed for 1 Billion Citizens 850 Million Candy Crush Game Plays/Day 2 Billion Events/Day for Booking.com
  • 8. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Replication Lossless Semi-Synchronous GTIDs Crash Safe Time Delayed Multi-threaded Multi-Source InnoDB Improved Throughput Default Online DDL Full Text Search NoSQL Access M y S Q L U t i l i t i e s EXPLAIN O p t i m i z e r : F a s t e r Q u e r y E x e c u t i o n a n d B e t t e r D i a g n o s t i c s G I S Performance Schema Security Partitioning Why MySQL Enterprise Edition? All the Database Features You Love 8 J S O N
  • 9. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Why MySQL Enterprise Edition? In Addition to all the MySQL Features you Love Insure Your Deployments Get the Best Results Delight Customers 9 Improve Performance & Scalability Enhance Agility & Productivity Reduce TCO Mitigate Risks Get Immediate Help if/when Needed Increase Customer Satisfaction
  • 10. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Management ToolsAdvanced Features Support •Scalability •High Availability •Authentication •Audit •Encryption •Firewall •Monitoring •Backup •Development •Administration •Migration • Technical Support • Consultative Support • Oracle Certifications MySQL Enterprise Edition
  • 11. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Overview & Architecture 11
  • 12. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor 12 Application Big Fish Games is a global leader in the online games industry and distributes more games worldwide than any other online site. Key Business Benefit MySQL Query Analyzer provides a consolidated view of query activities and execution details, and has enabled Big Fish Games to quickly identify poorly running queries and tackle the root causes directly in the SQL code. Why MySQL Enterprise Edition? “With the MySQL Query Analyzer, we were able to identify and analyze problematic SQL code, and triple our database performance. More importantly, we were able to accomplish this in three days, rather than taking weeks.” -- Keith Souhrada, Software Development Engineer, Big Fish Games
  • 13. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Database Application Growth • 2.1 Billion Internet Users • 40% Data Growth/Year • $1 Trillion eCommerce • 600 New Videos/Minute • 58 Million Tweets/Day Situation Requirements • Performance • Scale-out • Automation 13
  • 14. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL DBA Checklist 1. Ensure your production databases are available ✔ 2. Monitor MySQL performance throughout the day ✔ 3. Verify that MySQL replication is working properly ✔ 4. Confirm that backups have completed successfully ✔ 5. Monitor disk space to ensure MySQL won’t run out of space ✔ 6. Regularly monitor and identify blocking issues ✔ 7. Verify there have been no changes to database schema ✔ 8. Check OS metrics for unusual events ✔ 9. Check for security vulnerabilities ✔ 10. Monitor and analyze memory usage ✔ 14
  • 15. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL DBA Challenges • “The database is slow. What needs tuning?” • “What are my most expensive queries?” • “Are indexes optimized?” • “Is replication lag a problem?” • “Did my last backup succeed?” • “When will my disk fill up?” • “When will I need more hardware to scale-out?” • “Has my database schema changed?” • “Are there security vulnerabilities that I need to be concerned about?” 15
  • 16. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor 16 • Start monitoring MySQL in 10 minutes • Real-time MySQL performance and availability monitoring • Visually find & fix problem queries • Disk monitoring for capacity planning • Cloud friendly architecture – No agents required – Policy driven configuration – Easy integration with DevOps tools
  • 17. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Cloud Friendly Architecture • MySQL – Performance Schema provides Query Analyzer data – Provides all MySQL related metrics • Service Manager – Collects all MySQL related metrics – Collects all OS/Host related metrics • Repository – Stores all historical data • Agent (optional) – Only required for OS/Host metrics 17 MySQL Enterprise Dashboard Service Manager Repository HTTPS DataCenterPublicCloudPrivateCloud
  • 18. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Installation & Configuration • Install the Service Manager – shell> ./mysqlmonitor-3.X.X.XXXX-…-installer.bin • Up and Running in 10 minutes – Auto-discovery of MySQL servers – Advisors are pre-configured – Advisors are pre-scheduled • Customization – Centralized configuration dashboard – Advisors – Event handling 18
  • 19. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Dashboard 19 "The MySQL Enterprise Monitor is an absolute must for any DBA who takes his work seriously.” Adrian Baumann System Specialist Federal Office of Information Technology & Telecommunications • SLA monitoring • Real-time performance monitoring • Alerts & notifications • MySQL best practice advisors
  • 20. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Hardware Schema Changes Data Growth Indexes SQL 90% of Performance Problems Source of Database Performance Problems 20
  • 21. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Performance Schema • Identify performance bottlenecks • Identify problematic queries • Get real time insight into locks • See exactly what is happening within MySQL • Get real time insight into MySQL internals • Get real time insight into query executions 21 mysql> select * from host_summary_by_stages; +------+--------------------------------+-------+-----------+-----------+ | host | event_name | total | wait_sum | wait_avg | +------+--------------------------------+-------+-----------+-----------+ | hal | stage/sql/Opening tables | 889 | 1.97 ms | 2.22 us | | hal | stage/sql/Creating sort index | 4 | 1.79 ms | 446.30 us | | hal | stage/sql/init | 10 | 312.27 us | 31.23 us | | hal | stage/sql/checking permissions | 10 | 300.62 us | 30.06 us | | hal | stage/sql/freeing items | 5 | 85.89 us | 17.18 us | | hal | stage/sql/statistics | 5 | 79.15 us | 15.83 us | | hal | stage/sql/preparing | 5 | 69.12 us | 13.82 us | | hal | stage/sql/optimizing | 5 | 53.11 us | 10.62 us | | hal | stage/sql/Sending data | 5 | 44.66 us | 8.93 us | | hal | stage/sql/closing tables | 5 | 37.54 us | 7.51 us | | hal | stage/sql/System lock | 5 | 34.28 us | 6.86 us | | hal | stage/sql/query end | 5 | 24.37 us | 4.87 us | | hal | stage/sql/end | 5 | 8.60 us | 1.72 us | | hal | stage/sql/Sorting result | 5 | 8.33 us | 1.67 us | | hal | stage/sql/executing | 5 | 5.37 us | 1.07 us | | hal | stage/sql/cleaning up | 5 | 4.60 us | 919.00 ns | +------+--------------------------------+-------+-----------+-----------+
  • 22. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Features & Benefits 22
  • 23. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Performance Monitoring • Monitor MySQL performance • Monitor OS performance • Monitor query performance • Advice on index usage • Alerts on performance problems 23
  • 24. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Enterprise Query Analyzer • Real-time query performance • Visual correlation graphs • Find & fix expensive queries • Detailed query statistics • Query Response Time index (QRTi) 24 “With the MySQL Query Analyzer, we were able to identify and analyze problematic SQL code, and triple our database performance. More importantly, we were able to accomplish this in three days, rather than taking weeks.” Keith Souhrada Software Development Engineer Big Fish Games
  • 25. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Query Response Time Index (QRTi) • “Quality of Service” (QoS) measurement for each query • QoS measurement for a server, group, or every instance • Single metric for query performance 25
  • 26. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | 1 2 3 4 • Visually Identify Slow Queries • Correlation Graphs • Query Response Time index (QRTi) • Execution Statistics • Tune Queries • Add Indexes • Tune Schemas • Improve Caching • MySQL Explain Plan • Sample Query • Query Graphs Better Performance Solving Query Performance Problems 26
  • 27. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Advantages of the Query Analyzer over Slow Query Log • See query execution statistics • Trace the query origination back to the application source code • View the overall query performance over time • See when the query was first introduced • See the explain plan • Focus on queries specific to a particular host and time period • View query executions correlated with other performance graphs 27
  • 28. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | InnoDB Monitoring • Monitor key performance metrics • Stay on top of locking issues • Get configuration advice • Examine buffer pool usage 28
  • 29. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Memory Usage Monitoring • Monitor OS memory usage • Monitor MySQL memory usage • Advice on configuration • Alerts on memory usage 29
  • 30. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Replication Monitoring • Replication Dashboard • Auto-discovers replication topology • Master/Slave performance monitoring • Replication advisor • Best practice replication advice 30 "I use the MySQL Enterprise Monitor every day to monitor and keep tabs on our MySQL databases. Quick one stop shopping for keeping tabs on them.” Wes Homer, Sr System and Network Administrator
  • 31. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Replication Monitoring: Topology View • Configuration of Replication Groups • Replication Channel View • Multiple Replication Topologies – Master/Slave – Multi-Source – Circular – Ring 31
  • 32. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Replication Monitoring: Group Status & Statistics • Binary Logging • Semi-sync Replication • GTIDs • Relay Logging • Multi-threaded Replication • Multi-source Replication 32
  • 33. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Best Practice Advisors • Enforce MySQL best practices • 14 Advisor categories • 250+ Advisors • Threshold-based alerts – Exponential moving averages – Rate change detection • Expert problem resolution advice 33 "I definitely recommend the MySQL Enterprise Monitor to DBAs who don't have a ton of MySQL experience. It makes monitoring MySQL security, performance and availability very easy to understand and to act on.” Sandi Barr Sr. Software Engineer Schneider Electric
  • 34. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Disk Monitoring • Capacity Planning • Forecast capacity requirements • Projections • Trend analysis • Timeseries data 34 "With the monitoring dashboard and advisory rules, we can accurately predict our capacity requirements and optimize MySQL performance.” Keith Souhrada Software Development Engineer Big Fish Games
  • 35. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Enterprise Backup Monitoring • Monitor backup results • Monitor backup performance • Ensure backups are up to date 35
  • 36. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Configuration Management • Centralized management • Organized by topic • Options grouped by feature • See host details • See network details 36 Advisors will provide configuration tuning advice!
  • 37. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Security Administration • Account management • Know when privileges change • Get advice on best practices • Monitor access problems 37
  • 38. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Trends & Predictive Problem Detection • Visual trend analysis • Identify outliers • Head off problems • Handle imminent capacity issues 38
  • 39. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Customizable & Extensible • Create custom – Groups – Advisors – Graphs – Filters – Event Handlers – And more … 39
  • 40. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Causes of Performance Issues MySQL Enterprise Monitor Helps Queries doing table scans See these queries immediately Excessive temporary tables on disk See the queries generating these CPU spikes Find out what caused it Disk I/O saturation Find out what caused it Internal locking Get alerts when locking issues occur Hardware problems Get alerts for disk and network problems Database and schema changes Get alerts when changes are made New queries introduced See what queries are added and when Poor MySQL configuration Get advice on configuration tuning Solving Common Performance Issues 40
  • 41. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | ✔ Identify the most expensive queries ✔ Full table scans (no indexes) ✔ Excessive temporary tables ✔ Large and/or frequent filesorts ✔ CPU usage overload ✔ Disk I/O saturation ✔ Hardware problems ✔ Database and schema changes ✔ New queries introduced ✔ Poor MySQL configuration ✔ Internal locking issues Top 10 Performance Issues Solved 41
  • 42. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | The Bottom Line Performance • Performance at scale • Monitoring and tuning Peace of Mind • Insurance • Immediate help if/when needed TCO • Reduced risk of downtime • Improved Productivity Risks • Security & regulatory compliance • Contact with MySQL team DevOps Agility • Automated scaling & management • Flexible, real-time backups Customer Satisfaction • Application performance • Application uptime 42
  • 43. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Additional Info & Case Studies 43
  • 44. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor Demo Videos 44 http://www.mysql.com/products/enterprise/demo.html
  • 45. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Company Overview Known in the worldwide mobile ecosystem for developing and managing paid apps and contents that help consumers get greater enjoyment from mobile devices. Application Buongiorno’s platform powered by MySQL Enterprise Edition. Stores 8TB of data and handles 50K queries/sec, 15K transactions/sec. Why MySQL Enterprise Edition? I highly recommend MySQL Enterprise Edition; the latest version of the MySQL Enterprise Monitor is extremely useful and saves us a lot of time and efforts." -- Carmine Giordano, DBA Manager, Buongiorno Buongiorno 45
  • 46. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Company Overview International information technology services company with annual revenue of EUR 8.8 billion and 77,100 employees in 52 countries. Application Atos Manages Transaction Clearing for the Euronext Markets in Continental Europe (Cash and derivatives) with MySQL Enterprise Edition. Why MySQL Enterprise Edition? "MySQL allows us to sleep soundly at night, which was far from being the case with the old system. We deliver better results at a lower cost, and the quality of Oracle’s MySQL support is exemplary.“ -- Vincent Cornet, DBA Support Manager, Atos Atos 46
  • 47. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Company Overview Swedish fashion chain with over 180 stores, and selling online in 28 countries. Application E-commerce application powered by MySQL Enterprise Edition (initially built on Community Edition). Why MySQL Enterprise Edition? "MySQL Enterprise Edition enables us to expand and grow online sales in both existing and new countries while maintaining a low TCO. It is a high performance, scalable and easy to monitor database; we’re extremely pleased with it.“ -- Nicklas Griphem, Manager Server & Infrastructure, Gina Tricot Gina Tricot 47
  • 48. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Get Started Today! MySQL Enterprise Edition Trial Contact a MySQL Sales Rep 48 http://www.mysql.com/trials/ http://www.mysql.com/about/contact/
  • 49. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Thank You! 49