SlideShare a Scribd company logo
1 of 39
Download to read offline
Using MEM for Continuous 
Performance Improvement 
Mark Matthews, Consulting Member Technical Staff 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Copyright © 2014, 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. 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
2
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Agenda 
• Getting to Know You 
• Getting to Know MySQL Enterprise Monitor 
• The Create, Test, Deploy, Tune Feedback Loop 
• Key Performance Issues Exposed Via Monitoring 
• Integrating MySQL Enterprise Monitor Into the Loop 
• Q & A
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Getting to Know You 
• DBAs in the room 
• Developers in the room 
• Continuous delivery in use 
• Monitoring, what, who uses
Getting to Know MySQL Enterprise Monitor 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
• Why did we build it? 
• What is it? 
• How do I get it?
We Built it to Facilitate Blame Between 
DBAs and Developers 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
We Built it to Facilitate Blame Between 
DBAs and Developers 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
We Built it to Facilitate Conversations Between 
DBAs and Developers 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
MySQL Enterprise Monitor 
• Start monitoring MySQL in 10 
minutes 
• Real-time MySQL monitoring 
• Performance & Availability 
• Dynamically adjusts to changes in 
your environment 
• Aware of relationships between 
metrics and assets 
9
MySQL Enterprise Monitor Architecture 
Host/Container 
Host/Container 
Service 
Manager 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Host/Container 
MySQL 
Agent 
Agent 
MySQL 
MySQL 
Host/Container 
Agent 
Host/Container 
MySQL
• Broadest Performance Data (CPU, Memory, I/O) 
• Host Availability Information 
• Slightly More Complex 
• Doesn’t Work for DBAAS 
Host/Container 
Service 
Manager 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
“Standard” Deployment 
Host/Container 
MySQL 
Agent 
Agent 
MySQL
Containerized Development Stack 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Host/Container 
Host/Container 
Service 
Manager 
Agent 
MySQL 
MySQL 
Host/Container 
Agent 
• Only MySQL Performance Data 
• Flexible Setup/Tear Down 
• Small, Isolated Workloads
“Agent-less” - DBAAS/Cloud 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Host/Container 
Service 
Manager 
Agent 
MySQL 
Host/Container 
MySQL 
• Only MySQL Performance Data 
• Fewest Moving Pieces 
• Simplest Configuration
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
How Do I Get it? 
• Part of the MySQL Enterprise Subscription 
• Trial Licenses 
• Oracle Software Delivery Cloud 
• https://edelivery.oracle.com/ 
• “MySQL Database Product Pack”
The Create, (Test, Deploy), Tune Feedback Loop 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Do you know your application’s performance profile? 
• Historically? 
• What to expect with code changes? 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Throughput
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Concurrency
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Workload Specifics
The Experimental Method 
• Historical performance data is the control 
• Developers should have predictions about effects of change 
• Verify the hypothesis with metrics 
• If the results don’t match the hypothesis, figure out why 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Key Storage Tier Performance Issues Exposed Via 
Monitoring 
• Unplanned configuration values 
• Going to disk too often (wasted IOPs) 
• Inefficient query plans 
• Statements issued too often 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong/Poor Configuration 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
• MySQL version in use 
• InnoDB buffer pool size 
• InnoDB transaction log 
and log buffer sizes 
• Thread cache
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Query Analyzer 
Proxy Connector Plugin 5.6 Performance 
Schema 
Supported Server 
Versions 
Any Any > 5.6.14 
Supported Clients Any JDBC, PHP, ADO.Net Any 
Complexity High Medium Low 
Value/Richness of 
Data 
Low Medium High
Why Aren’t You Using MySQL 5.6 Yet? 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Missing Indexes
On-Disk Temporary Tables 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
New, Un-optimized Statements 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
High Rate of Low Latency Statements 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Make Changes, Re-deploy, Re-measure 
• Realtime feedback on performance impact of changes 
• Frictionless with MySQL-5.6 and MySQL Enterprise Monitor-3.0 
• Straightforward options with earlier MySQL versions 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Integrating MEM Into your Continuous I/D 
Environment 
• MEM is a standard web application 
• Links for retrieving/exporting data work from wget/curl 
• MEM supports HTTP Basic Authentication over SSL 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Command-line Retrieval of Metric Data 
• curl --user user:pass --insecure https://etools-stable. 
no.oracle.com:30000/v2/rest/[asset-selection]?format=CSV 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
-o throughput.csv
Command-Line Retrieval of Query Analyzer Data 
• This one is a bit trickier (we’ll fix it) 
• curl --user user:pass --insecure https://etools-stable. 
no.oracle.com:30000/BrowseQueriesCsv.action? 
assetSelection=gunk&graph=gunk&graphTime_interval=00%3A30&g 
raphTime_type=INTERVAL&noDefaults=false&showAllAssets_control 
=True&time_interval=&exportType=allpages -o queries-by-exec-count. 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
csv
Creating Events Representing Deployments 
• Deploy a custom SQL collection at the agent 
! 
<class> 
<namespace>mysql</namespace> 
<classname>anonymous_user</classname> 
<query><![CDATA[SELECT COUNT(*) AS deploy_count FROM foo 
WHERE timestamp >= NOW() - INTERVAL 1 MINUTE]]></query> 
</class> 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Creating Events Representing Deployments (cont) 
• Reference in a custom rule 
• Schedule on appropriate groups/instances on the “Advisors” tab 
• When event is raised, find in “Events” tab, time scales are sticky 
across the application 
! 
• See 
• http://dev.mysql.com/doc/mysql-monitor/3.0/en/mem-customdata- 
collection.html 
• http://dev.mysql.com/doc/mysql-monitor/3.0/en/mem-creating- 
advisors-overview.html 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
Take Aways 
• Monitor All MySQL Servers - Production, Stage, Dev 
• Predict Impact of Changes 
• Measure 
• Analyze 
• Fix What You Find 
• Rinse, Lather, Repeat (Automate If Possible) 
• Why Aren’t You Using MySQL-5.6 Yet?
Questions? 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
MySQL Community Reception @ Oracle OpenWorld ! 
Mingle with the MySQL community and the MySQL team from 
Oracle for a fun and informative evening! 
! 
• Time: September 30 (Tue) @ 7pm 
• Jillian’s at Metreon 
175 Fourth Street, San Francisco, CA 
At the corner of Howard and 4th st.; only 2-min walk from Moscone 
Center 
! 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
! 
! 
!
Oracle University MySQL Training Services 
Prepare Your Organization to Enable Reliable and High-Performance Web-Based Database 
Applications 
Top Courses for Administrators and Developers 
Top Certifications 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 
“Training and team skill have the most significant 
impact on overall performance of technology and 
success of technology projects.” - IDC, 2013 
Premier Support customers 
eligible to save 20% on learning 
credits. 
Benefits 
▪ Expert-led training to support your MySQL learning needs 
▪ Flexibility to train in the classroom or online 
▪ Hands-on experience to gain real world experience 
▪ Key skills needed for database administrators and developers 
!! 
• MySQL for Beginners 
▪MySQL for Database Administrators 
▪MySQL Performance Tuning 
▪MySQL Cluster – NEW - Register Your Interest! 
▪MySQL and PHP - Developing Dynamic Web Applications 
▪MySQL for Developers 
▪MySQL Developer Techniques 
!! 
▪MySQL 5.6 Database Administrator 
▪MySQL 5.6 Developer ! 
To find out more about available MySQL Training & Certification 
offerings, go to: education.oracle.com/mysql 
RECENTLY RELEASED 
ALL NEW! MySQL Cluster Training 
To Register your interest to influence the 
schedule on this newly released course – go 
to education.oracle.com/mysql and click on 
the MySQL Cluster Course
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Thank You! 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

