MySQL Monitoring Finding Meaning in Beautiful Graphs Peter Zaitsev CEO, Percona Oracle Open World September 20, 2016
MySQL MonitoringFinding Meaning in Beautiful Graphs
Peter ZaitsevCEO, Percona
Oracle Open WorldSeptember 20, 2016
2
About Percona
SolutionsforyoursuccesswithMySQLandMongoDB
Support,ManagedServices,Software
OurSoftwareis100%OpenSource
SupportBroadEcosystem– MySQL,MariaDB,AmazonRDS
InBusinessfor10years
Morethan3000customers,includingtopInternetcompaniesandenterprises
3
About this Presentation
OverviewofExistingSolutions
andHistory
DiscusswhatweuseatPercona
Showwhatspecificthingsto
lookat
4
Open Source Approach to Data Visualization
ThistalkisaboutOpenSourceApproachtoDataVisualization
Thereisalsocommercialsoftware(MySQLEnterpriseMonitor)
OrcloudhostedSoftware(DataDog,VividCortex,NewRelic)
5
Many Sides of Monitoring
Alerting(Whenthingsgetbad)
InvestigationsandDiagnostics(Finding
RootCause)
CapacityPlanning(Preventingresource
exhaustion)
6
Graphs are most useful for
ProblemDiagnostics&Troubleshooting
CapacityPlanning
GreatSupportinginformationforanAlert
Modern Visualization Architecture
8
In The past…
•CACTI•Ganglia•Munin•Zabbix
SingleSystemwhichHandles
Everything
9
Modern Systems: Well Defined Roles
DataCapture
StorageandProcessing Visualization
10
Data Capture “Telemetry”
Requirements
•HighLevelofDetails•LowOverhead•Supportforyourtechnology
Solutions
•Statsd•Collectd•PrometheusExporters• InfluxDBTelegraf• IntelSnap
11
Storage and Processing
Requirements
• HighPerformance(ingestandqueries)
• EfficientStorage• PowerfulQueryLanguage
Solutions
• OpenTSB• InfluxDB• Prometheus• ElasticSearch• Graphite(Whisper)• RiakTS
12
Visualization/Dashboards
Requirements
•Visualization/Usability•SupportMultipleSources
•Extensibility
Technologies
•Chronograf•Kibana•Graphite•Grafana
13
What Makes Grafana Special
Grafanadoesnotfocusondatacaptureorstorage
FocusonVisualizationonly
SupportsPlugins
SupportsMultipleDataSources
IntegrateswithOthervisualizationtools(Graphite,OpenNMS,Zabbix)
Greatestmomentuminthe
14
What should you use ?
Usethesystemyouhavealready
Usemultiplesystems
Ensureyoucangetrightdatavisualizedrightway
15
What do we use at Percona
InthePast
• CATIforvisualization• ExtendedwithPerconaMonitoringPlugins
Now
• Prometheusforcaptureandstorage
• GrafanaforVisualization• CustomVisualizationApplication
• PackagedasPerconaMonitoringandManagement
16
Check out the Demo
• http://pmmdemo.percona.com
What are important things to look at ?
18
What does MySQL do ?
•Selects•Inserts•Deletes•Updates
ServesQueries
19
What Application Cares About ?
•Fast•Correct•Atalltimes
TheseQueriesBeing
20
Troubleshooting is about
PoorPerformance
QueriesnotWorkingCorrectly
21
Problem Caused By
Application
•ToomanyQueries
•BadQueries
MySQL
•ChoosingBadPlan
•ContentionIssues
•Locking
HardwareandEnvironment
•CPU•Disk•Memory•Network
22
Lets explore!
23
Looking for more MySQL ?
• Percona Live Europe • October 3-5• Amsterdam• MySQL, MongoDB, Other Open
Source Databases• https://www.percona.com/live/pla
m16/
Thank You!