MySQL Performance Optimization and Troubleshooting with PMM
Peter Zaitsev, CEO, Percona Percona Live, Santa Clara 25 April 2018
MySQL Performance Optimization and Troubleshooting with PMM Peter - - PowerPoint PPT Presentation
MySQL Performance Optimization and Troubleshooting with PMM Peter Zaitsev, CEO, Percona Percona Live, Santa Clara 25 April 2018 Few words about Percona Monitoring and Management (PMM) 100% Free, Open Source database troubleshooting and
MySQL Performance Optimization and Troubleshooting with PMM
Peter Zaitsev, CEO, Percona Percona Live, Santa Clara 25 April 2018
2
100% Free, Open Source database troubleshooting and performance optimization platform for MySQL and MongoDB Based on Industry Leading Technology Roll your own in and out of the Cloud
3
4
5
6
7
8
9
Contention
and Kernel Mixed Resource Usage
constrained by any resource
10
11
12
13
14
15
16
Waits
17
18
19
20
21
22
Leave some memory available for OS Cache and other needs
24
log file size
25
26
system
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
46
Running sysbench with rate=1000 to inject 1000 transactions every second System can handle workloads with both settings System previously running with sync_binlog=0 and innodb_flush_log_at_trx_commit=0 Set them to sync_binlog=1 and innodb_flush_log_at_trx_commit=1
47
48
49
50
51
52
53
any more
54
55
56
57
58
59
60
61
63
mysql> set global innodb_buffer_pool_size=4096*1024*1024; Query OK, 0 rows affected (0.00 sec)
64
number of queries
65
66
67
68
69
70
71
72
73