More Related Content

What's hot

MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
Mario Beck
 
Oracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c OverviewOracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c Overview
Fred Sim
 

What's hot (20)

Oracle EBS database upgrade to 12c
Oracle EBS database upgrade to 12cOracle EBS database upgrade to 12c
Oracle EBS database upgrade to 12c
 
Best Practices for Building an Enterprise SOA Infrastructure on Oracle SOA Suite
Best Practices for Building an Enterprise SOA Infrastructure on Oracle SOA SuiteBest Practices for Building an Enterprise SOA Infrastructure on Oracle SOA Suite
Best Practices for Building an Enterprise SOA Infrastructure on Oracle SOA Suite
 
Harnessing the Power of Optimizer Hints
Harnessing the Power of Optimizer HintsHarnessing the Power of Optimizer Hints
Harnessing the Power of Optimizer Hints
 
Oracle Enterprise Manager Security: A Practitioners Guide
Oracle Enterprise Manager Security: A Practitioners GuideOracle Enterprise Manager Security: A Practitioners Guide
Oracle Enterprise Manager Security: A Practitioners Guide
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
 
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinar
 
01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c
01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c
01 Ronald Vargas Verdades ciertas, mitos y falacias sobre oracle database 19c
 
Oracle Database in-Memory Overivew
Oracle Database in-Memory OverivewOracle Database in-Memory Overivew
Oracle Database in-Memory Overivew
 
Oracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c OverviewOracle - Enterprise Manager 12c Overview
Oracle - Enterprise Manager 12c Overview
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016
 
MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
 
OOW16 - Running your E-Business Suite on Oracle Cloud (IaaS + PaaS) - Why, Wh...
OOW16 - Running your E-Business Suite on Oracle Cloud (IaaS + PaaS) - Why, Wh...OOW16 - Running your E-Business Suite on Oracle Cloud (IaaS + PaaS) - Why, Wh...
OOW16 - Running your E-Business Suite on Oracle Cloud (IaaS + PaaS) - Why, Wh...
 

Viewers also liked (6)

Marshall Sponder - How to Monitor and Measure Social Media ROI
Marshall Sponder - How to Monitor and Measure Social Media ROIMarshall Sponder - How to Monitor and Measure Social Media ROI
Marshall Sponder - How to Monitor and Measure Social Media ROI
 
Seth Grimes - Sentiment in Social Media
Seth Grimes - Sentiment in Social MediaSeth Grimes - Sentiment in Social Media
Seth Grimes - Sentiment in Social Media
 
Mark Rogers (Market Sentinel) & Robert Jardine (Carphone Warehouse) - Using S...
Mark Rogers (Market Sentinel) & Robert Jardine (Carphone Warehouse) - Using S...Mark Rogers (Market Sentinel) & Robert Jardine (Carphone Warehouse) - Using S...
Mark Rogers (Market Sentinel) & Robert Jardine (Carphone Warehouse) - Using S...
 
Buzzdetector - Gianandrea Facchini - Using Social Media Monitoring to Crowd-s...
Buzzdetector - Gianandrea Facchini - Using Social Media Monitoring to Crowd-s...Buzzdetector - Gianandrea Facchini - Using Social Media Monitoring to Crowd-s...
Buzzdetector - Gianandrea Facchini - Using Social Media Monitoring to Crowd-s...
 
Social Media Monitoring for the Little Guys - Constant Contact Mark Schmulen
Social Media Monitoring for the Little Guys - Constant Contact Mark SchmulenSocial Media Monitoring for the Little Guys - Constant Contact Mark Schmulen
Social Media Monitoring for the Little Guys - Constant Contact Mark Schmulen
 
Making Social Media Work for Barclaycard
Making Social Media Work for BarclaycardMaking Social Media Work for Barclaycard
Making Social Media Work for Barclaycard
 

Similar to Using MySQL Enterprise Monitor for Continuous Performance Improvement

Power of the AWR Warehouse- HotSos Symposium 2015
Power of the AWR Warehouse-  HotSos Symposium 2015Power of the AWR Warehouse-  HotSos Symposium 2015
Power of the AWR Warehouse- HotSos Symposium 2015
Kellyn Pot'Vin-Gorman
 

Similar to Using MySQL Enterprise Monitor for Continuous Performance Improvement (20)

MySQL Enterprise Portfolio
MySQL Enterprise PortfolioMySQL Enterprise Portfolio
MySQL Enterprise Portfolio
 
MySQL enterprise edition
MySQL enterprise edition MySQL enterprise edition
MySQL enterprise edition
 
Oracle Database Lifecycle Management
Oracle Database Lifecycle ManagementOracle Database Lifecycle Management
Oracle Database Lifecycle Management
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
Oracle SQL Developer for the DBA
Oracle SQL Developer for the DBAOracle SQL Developer for the DBA
Oracle SQL Developer for the DBA
 
Oracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12cOracle Open World Exadata Monitoring and Management with EM12c
Oracle Open World Exadata Monitoring and Management with EM12c
 
KSCOPE Cloud Services and the Self Service Portal
KSCOPE Cloud Services  and the Self Service PortalKSCOPE Cloud Services  and the Self Service Portal
KSCOPE Cloud Services and the Self Service Portal
 
