Advertisement
Guest User

mysqltuner output

a guest
Oct 10th, 2018
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.87 KB | None | 0 0
  1. root@node-srv:~/mysqltuner# perl mysqltuner.pl
  2. >> MySQLTuner 1.7.13 - Major Hayden <major@mhtx.net>
  3. >> Bug reports, feature requests, and downloads at http://mysqltuner.com/
  4. >> Run with '--help' for additional options and output filtering
  5.  
  6. [--] Skipped version check for MySQLTuner script
  7. [OK] Logged in using credentials from Debian maintenance account.
  8. [OK] Currently running supported MySQL version 10.1.35-MariaDB-1
  9. [OK] Operating on 64-bit architecture
  10.  
  11. -------- Log file Recommendations ------------------------------------------------------------------
  12. [--] Log file: /var/log/mysql/error.log(1K)
  13. [OK] Log file /var/log/mysql/error.log exists
  14. [OK] Log file /var/log/mysql/error.log is readable.
  15. [OK] Log file /var/log/mysql/error.log is not empty
  16. [OK] Log file /var/log/mysql/error.log is smaller than 32 Mb
  17. [OK] /var/log/mysql/error.log doesn't contain any warning.
  18. [OK] /var/log/mysql/error.log doesn't contain any error.
  19. [--] 1 start(s) detected in /var/log/mysql/error.log
  20. [--] 1) 2018-10-10 11:06:17 140672706604160 [Note] /usr/sbin/mysqld: ready for connections.
  21. [--] 0 shutdown(s) detected in /var/log/mysql/error.log
  22.  
  23. -------- Storage Engine Statistics -----------------------------------------------------------------
  24. [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
  25. [--] Data in InnoDB tables: 58.3M (Tables: 99)
  26. [OK] Total fragmented tables: 0
  27.  
  28. -------- Analysis Performance Metrics --------------------------------------------------------------
  29. [--] innodb_stats_on_metadata: OFF
  30. [OK] No stat updates during querying INFORMATION_SCHEMA.
  31.  
  32. -------- Security Recommendations ------------------------------------------------------------------
  33. [OK] There are no anonymous accounts for any database users
  34. [OK] All database users have passwords assigned
  35. [--] There are 618 basic passwords in the list.
  36.  
  37. -------- CVE Security Recommendations --------------------------------------------------------------
  38. [OK] NO SECURITY CVE FOUND FOR YOUR VERSION
  39.  
  40. -------- Performance Metrics -----------------------------------------------------------------------
  41. [--] Up for: 2h 3m 42s (59K q [8.027 qps], 2K conn, TX: 57M, RX: 11M)
  42. [--] Reads / Writes: 74% / 26%
  43. [--] Binary logging is disabled
  44. [--] Physical Memory : 7.8G
  45. [--] Max MySQL memory : 752.7M
  46. [--] Other process memory: 339.5M
  47. [--] Total buffers: 328.0M global + 2.8M per thread (151 max threads)
  48. [--] P_S Max memory usage: 0B
  49. [--] Galera GCache Max memory usage: 0B
  50. [OK] Maximum reached memory usage: 347.7M (4.36% of installed RAM)
  51. [OK] Maximum possible memory usage: 752.7M (9.43% of installed RAM)
  52. [OK] Overall possible memory usage with other process is compatible with memory available
  53. [OK] Slow queries: 0% (0/59K)
  54. [OK] Highest usage of available connections: 4% (7/151)
  55. [OK] Aborted connections: 0.00% (0/2240)
  56. [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
  57. [!!] Query cache may be disabled by default due to mutex contention.
  58. [OK] Query cache efficiency: 28.5% (16K cached / 57K selects)
  59. [OK] Query cache prunes per day: 0
  60. [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 330 sorts)
  61. [!!] Joins performed without indexes: 1683
  62. [OK] Temporary tables created on disk: 19% (1K on disk / 8K total)
  63. [OK] Thread cache hit rate: 99% (7 created / 2K connections)
  64. [OK] Table cache hit rate: 96% (192 open / 198 opened)
  65. [OK] Open file limit used: 0% (59/16K)
  66. [OK] Table locks acquired immediately: 100% (35K immediate / 35K locks)
  67.  
  68. -------- Performance schema ------------------------------------------------------------------------
  69. [--] Performance schema is disabled.
  70. [--] Memory used by P_S: 0B
  71. [--] Sys schema isn't installed.
  72.  
  73. -------- ThreadPool Metrics ------------------------------------------------------------------------
  74. [--] ThreadPool stat is enabled.
  75. [--] Thread Pool Size: 6 thread(s).
  76. [--] Using default value is good enough for your version (10.1.35-MariaDB-1)
  77.  
  78. -------- MyISAM Metrics ----------------------------------------------------------------------------
  79. [!!] Key buffer used: 18.3% (3M used / 16M cache)
  80. [OK] Key buffer size / total MyISAM indexes: 16.0M/123.0K
  81. [!!] Read Key buffer hit rate: 90.0% (20 cached / 2 reads)
  82.  
  83. -------- InnoDB Metrics ----------------------------------------------------------------------------
  84. [--] InnoDB is enabled.
  85. [--] InnoDB Thread Concurrency: 0
  86. [OK] InnoDB File per table is activated
  87. [OK] InnoDB buffer pool / data size: 128.0M/58.3M
  88. [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (75 %): 48.0M * 2/128.0M should be equal 25%
  89. [!!] InnoDB buffer pool <= 1G and Innodb_buffer_pool_instances(!=1).
  90. [--] InnoDB Buffer Pool Chunk Size not used or defined in your version
  91. [OK] InnoDB Read buffer efficiency: 99.76% (635895 hits/ 637444 total)
  92. [OK] InnoDB Write log efficiency: 93.26% (15472 hits/ 16590 total)
  93. [OK] InnoDB log waits: 0.00% (0 waits / 1118 writes)
  94.  
  95. -------- AriaDB Metrics ----------------------------------------------------------------------------
  96. [--] AriaDB is enabled.
  97. [OK] Aria pagecache size / total Aria indexes: 128.0M/1B
  98. [!!] Aria pagecache hit rate: 88.1% (14K cached / 1K reads)
  99.  
  100. -------- TokuDB Metrics ----------------------------------------------------------------------------
  101. [--] TokuDB is disabled.
  102.  
  103. -------- XtraDB Metrics ----------------------------------------------------------------------------
  104. [--] XtraDB 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. [--] XA support enabled: 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. MySQL was started within the last 24 hours - recommendations may be inaccurate
  121. Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
  122. Adjust your join queries to always utilize indexes
  123. Performance schema should be activated for better diagnostics
  124. Consider installing Sys schema from https://github.com/mysql/mysql-sys
  125. Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: http://bit.ly/2wgkDvS
  126. Variables to adjust:
  127. query_cache_size (=0)
  128. query_cache_type (=0)
  129. join_buffer_size (> 256.0K, or always use indexes with JOINs)
  130. performance_schema = ON enable PFS
  131. innodb_log_file_size should be (=16M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
  132. innodb_buffer_pool_instances (=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement