| 1 | |
|---|
| 2 | Queries |
|---|
| 3 | |
|---|
| 4 | Uptime in seconds: 353421 |
|---|
| 5 | Uptime: 4d 2h 10m 21s |
|---|
| 6 | Questions: 44184575 |
|---|
| 7 | % slow queries: 0.008720237775287 |
|---|
| 8 | slow query rate: 0.0021318160035334 per day |
|---|
| 9 | Long query time: 2 |
|---|
| 10 | Slow query logging: ON |
|---|
| 11 | % reads: 77.487356803695 |
|---|
| 12 | % writes: 22.512643196305 |
|---|
| 13 | qps: 125.01966493219 |
|---|
| 14 | reads per sec: 0.18943151730767 per day |
|---|
| 15 | writes per sec: 0.055036128927277 per day |
|---|
| 16 | Queries: 125.01966493219 per second |
|---|
| 17 | Connections: 360 Thousand |
|---|
| 18 | Bytes sent: 390 Billion |
|---|
| 19 | Bytes received: 10 Billion |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | versions |
|---|
| 23 | |
|---|
| 24 | Supported Version: 5 |
|---|
| 25 | Release Series: 5.1 |
|---|
| 26 | Minor Version: 49 |
|---|
| 27 | Distribution: (Debian) |
|---|
| 28 | Distribution: (Debian) |
|---|
| 29 | |
|---|
| 30 | MySQL Architecture: x86_64 |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | Query cache |
|---|
| 34 | |
|---|
| 35 | Query cache efficiency (%): 72.405803474947 |
|---|
| 36 | % query cache used: 30.010414123535 |
|---|
| 37 | The query cache is not being fully utilized. |
|---|
| 38 | (Qcache_free_memory / query_cache_size * 100 <80) |
|---|
| 39 | (5034912 / 16777216 * 100 30.010414123535<80) |
|---|
| 40 | Query cache low memory prunes: 26.640426007509 per second |
|---|
| 41 | Increase query_cache_size -- there are too many low memory prunes. |
|---|
| 42 | (&hr_bytime(Qcache_lowmem_prunes/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 43 | (dbtuner_hr_bytime(9415286/353421) dbtuner_stristr('26.640426007509 per second', array('second', 'minute'))) |
|---|
| 44 | Query cache size: 16.0 Mb |
|---|
| 45 | Query cache min result size: 16.0 Mb |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | Sorts |
|---|
| 49 | |
|---|
| 50 | Total sorts: 2071671 |
|---|
| 51 | % sorts that cause temporary tables: 0.065792300032196 |
|---|
| 52 | rate of sorts that cause temporary tables: 13.88372507576 per hour |
|---|
| 53 | sort_buffer_size: 1.0 Mb |
|---|
| 54 | read_rnd_buffer_size: 32.0 Mb |
|---|
| 55 | Sort rows: 143.50195376053 per second |
|---|
| 56 | There are lots of rows being sorted. Consider using indexes in more queries to avoid sorting too often. |
|---|
| 57 | (&hr_bytime(Sort_rows/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 58 | (dbtuner_hr_bytime(50716604/353421) dbtuner_stristr('143.50195376053 per second', array('second', 'minute'))) |
|---|
| 59 | |
|---|
| 60 | Joins,scans |
|---|
| 61 | |
|---|
| 62 | rate of joins without indexes: 1.638782075768 per second |
|---|
| 63 | There are too many joins without indexes -- this means that joins are doing full table scans. |
|---|
| 64 | (&hr_bytime((Select_range_check + Select_scan + Select_full_join)/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 65 | (dbtuner_hr_bytime((0 + 494507 + 84673)/353421) dbtuner_stristr('1.638782075768 per second', array('second', 'minute'))) |
|---|
| 66 | rate of reading first index entry: 43.580262632951 per minute |
|---|
| 67 | The rate of reading the first index entry is high; this usually indicates frequent full index scans. |
|---|
| 68 | (&hr_bytime(Handler_read_first/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 69 | (dbtuner_hr_bytime(256703/353421) dbtuner_stristr('43.580262632951 per minute', array('second', 'minute'))) |
|---|
| 70 | rate of reading fixed position: 99.38185619983 per second |
|---|
| 71 | The rate of reading data from a fixed position is high; this indicates many queries need to sort results and/or do a full table scan, including join queries that do not use indexes. |
|---|
| 72 | (&hr_bytime(Handler_read_rnd/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 73 | (dbtuner_hr_bytime(35123635/353421) dbtuner_stristr('99.38185619983 per second', array('second', 'minute'))) |
|---|
| 74 | rate of reading next table row: 4523.9129593318 per second |
|---|
| 75 | The rate of reading the next table row is high; this indicates many queries are doing full table scans. |
|---|
| 76 | (&hr_bytime(Handler_read_rnd_next/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 77 | (dbtuner_hr_bytime(1598845842/353421) dbtuner_stristr('4523.9129593318 per second', array('second', 'minute'))) |
|---|
| 78 | |
|---|
| 79 | temp tables |
|---|
| 80 | |
|---|
| 81 | tmp_table_size-max_heap_table_size: 0 |
|---|
| 82 | tmp_table_size: 16.0 Mb |
|---|
| 83 | max_heap_table_size: 16.0 Mb |
|---|
| 84 | % temp disk tables: 28.294290280249 |
|---|
| 85 | Too many temporary tables are being written to disk. Increase max_heap_table_size and tmp_table_size. |
|---|
| 86 | (Created_tmp_disk_tables / (Created_tmp_tables + Created_tmp_disk_tables) * 100 >25) |
|---|
| 87 | (649423 / (1645821 + 649423) * 100 28.294290280249>25) |
|---|
| 88 | temp disk rate: 1.8375337062597 per second |
|---|
| 89 | Too many temporary tables are being written to disk. Increase max_heap_table_size and tmp_table_size. |
|---|
| 90 | (&hr_bytime(Created_tmp_disk_tables/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 91 | (dbtuner_hr_bytime(649423/353421) dbtuner_stristr('1.8375337062597 per second', array('second', 'minute'))) |
|---|
| 92 | temp table rate: 4.6568285415977 per second |
|---|
| 93 | Too many intermediate temporary tables are being created; consider increasing sort_buffer_size (sorting), read_rnd_buffer_size (random read buffer, ie, post-sort), read_buffer_size (sequential scan). |
|---|
| 94 | (&hr_bytime(Created_tmp_tables/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 95 | (dbtuner_hr_bytime(1645821/353421) dbtuner_stristr('4.6568285415977 per second', array('second', 'minute'))) |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | MyISAM index cache |
|---|
| 99 | |
|---|
| 100 | MyISAM key buffer size: 128.0 Mb |
|---|
| 101 | max % MyISAM key buffer ever used: 55.672454833984 |
|---|
| 102 | MyISAM key buffer (index cache) % used is low. You may need to decrease the size of key_buffer_size, re-examine your tables to see if indexes have been removed, or examine queries and expectations about what indexes are being used. |
|---|
| 103 | ((Key_blocks_used)*key_cache_block_size/key_buffer_size * 100 <95) |
|---|
| 104 | ((72971)*1024/134217728 * 100 55.672454833984<95) |
|---|
| 105 | % MyISAM key buffer used: 66.635131835938 |
|---|
| 106 | MyISAM key buffer (index cache) % used is low. You may need to decrease the size of key_buffer_size, re-examine your tables to see if indexes have been removed, or examine queries and expectations about what indexes are being used. |
|---|
| 107 | ((1-Key_blocks_unused*key_cache_block_size/key_buffer_size) * 100 <95) |
|---|
| 108 | ((1-43732*1024/134217728) * 100 66.635131835938<95) |
|---|
| 109 | % index reads from memory: 99.996478938936 |
|---|
| 110 | |
|---|
| 111 | |
|---|
| 112 | other caches |
|---|
| 113 | |
|---|
| 114 | table open cache size (5.1+): 2048 |
|---|
| 115 | Size of the table cache |
|---|
| 116 | (table_open_cache >-1) |
|---|
| 117 | (2048 2048>-1) |
|---|
| 118 | rate of table open: 1.5333554033292 per minute |
|---|
| 119 | The rate of opening tables is high, increase table_open_cache to avoid this. |
|---|
| 120 | (&hr_bytime(Opened_tables/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 121 | (dbtuner_hr_bytime(9032/353421) dbtuner_stristr('1.5333554033292 per minute', array('second', 'minute'))) |
|---|
| 122 | % open files: 60.934930702373 |
|---|
| 123 | rate of open files: 26.422878097227 per hour |
|---|
| 124 | Immediate table locks %: 99.959572846793 |
|---|
| 125 | Table lock wait rate: 1.3111275221337 per minute |
|---|
| 126 | Too many table locks were not granted immediately. Optimize queries and/or use InnoDB to reduce lock wait. |
|---|
| 127 | (&hr_bytime(Table_locks_waited/Uptime_since_flush_status) =~ /second|minute/) |
|---|
| 128 | (dbtuner_hr_bytime(7723/353421) dbtuner_stristr('1.3111275221337 per minute', array('second', 'minute'))) |
|---|
| 129 | thread cache: 8 |
|---|
| 130 | Total threads created: 342 |
|---|
| 131 | thread cache hit rate %: 0.00094877713169692 |
|---|
| 132 | Threads that are slow to launch: 0 |
|---|
| 133 | Slow launch time: 2 |
|---|
| 134 | |
|---|
| 135 | |
|---|
| 136 | Connections |
|---|
| 137 | |
|---|
| 138 | % connections used: 23.17880794702 |
|---|
| 139 | Max connections used: 35 |
|---|
| 140 | Max connections limit: 151 |
|---|
| 141 | % aborted connections: 0.00055484042789294 |
|---|
| 142 | rate of aborted connections: 0.48893529246989 per day |
|---|
| 143 | % aborted clients: 0.00083226064183941 |
|---|
| 144 | rate of aborted clients: 0.73340293870483 per day |
|---|
| 145 | |
|---|
| 146 | |
|---|
| 147 | InnoDB |
|---|
| 148 | |
|---|
| 149 | Is InnoDB enabled?: YES |
|---|
| 150 | % innoDB log size: 62.5 |
|---|
| 151 | InnoDB log file size is not an appropriate size, in relation to the InnoDB buffer pool. Consider changing either\ninnodb_log_file_size or innodb_buffer_pool_size |
|---|
| 152 | (innodb_log_file_size / innodb_buffer_pool_size * 100 >=0) |
|---|
| 153 | (5242880 / 8388608 * 100 62.5>=0) |
|---|
| 154 | |
|---|
| 155 | |
|---|
| 156 | other |
|---|
| 157 | |
|---|
| 158 | MyISAM concurrent inserts: 1 |
|---|
| 159 | |
|---|
| 160 | INSERT DELAYED USAGE |
|---|
| 161 | |
|---|
| 162 | |
|---|
| 163 | Delayed_errors 0 |
|---|
| 164 | |
|---|
| 165 | |
|---|
| 166 | Delayed_insert_threads 0 |
|---|
| 167 | |
|---|
| 168 | |
|---|
| 169 | Delayed_writes 0 |
|---|
| 170 | |
|---|
| 171 | |
|---|
| 172 | Not_flushed_delayed_rows |
|---|
| 173 | |
|---|