Em13c New Features- Two of Two
Em13c New Features- Two of TwoEm13c New Features- Two of Two
Em13c New Features- Two of Two
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
 
MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)
 
Soa suite12c presentation @AMIS by Simone Geib
Soa suite12c presentation @AMIS by Simone GeibSoa suite12c presentation @AMIS by Simone Geib
Soa suite12c presentation @AMIS by Simone Geib
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of Choice
 
Power of the AWR Warehouse- HotSos Symposium 2015
Power of the AWR Warehouse-  HotSos Symposium 2015Power of the AWR Warehouse-  HotSos Symposium 2015
Power of the AWR Warehouse- HotSos Symposium 2015
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
 
Kscope Not Your Father's Enterprise Manager
Kscope Not Your Father's Enterprise ManagerKscope Not Your Father's Enterprise Manager
Kscope Not Your Father's Enterprise Manager
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014
 
Latest Innovations in Database as a Service Enabled by Oracle Enterprise Manager
Latest Innovations in Database as a Service Enabled by Oracle Enterprise ManagerLatest Innovations in Database as a Service Enabled by Oracle Enterprise Manager
Latest Innovations in Database as a Service Enabled by Oracle Enterprise Manager
 
Oracle Database Cloud Service
Oracle Database Cloud ServiceOracle Database Cloud Service
Oracle Database Cloud Service
 
Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!
 

Recently uploaded

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 18, Noida Call girls :8448380779 Model Escorts | 100% verified
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 

