Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
Optimize and Troubleshoot MySQL using PMM 2 Peter Zaitsev,
CEO, Percona
Scale 18xMarch 6th,2020Pasadena,CA
© 2020 Percona
The Presentation
2
Intro to Performance Optimization and Troubleshooting
Intro to Percona Monitoring and Management (PMM)
Demo
© 2020 Percona
Performance Optimization and Troubleshooting
3
© 2020 Percona
The Difference
4
•Focused on Performance Only•Development or Production•Best done Proactively
Performance Optimization
•Performance, Availability, Debugging•Development or Production•Reactive by Nature
Troubleshooting
© 2020 Percona
Outcomes • Developer• I want this damn database to
work
5
© 2020 Percona
Outcomes• Manager• I want this database not to
cost so much money to run
6
© 2020 Percona
Outcomes
• DBA• I do not want to spend too
much time and effort keeping Developer and Manager Happy
7
© 2020 Percona
Queries
8
Executed with Great Performance
Correct Result
Not Impacting other Applications
Not Using Too Much Resources
© 2020 Percona
Application Responsibility
Application is responsible for volume and kinds of queries it generates
9
© 2020 Percona
Resource FocusOversubscribed resource can make even simple queries run slow
10
© 2020 Percona
Primary Raw Resources
11
© 2020 Percona
Resource Utilization
12
Other Queries
Database Background Activities
Other Processes on the same Node
Noisy Neighbors
© 2020 Percona
Approach
It may make sense to approach Performance Optimization and Troubleshooting from Resource side or Queries Side. Percona Monitoring and Management (PMM) enables both
13
© 2020 Percona
About Percona Monitoring and Management (PMM)
14
© 2020 Percona
PMM at Grance
15
Purpose build Monitoring/Observability platform focused on Databases
100% Free and Open Source
Roll your own, On Prem and In the Cloud
Supports MySQL, MongoDB, PostgreSQL
Supports Cloud Based database deployments such as Amazon RDS
© 2020 Percona
PMM Provides
Bring together your Devs and Ops to build better apps faster and
run Open Source Databases better
16
© 2020 Percona
PMM version 2
17
Major Re-write
Support Large Environments
Much Deeper insights
Look at Group of Servers rather than Individual Servers
© 2020 Percona
Links • https://per.co.na/PMM• https://pmmdemo.percona.com
18
© 2020 Percona19
Thank you, Let’s Connect!https://www.linkedin.com/in/peterzaitsev/
https://twitter.com/PeterZaitsev