Advertisement
Guest User

MySQLTuner report

a guest
Aug 10th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 KB | None | 0 0
  1. >> MySQLTuner 1.7.9 - Major Hayden <major@mhtx.net>
  2. >> Bug reports, feature requests, and downloads at http://mysqltuner.com/
  3. >> Run with '--help' for additional options and output filtering
  4.  
  5. [--] Skipped version check for MySQLTuner script
  6. [OK] Currently running supported MySQL version 10.1.26-MariaDB-0+deb9u1
  7. [OK] Operating on 64-bit architecture
  8.  
  9. -------- Log file Recommendations ------------------------------------------------------------------
  10. [--] Log file: /var/log/mysql/error.log(8K)
  11. [OK] Log file /var/log/mysql/error.log exists
  12. [OK] Log file /var/log/mysql/error.log is readable.
  13. [OK] Log file /var/log/mysql/error.log is not empty
  14. [OK] Log file /var/log/mysql/error.log is smaller than 32 Mb
  15. [!!] /var/log/mysql/error.log contains 68 warning(s).
  16. [OK] /var/log/mysql/error.log doesn't contain any error.
  17. [--] 0 start(s) detected in /var/log/mysql/error.log
  18. [--] 0 shutdown(s) detected in /var/log/mysql/error.log
  19.  
  20. -------- Storage Engine Statistics -----------------------------------------------------------------
  21. [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
  22. [--] Data in InnoDB tables: 32.8G (Tables: 666)
  23. [--] Data in MEMORY tables: 6.3M (Tables: 3)
  24. [OK] Total fragmented tables: 0
  25.  
  26. -------- Security Recommendations ------------------------------------------------------------------
  27. [OK] There are no anonymous accounts for any database users
  28. [OK] All database users have passwords assigned
  29. [!!] User 'shopping-fuchs24@%' does not specify hostname restrictions.
  30. [!!] There is no basic password file list!
  31.  
  32. -------- CVE Security Recommendations --------------------------------------------------------------
  33. [--] Skipped due to --cvefile option undefined
  34.  
  35. -------- Performance Metrics -----------------------------------------------------------------------
  36. [--] Up for: 7d 22h 54m 59s (62M q [91.078 qps], 303K conn, TX: 784G, RX: 19G)
  37. [--] Reads / Writes: 95% / 5%
  38. [--] Binary logging is disabled
  39. [--] Physical Memory : 62.9G
  40. [--] Max MySQL memory : 38.1G
  41. [--] Other process memory: 676.3M
  42. [--] Total buffers: 35.2G global + 19.2M per thread (151 max threads)
  43. [--] P_S Max memory usage: 92M
  44. [--] Galera GCache Max memory usage: 0B
  45. [OK] Maximum reached memory usage: 36.4G (57.82% of installed RAM)
  46. [OK] Maximum possible memory usage: 38.1G (60.62% of installed RAM)
  47. [OK] Overall possible memory usage with other process is compatible with memory available
  48. [OK] Slow queries: 0% (0/62M)
  49. [OK] Highest usage of available connections: 37% (57/151)
  50. [!!] Aborted connections: 4.32% (13117/303717)
  51. [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
  52. [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
  53. [OK] Sorts requiring temporary tables: 0% (142 temp sorts / 19M sorts)
  54. [!!] Temporary tables created on disk: 92% (17M on disk / 19M total)
  55. [OK] Thread cache hit rate: 98% (3K created / 303K connections)
  56. [OK] Table cache hit rate: 99% (2K open / 2K opened)
  57. [OK] Open file limit used: 0% (84/16K)
  58. [OK] Table locks acquired immediately: 99% (121M immediate / 121M locks)
  59.  
  60. -------- Performance schema ------------------------------------------------------------------------
  61. [--] Memory used by P_S: 92.7M
  62. [--] Sys schema isn't installed.
  63.  
  64. -------- ThreadPool Metrics ------------------------------------------------------------------------
  65. [--] ThreadPool stat is enabled.
  66. [--] Thread Pool Size: 24 thread(s).
  67. [--] Using default value is good enough for your version (10.1.26-MariaDB-0+deb9u1)
  68.  
  69. -------- MyISAM Metrics ----------------------------------------------------------------------------
  70. [!!] Key buffer used: 19.1% (1B used / 5B cache)
  71. [OK] Key buffer size / total MyISAM indexes: 5.0G/123.0K
  72. [OK] Read Key buffer hit rate: 97.9% (1K cached / 25 reads)
  73.  
  74. -------- InnoDB Metrics ----------------------------------------------------------------------------
  75. [--] InnoDB is enabled.
  76. [--] InnoDB Thread Concurrency: 0
  77. [OK] InnoDB File per table is activated
  78. [!!] InnoDB buffer pool / data size: 30.0G/32.8G
  79. [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (6.66666666666667 %): 1.0G * 2/30.0G should be equal 25%
  80. [!!] InnoDB buffer pool instances: 15
  81. [--] InnoDB Buffer Pool Chunk Size not used or defined in your version
  82. [OK] InnoDB Read buffer efficiency: 100.00% (411255144335 hits/ 411255887458 total)
  83. [!!] InnoDB Write Log efficiency: 85.63% (11243174 hits/ 13130255 total)
  84. [OK] InnoDB log waits: 0.00% (0 waits / 1887081 writes)
  85.  
  86. -------- AriaDB Metrics ----------------------------------------------------------------------------
  87. [--] AriaDB is enabled.
  88. [OK] Aria pagecache size / total Aria indexes: 128.0M/1B
  89. [!!] Aria pagecache hit rate: 94.0% (278M cached / 16M reads)
  90.  
  91. -------- TokuDB Metrics ----------------------------------------------------------------------------
  92. [--] TokuDB is disabled.
  93.  
  94. -------- XtraDB Metrics ----------------------------------------------------------------------------
  95. [--] XtraDB is disabled.
  96.  
  97. -------- RocksDB Metrics ---------------------------------------------------------------------------
  98. [--] RocksDB is disabled.
  99.  
  100. -------- Spider Metrics ----------------------------------------------------------------------------
  101. [--] Spider is disabled.
  102.  
  103. -------- Connect Metrics ---------------------------------------------------------------------------
  104. [--] Connect is disabled.
  105.  
  106. -------- Galera Metrics ----------------------------------------------------------------------------
  107. [--] Galera is disabled.
  108.  
  109. -------- Replication Metrics -----------------------------------------------------------------------
  110. [--] Galera Synchronous replication: NO
  111. [--] No replication slave(s) for this server.
  112. [--] Binlog format: STATEMENT
  113. [--] ON
  114. [--] Semi synchronous replication Master: Not Activated
  115. [--] Semi synchronous replication Slave: Not Activated
  116. [--] This is a standalone server
  117.  
  118. -------- Recommendations ---------------------------------------------------------------------------
  119. General recommendations:
  120. Control warning line(s) into /var/log/mysql/error.log file
  121. Restrict Host for user@% to user@SpecificDNSorIp
  122. Reduce or eliminate unclosed connections and network issues
  123. Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
  124. Adjust your join queries to always utilize indexes
  125. When making adjustments, make tmp_table_size/max_heap_table_size equal
  126. Reduce your SELECT DISTINCT queries which have no LIMIT clause
  127. Consider installing Sys schema from https://github.com/mysql/mysql-sys
  128. Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: http://bit.ly/2wgkDvS
  129. Variables to adjust:
  130. join_buffer_size (> 8.0M, or always use indexes with JOINs)
  131. tmp_table_size (> 64M)
  132. max_heap_table_size (> 64M)
  133. innodb_buffer_pool_size (>= 32.8G) if possible.
  134. innodb_log_file_size should be (=3G) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
  135. innodb_buffer_pool_instances(=30)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement