Using Percona Monitoring and Management to Troubleshoot MySQL Performance Issues

Similar documents
Monitoring MySQL Performance with Percona Monitoring and Management

Monitoring MySQL Performance with Percona Monitoring and Management

Open Source Database Performance Optimization and Monitoring with PMM. Fernando Laudares, Vinicius Grippa, Michael Coburn Percona

A Support Engineer Walkthrough on ptstalk

What s New in MySQL and MongoDB Ecosystem Year 2017

Percona XtraDB Cluster 5.7 Enhancements Performance, Security, and More

Percona Software & Services Update

MySQL High Availability

Percona Software & Services Update

MySQL In the Cloud. Migration, Best Practices, High Availability, Scaling. Peter Zaitsev CEO Los Angeles MySQL Meetup June 12 th, 2017.

How Percona Contributes to Open Source Database Ecosystem. Peter Zaitsev 5 October 2016

Which technology to choose in AWS?

Percona Software & Services Update

MySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018

Visualize Your Data With Grafana Percona Live Daniel Lee - Software Engineer at Grafana Labs

MongoDB Shell: A Primer

Database Backup and Recovery Best Practices. Manjot Singh, Data & Infrastrustructure Architect

Monitoring MySQL with Prometheus & Grafana

MongoDB Security: Making Things Secure by Default

MySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona

Percona Monitoring and Management Documentation

Migrating to Aurora MySQL and Monitoring with PMM. Percona Technical Webinars August 1, 2018

Aurora, RDS, or On-Prem, Which is right for you

MongoDB Shootout: MongoDB Atlas, Azure Cosmos DB and Doing It Yourself

Choosing a MySQL High Availability Solution. Marcos Albe, Percona Inc. Live Webinar June 2017

Agenda. AWS Database Services Traditional vs AWS Data services model Amazon RDS Redshift DynamoDB ElastiCache

MQ Monitoring on Cloud

Percona Server for MySQL 8.0 Walkthrough

How we built a highly scalable Machine Learning platform using Apache Mesos

Using MySQL for Distributed Database Architectures

Running MySQL on AWS. Michael Coburn Wednesday, April 15th, 2015

MySQL vs MongoDB. Choosing right technology for your application. Peter Zaitsev CEO, Percona All Things Open, Raleigh,NC October 23 rd, 2017

OKC MySQL Users Group

percona-agent Documentation

TRUE DATABASE VISIBILITY Meet your speakers Raymond Pe Sr Database Administrator Alliant Credit Union Ron Kozakowski Manager, Data Services Alliant Cr

Ingest. Aaron Mildenstein, Consulting Architect Tokyo Dec 14, 2017

Analyze MySQL Query Performance with Percona Cloud Tools

Amazon Web Services (AWS) Training Course Content

POSTGRESQL ON AWS: TIPS & TRICKS (AND HORROR STORIES) ALEXANDER KUKUSHKIN

MySQL: Scaling & High Availability

Accelerate MySQL for Demanding OLAP and OLTP Use Case with Apache Ignite December 7, 2016

PRODUCT BRIEF Cubro Vitrum Management Suite PRODUCT BRIEF. 1

Amazon Aurora Relational databases reimagined.

How to Implement ProxySQL with AWS Aurora. Written by Marco Tusa Wednesday, 04 April :00 - Last Updated Wednesday, 04 April :37

MongoDB Monitoring and Performance for The Savvy DBA

Ingest. David Pilato, Developer Evangelist Paris, 31 Janvier 2017

Amazon Web Services (AWS) Solutions Architect Intermediate Level Course Content

POSTGRESQL ON AWS: TIPS & TRICKS (AND HORROR STORIES) ALEXANDER KUKUSHKIN. PGConf.EU 2017, Warsaw

LINUX, WINDOWS(MCSE),

HA solution with PXC-5.7 with ProxySQL. Ramesh Sivaraman Krunal Bauskar