Using MySQL Enterprise Monitor for Continuous Performance Improvement

  • 1. Using MEM for Continuous Performance Improvement Mark Matthews, Consulting Member Technical Staff Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
  • 2. 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. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 2
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Agenda • Getting to Know You • Getting to Know MySQL Enterprise Monitor • The Create, Test, Deploy, Tune Feedback Loop • Key Performance Issues Exposed Via Monitoring • Integrating MySQL Enterprise Monitor Into the Loop • Q & A
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Getting to Know You • DBAs in the room • Developers in the room • Continuous delivery in use • Monitoring, what, who uses
  • 5. Getting to Know MySQL Enterprise Monitor Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • Why did we build it? • What is it? • How do I get it?
  • 6. We Built it to Facilitate Blame Between DBAs and Developers Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 7. We Built it to Facilitate Blame Between DBAs and Developers Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 8. We Built it to Facilitate Conversations Between DBAs and Developers Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor • Start monitoring MySQL in 10 minutes • Real-time MySQL monitoring • Performance & Availability • Dynamically adjusts to changes in your environment • Aware of relationships between metrics and assets 9
  • 10. MySQL Enterprise Monitor Architecture Host/Container Host/Container Service Manager Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Host/Container MySQL Agent Agent MySQL MySQL Host/Container Agent Host/Container MySQL
  • 11. • Broadest Performance Data (CPU, Memory, I/O) • Host Availability Information • Slightly More Complex • Doesn’t Work for DBAAS Host/Container Service Manager Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | “Standard” Deployment Host/Container MySQL Agent Agent MySQL
  • 12. Containerized Development Stack Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Host/Container Host/Container Service Manager Agent MySQL MySQL Host/Container Agent • Only MySQL Performance Data • Flexible Setup/Tear Down • Small, Isolated Workloads
  • 13. “Agent-less” - DBAAS/Cloud Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Host/Container Service Manager Agent MySQL Host/Container MySQL • Only MySQL Performance Data • Fewest Moving Pieces • Simplest Configuration
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | How Do I Get it? • Part of the MySQL Enterprise Subscription • Trial Licenses • Oracle Software Delivery Cloud • https://edelivery.oracle.com/ • “MySQL Database Product Pack”
  • 15. The Create, (Test, Deploy), Tune Feedback Loop Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 16. Do you know your application’s performance profile? • Historically? • What to expect with code changes? Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Throughput
  • 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Concurrency
  • 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Workload Specifics
  • 20. The Experimental Method • Historical performance data is the control • Developers should have predictions about effects of change • Verify the hypothesis with metrics • If the results don’t match the hypothesis, figure out why Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 21. Key Storage Tier Performance Issues Exposed Via Monitoring • Unplanned configuration values • Going to disk too often (wasted IOPs) • Inefficient query plans • Statements issued too often Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 22. Wrong/Poor Configuration Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • MySQL version in use • InnoDB buffer pool size • InnoDB transaction log and log buffer sizes • Thread cache
  • 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Query Analyzer Proxy Connector Plugin 5.6 Performance Schema Supported Server Versions Any Any > 5.6.14 Supported Clients Any JDBC, PHP, ADO.Net Any Complexity High Medium Low Value/Richness of Data Low Medium High
  • 24. Why Aren’t You Using MySQL 5.6 Yet? Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Missing Indexes
  • 26. On-Disk Temporary Tables Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 27. New, Un-optimized Statements Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 28. High Rate of Low Latency Statements Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 29. Make Changes, Re-deploy, Re-measure • Realtime feedback on performance impact of changes • Frictionless with MySQL-5.6 and MySQL Enterprise Monitor-3.0 • Straightforward options with earlier MySQL versions Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 30. Integrating MEM Into your Continuous I/D Environment • MEM is a standard web application • Links for retrieving/exporting data work from wget/curl • MEM supports HTTP Basic Authentication over SSL Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 31. Command-line Retrieval of Metric Data • curl --user user:pass --insecure https://etools-stable. no.oracle.com:30000/v2/rest/[asset-selection]?format=CSV Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | -o throughput.csv
  • 32. Command-Line Retrieval of Query Analyzer Data • This one is a bit trickier (we’ll fix it) • curl --user user:pass --insecure https://etools-stable. no.oracle.com:30000/BrowseQueriesCsv.action? assetSelection=gunk&graph=gunk&graphTime_interval=00%3A30&g raphTime_type=INTERVAL&noDefaults=false&showAllAssets_control =True&time_interval=&exportType=allpages -o queries-by-exec-count. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | csv
  • 33. Creating Events Representing Deployments • Deploy a custom SQL collection at the agent ! <class> <namespace>mysql</namespace> <classname>anonymous_user</classname> <query><![CDATA[SELECT COUNT(*) AS deploy_count FROM foo WHERE timestamp >= NOW() - INTERVAL 1 MINUTE]]></query> </class> Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 34. Creating Events Representing Deployments (cont) • Reference in a custom rule • Schedule on appropriate groups/instances on the “Advisors” tab • When event is raised, find in “Events” tab, time scales are sticky across the application ! • See • http://dev.mysql.com/doc/mysql-monitor/3.0/en/mem-customdata- collection.html • http://dev.mysql.com/doc/mysql-monitor/3.0/en/mem-creating- advisors-overview.html Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 35. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Take Aways • Monitor All MySQL Servers - Production, Stage, Dev • Predict Impact of Changes • Measure • Analyze • Fix What You Find • Rinse, Lather, Repeat (Automate If Possible) • Why Aren’t You Using MySQL-5.6 Yet?
  • 36. Questions? Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
  • 37. MySQL Community Reception @ Oracle OpenWorld ! Mingle with the MySQL community and the MySQL team from Oracle for a fun and informative evening! ! • Time: September 30 (Tue) @ 7pm • Jillian’s at Metreon 175 Fourth Street, San Francisco, CA At the corner of Howard and 4th st.; only 2-min walk from Moscone Center ! Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | ! ! !
  • 38. Oracle University MySQL Training Services Prepare Your Organization to Enable Reliable and High-Performance Web-Based Database Applications Top Courses for Administrators and Developers Top Certifications Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | “Training and team skill have the most significant impact on overall performance of technology and success of technology projects.” - IDC, 2013 Premier Support customers eligible to save 20% on learning credits. Benefits ▪ Expert-led training to support your MySQL learning needs ▪ Flexibility to train in the classroom or online ▪ Hands-on experience to gain real world experience ▪ Key skills needed for database administrators and developers !! • MySQL for Beginners ▪MySQL for Database Administrators ▪MySQL Performance Tuning ▪MySQL Cluster – NEW - Register Your Interest! ▪MySQL and PHP - Developing Dynamic Web Applications ▪MySQL for Developers ▪MySQL Developer Techniques !! ▪MySQL 5.6 Database Administrator ▪MySQL 5.6 Developer ! To find out more about available MySQL Training & Certification offerings, go to: education.oracle.com/mysql RECENTLY RELEASED ALL NEW! MySQL Cluster Training To Register your interest to influence the schedule on this newly released course – go to education.oracle.com/mysql and click on the MySQL Cluster Course
  • 39. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Thank You! Copyright © 2014, Oracle and/or its affiliates. All rights reserved.