View difference between Paste ID: qmA89REM and ma7Xm0w5
SHOW: | | - or go back to the newest paste.
1-
tuning primer result
1+
        -- MYSQL PERFORMANCE TUNING PRIMER --
2
             - By: Matthew Montgomery -
3
4-
	-- MYSQL PERFORMANCE TUNING PRIMER --
4+
MySQL Version 5.5.37-cll x86_64
5-
	     - By: Matthew Montgomery -
5+
6
Uptime = 18 days 4 hrs 1 min 50 sec
7-
MySQL Version 5.5.36-cll x86_64
7+
Avg. qps = 124
8
Total Questions = 196063773
9-
Uptime = 6 days 11 hrs 34 min 44 sec
9+
Threads Connected = 6
10-
Avg. qps = 122
10+
11-
Total Questions = 68808780
11+
12-
Threads Connected = 12
12+
13
14
To find out more information on how each of these
15
runtime variables effects performance visit:
16
http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html
17
Visit http://www.mysql.com/products/enterprise/advisors.html
18
for info about MySQL's Enterprise Monitoring and Advisory Service
19
20
SLOW QUERIES
21
The slow query log is enabled.
22
Current long_query_time = 10.000000 sec.
23
You have 17835 out of 196063868 that take longer than 10.000000 sec. to complete
24-
The slow query log is NOT enabled.
24+
25
26-
You have 27500 out of 68809061 that take longer than 10.000000 sec. to complete
26+
27
The binary update log is NOT enabled.
28
You will not be able to do point in time recovery
29
See http://dev.mysql.com/doc/refman/5.5/en/point-in-time-recovery.html
30
31
WORKER THREADS
32
Current thread_cache_size = 12
33
Current threads_cached = 8
34
Current threads_per_sec = 0
35
Historic threads_per_sec = 0
36-
Current threads_cached = 9
36+
37
38
MAX CONNECTIONS
39
Current max_connections = 200
40
Current threads_connected = 13
41
Historic max_used_connections = 115
42
The number of used connections is 57% of the configured maximum.
43-
Current threads_connected = 11
43+
Your max_connections variable seems to be fine.
44-
Historic max_used_connections = 201
44+
45-
The number of used connections is 100% of the configured maximum.
45+
46-
You should raise max_connections
46+
Current InnoDB index space = 388 M
47
Current InnoDB data space = 291 M
48
Current InnoDB buffer pool free = 0 %
49-
Current InnoDB index space = 381 M
49+
50-
Current InnoDB data space = 300 M
50+
51
to increase this value to up to 2 / 3 of total system memory
52
53
MEMORY USAGE
54
Max Memory Ever Allocated : 3.00 G
55
Configured Max Per-thread Buffers : 3.63 G
56
Configured Max Global Buffers : 936 M
57-
Max Memory Ever Allocated : 4.39 G
57+
Configured Max Memory Limit : 4.55 G
58
Physical Memory : 17.08 G
59-
Configured Max Global Buffers : 758 M
59+
60-
Configured Max Memory Limit : 4.37 G
60+
61-
Physical Memory : 14.16 G
61+
62
Current MyISAM index space = 1.48 G
63
Current key_buffer_size = 8 M
64
Key cache miss rate is 1 : 20
65-
Current MyISAM index space = 1.05 G
65+
Key buffer free ratio = 74 %
66
Your key_buffer_size seems to be fine
67
68-
Key buffer free ratio = 80 %
68+
69
Query cache is enabled
70
Current query_cache_size = 512 M
71
Current query_cache_used = 291 M
72
Current query_cache_limit = 512 M
73-
Current query_cache_size = 334 M
73+
Current Query cache Memory fill ratio = 56.93 %
74-
Current query_cache_used = 183 M
74+
75-
Current query_cache_limit = 256 M
75+
76-
Current Query cache Memory fill ratio = 54.89 %
76+
77
SORT OPERATIONS
78
Current sort_buffer_size = 2 M
79
Current read_rnd_buffer_size = 256 K
80
Sort buffer seems to be fine
81
82
JOINS
83
Current join_buffer_size = 16.00 M
84
You have had 208973 queries where a join could not use an index properly
85
You have had 449458 joins without keys that check for key usage after each row
86
join_buffer_size >= 4 M
87-
You have had 118697 queries where a join could not use an index properly
87+
88-
You have had 127057 joins without keys that check for key usage after each row
88+
89
Then look for non indexed joins in the slow query log.
90
91
OPEN FILES LIMIT
92
Current open_files_limit = 43762 files
93
The open_files_limit should typically be set to at least 2x-3x
94
that of table_cache if you have heavy MyISAM usage.
95
Your open_files_limit value seems to be fine
96
97
TABLE CACHE
98
Current table_open_cache = 512 tables
99
Current table_definition_cache = 400 tables
100
You have a total of 8031 tables
101
You have 512 open tables.
102
Current table_cache hit rate is 0%
103-
You have a total of 7754 tables
103+
104
You should probably increase your table_cache
105
You should probably increase your table_definition_cache value.
106
107
TEMP TABLES
108
Current max_heap_table_size = 1.00 G
109
Current tmp_table_size = 1.00 G
110
Of 6639839 temp tables, 35% were created on disk
111
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
112
to reduce the number of disk-based temporary tables
113-
Of 2618612 temp tables, 32% were created on disk
113+
114
If you are using these columns raising these values might not impact your
115
ratio of on disk temp tables.
116
117-
If you are using these columns raising these values might not impact your 
117+
118
Current read_buffer_size = 128 K
119
Current table scan ratio = 3261 : 1
120
read_buffer_size seems to be fine
121
122-
Current table scan ratio = 2555 : 1
122+
123
Current Lock Wait ratio = 1 : 1619
124
You may benefit from selective use of InnoDB.
125
If you have long running SELECT's against MyISAM tables and perform
126-
Current Lock Wait ratio = 1 : 667
126+
127
If you have a high concurrency of inserts on Dynamic row-length tables
128
consider setting 'concurrent_insert=ALWAYS'.