Beyond MySQL 5.1 What is happening in MySQL Space. Feb 16, 2011 Percona Live San Francisco,CA by Peter Zaitsev, Percona Inc

Amazon Web Services Training. Training Topics:

VMWARE VREALIZE OPERATIONS MANAGEMENT PACK FOR. Amazon Aurora. User Guide

Foglight. Resolving the Database Performance. Finding clues in your DB2 LUW workloads

The Art of Container Monitoring. Derek Chen

Architecture and Design of MySQL Powered Applications. Peter Zaitsev CEO, Percona Highload Moscow, Russia 31 Oct 2014

Professional PostgreSQL monitoring made easy. Kaarel Moppel - p2d2.cz 2019 Prague

Enroll Now to Take online Course Contact: Demo video By Chandra sir

MyRocks deployment at Facebook and Roadmaps. Yoshinori Matsunobu Production Engineer / MySQL Tech Lead, Facebook Feb/2018, #FOSDEM #mysqldevroom

pg Day Israel 2018 Taking Care Michael of the Elephant Meskes credativ

Open-Falcon A Distributed and High-Performance Monitoring System. Yao-Wei Ou & Lai Wei 2017/05/22

Performance Test Results for ScaleArc for MySQL on Aurora RDS Nov ScaleArc. All Rights Reserved. 1

Monitor database health in a dashboard

What to expect from the session Technical recap VMware Cloud on AWS {Sample} Integration use case Services introduction & solution designs Solution su

AWS Database Migration Service

Practical MySQL Performance Optimization. Peter Zaitsev, CEO, Percona July 20 th, 2016 Percona Technical Webinars

Das Leben ist zu kurz

Open Source Database Ecosystem in Peter Zaitsev 3 October 2016

MySQL Schema Review 101

POSTGRESQL ON AWS: TIPS & TRICKS (AND HORROR STORIES) ALEXANDER KUKUSHKIN. PostgresConf US

Cloud providers, tools and best practices in running Magento on Kubernetes. Adrian Balcan MindMagnet Software

AWS Administration. Suggested Pre-requisites Basic IT Knowledge

ARCHITECTING WEB APPLICATIONS FOR THE CLOUD: DESIGN PRINCIPLES AND PRACTICAL GUIDANCE FOR AWS

Scaling Without Sharding. Baron Schwartz Percona Inc Surge 2010

AWS Solution Architect Associate

Deploying PXC in Kubernetes / Openshift. Alexander Rubin, Percona

Solving Problems in Ways Never Before Possible, with FusionReactor 7

Monitoring Azure Azure Monitor How, What, Why?

Get the Most Out of GoAnywhere: Achieving Cloud File Transfers and Integrations

Why Choose Percona Server for MongoDB? Tyler Duzan

Migrating Enterprise Applications to the Cloud Session 672. Leighton L. Nelson

Mid-Atlantic CIO Forum

Introduction to OpenStack Trove

MariaDB CeBIT MariaDB 10.1: Datenbankverschlüsselung und andere Sicherheitsvorteile. Jens Bollmann, Principal Instructor/Consultant

Application monitoring with BELK. Nishant Sahay, Sr. Architect Bhavani Ananth, Architect

MySQL Replication Options. Peter Zaitsev, CEO, Percona Moscow MySQL User Meetup Moscow,Russia

PostgreSQL monitoring with pgwatch2. Kaarel Moppel / PostgresConf US 2018

VMware vcenter AppSpeed User s Guide AppSpeed 1.0 EN

Running MongoDB in Production, Part I

Rethinking monitoring with Prometheus

Migrating and living on RDS/Aurora. life after Datacenters

A10 HARMONY CONTROLLER

How can you implement this through a script that a scheduling daemon runs daily on the application servers?

DataSunrise Database Security Suite Release Notes

JAVASCRIPT CHARTING. Scaling for the Enterprise with Metric Insights Copyright Metric insights, Inc.

Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Introduction to Database Services

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

Exploring Amazon RDS MySQL Second Tier Read Replica

Run your own Open source. (MMS) to avoid vendor lock-in. David Murphy MongoDB Practice Manager, Percona

Transcription:

Using Percona Monitoring and Management to Troubleshoot MySQL Performance Issues Michael Coburn, Product Manager PMM September 7th, 2017 1

Your presenter Michael Coburn - Product Manager PMM Working at Percona for almost 5 years Consultant, Manager, TAM, now Product Manager Canadian living in México 2

Why does this talk exist? Troubleshooting performance issues can be a bit tricky, especially when you re given a broad statement that the database is slow. Learn to direct your attention to the correct moving pieces and fix what needs your attention. Learn how all this is done at Percona, what we monitor and track, and the tools we use. 3

Agenda What is PMM? Using Metrics Monitor to visualise events over time Using QAN to optimise MySQL queries 4

What is PMM Free, Open Source database troubleshooting and performance optimisation platform for MySQL and MongoDB We also support MariaDB and ProxySQL Runs in your secure environment (not a SaaS) and on your equipment Secured with SSL encryption between pmm-client and pmm-server 5

My database is slow!?! What is normal? Establishing a baseline Are other factors impacting your database performance? Hardware/virtualisation layer Network Application behaviour But I already have top and SHOW PROCESSLIST, isn't that sufficient? 6

Query Analytics - QAN MySQL query optimisation 7

QAN - Query Analytics 8

QAN overview Query Abstract Query pattern with placeholders ID Unique fingerprint, used for query group by Load Grand Total Time - percentage of time that the MySQL server spent executing a specific query Count QPS, total count during window, % of total Latency 9 Min, Med, Avg, P95, Max

Query fingerprint + EXPLAIN 10

PERFORMANCE_SCHEMA 11

Slow log - Percona Server enhanced 12

CREATE TABLE 13

TABLE STATUS 14

INDEXES 15

Server summary info Click the icon: pt-summary Instance-specific information pt-mysql-summary Facts about the running MySQL instance 16

Metrics Monitor Prometheus + Grafana + Beautiful dashboards from Percona! 17

What is Grafana Open Source data visualisation tool Popular datasources Prometheus CloudWatch Graphite Elasticsearch Templated Variables Define your graph metrics, and let the hosts get filled in automatically GREAT for large, dynamic environments where hosts are considered ephemeral 18

How can I... Compare servers' to each other Cross Server graphs Show behaviour now() compared to past period Trends Overview dashboard At a glance MySQL + indepth MySQL Overview, InnoDB, InnoDB Advanced View Prometheus performance data Prometheus dashboard MariaDB - Aria, Online DDL, ICP, and Defragmentation MariaDB dashboard 19

How can I - Percona Server only Table statistics Largest tables by rows and size, total DB size, tables by rows read and changed, auto_increment usage (about to hit the limit?) User statistics Top users by connection count, network usage, rows read/changed Query Response Time Average, read vs write, distribution 20

Distribution methods Docker Most common deployment method for PMM today Virtual appliance OVF/OVA file format, compatible with VMware, VirtualBox, Microsoft, Red Hat AWS AMI Clone the image from any of the 14 regions Deployment moving to AWS Marketplace 21

Get Your Tickets for Percona Live Europe! Championing Open Source Databases MySQL, MongoDB, Open Source Databases Time Series Databases, PostgreSQL, RocksDB Developers, Business/Case Studies, Operations September 25-27th, 2017 Radisson Blu Royal Hotel, Dublin, Ireland Last Year s Conference Sold Out! Reserve your spot ASAP. 22

Talk to Percona Experts at AWS Re:Invent! Database Performance for Cloud Deployments Percona Support and Managed Services Amazon RDS, Aurora, Roll Your Own MySQL/MariaDB/MongoDB Reduce costs and optimize performance Percona Monitoring and Management Demos Point-in-time visibility and historical trending of database performance Detailed query analytics Booth #1138 23

DATABASE PERFORMANCE Database Performance Matters MATTERS