Advertisement
jayzou

mySQLtuner.pl result

Apr 24th, 2017
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.79 KB | None | 0 0
  1. >> MySQLTuner 1.7.1 - 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] Logged in using credentials from debian maintenance account.
  7. [OK] Currently running supported MySQL version 10.1.22-MariaDB-1~jessie
  8. [OK] Operating on 64-bit architecture
  9.  
  10. -------- Log file Recommendations ------------------------------------------------------------------
  11. [--] Log file: (0B)
  12. [!!] Log file doesn't exist
  13. [!!] Log file isn't readable.
  14.  
  15. -------- Storage Engine Statistics -----------------------------------------------------------------
  16. [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
  17. [--] Data in InnoDB tables: 259M (Tables: 28)
  18. [OK] Total fragmented tables: 0
  19.  
  20. -------- Security Recommendations ------------------------------------------------------------------
  21. [OK] There are no anonymous accounts for any database users
  22. [OK] All database users have passwords assigned
  23. [!!] There is no basic password file list!
  24.  
  25. -------- CVE Security Recommendations --------------------------------------------------------------
  26. [--] Skipped due to --cvefile option undefined
  27.  
  28. -------- Performance Metrics -----------------------------------------------------------------------
  29. [--] Up for: 14s (405 q [28.929 qps], 12 conn, TX: 785K, RX: 67K)
  30. [--] Reads / Writes: 95% / 5%
  31. [--] Binary logging is enabled (GTID MODE: OFF)
  32. [--] Physical Memory : 494.4M
  33. [--] Max MySQL memory : 1.0G
  34. [--] Other process memory: 228.6M
  35. [--] Total buffers: 658.0M global + 7.5M per thread (50 max threads)
  36. [--] P_S Max memory usage: 0B
  37. [--] Galera GCache Max memory usage: 0B
  38. [!!] Maximum reached memory usage: 673.1M (136.13% of installed RAM)
  39. [!!] Maximum possible memory usage: 1.0G (209.25% of installed RAM)
  40. [!!] Overall possible memory usage with other process exceeded memory
  41. [OK] Slow queries: 0% (0/405)
  42. [OK] Highest usage of available connections: 4% (2/50)
  43. [OK] Aborted connections: 0.00% (0/12)
  44. [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
  45. [!!] Query cache may be disabled by default due to mutex contention.
  46. [!!] Query cache efficiency: 19.3% (87 cached / 450 selects)
  47. [OK] Query cache prunes per day: 0
  48. [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 52 sorts)
  49. [!!] Joins performed without indexes: 2
  50. [!!] Temporary tables created on disk: 76% (38 on disk / 50 total)
  51. [OK] Thread cache hit rate: 83% (2 created / 12 connections)
  52. [OK] Table cache hit rate: 81% (27 open / 33 opened)
  53. [OK] Open file limit used: 0% (26/16K)
  54. [OK] Table locks acquired immediately: 100% (410 immediate / 410 locks)
  55. [OK] Binlog cache memory access: 100.00% (16 Memory / 16 Total)
  56.  
  57. -------- Performance schema ------------------------------------------------------------------------
  58. [--] Performance schema is disabled.
  59. [--] Memory used by P_S: 0B
  60. [--] Sys schema isn't installed.
  61.  
  62. -------- ThreadPool Metrics ------------------------------------------------------------------------
  63. [--] ThreadPool stat is enabled.
  64. [--] Thread Pool Size: 1 thread(s).
  65. [--] Using default value is good enough for your version (10.1.22-MariaDB-1~jessie)
  66.  
  67. -------- MyISAM Metrics ----------------------------------------------------------------------------
  68. [!!] Key buffer used: 18.2% (24M used / 134M cache)
  69. [OK] Key buffer size / total MyISAM indexes: 128.0M/123.0K
  70.  
  71. -------- InnoDB Metrics ----------------------------------------------------------------------------
  72. [--] InnoDB is enabled.
  73. [--] InnoDB Thread Concurrency: 0
  74. [OK] InnoDB File per table is activated
  75. [!!] InnoDB buffer pool / data size: 256.0M/259.8M
  76. [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (37.5 %): 48.0M * 2/256.0M should be equal 25%
  77. [!!] InnoDB buffer pool <= 1G and Innodb_buffer_pool_instances(!=1).
  78. [--] InnoDB Buffer Pool Chunk Size not used or defined in your version
  79. [OK] InnoDB Read buffer efficiency: 99.37% (162357 hits/ 163393 total)
  80. [!!] InnoDB Write Log efficiency: 72.86% (51 hits/ 70 total)
  81. [OK] InnoDB log waits: 0.00% (0 waits / 19 writes)
  82.  
  83. -------- AriaDB Metrics ----------------------------------------------------------------------------
  84. [--] AriaDB is enabled.
  85. [OK] Aria pagecache size / total Aria indexes: 128.0M/1B
  86. [OK] Aria pagecache hit rate: 97.0% (730 cached / 22 reads)
  87.  
  88. -------- TokuDB Metrics ----------------------------------------------------------------------------
  89. [--] TokuDB is disabled.
  90.  
  91. -------- XtraDB Metrics ----------------------------------------------------------------------------
  92. [--] XtraDB is disabled.
  93.  
  94. -------- RocksDB Metrics ---------------------------------------------------------------------------
  95. [--] RocksDB is disabled.
  96.  
  97. -------- Spider Metrics ----------------------------------------------------------------------------
  98. [--] Spider is disabled.
  99.  
  100. -------- Connect Metrics ---------------------------------------------------------------------------
  101. [--] Connect is disabled.
  102.  
  103. -------- Galera Metrics ----------------------------------------------------------------------------
  104. [--] Galera is disabled.
  105.  
  106. -------- Replication Metrics -----------------------------------------------------------------------
  107. [--] Galera Synchronous replication: NO
  108. [--] No replication slave(s) for this server.
  109. [--] This is a standalone server.
  110.  
  111. -------- Recommendations ---------------------------------------------------------------------------
  112. General recommendations:
  113. MySQL started within last 24 hours - recommendations may be inaccurate
  114. Reduce your overall MySQL memory footprint for system stability
  115. Dedicate this server to your database for highest performance.
  116. Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
  117. Adjust your join queries to always utilize indexes
  118. When making adjustments, make tmp_table_size/max_heap_table_size equal
  119. Reduce your SELECT DISTINCT queries which have no LIMIT clause
  120. Performance should be activated for better diagnostics
  121. Consider installing Sys schema from https://github.com/mysql/mysql-sys
  122. Variables to adjust:
  123. *** MySQL's maximum memory usage is dangerously high ***
  124. *** Add RAM before increasing MySQL buffer variables ***
  125. query_cache_size (=0)
  126. query_cache_type (=0)
  127. query_cache_limit (> 128K, or use smaller result sets)
  128. join_buffer_size (> 256.0K, or always use indexes with joins)
  129. tmp_table_size (> 64M)
  130. max_heap_table_size (> 64M)
  131. performance_schema = ON enable PFS
  132. innodb_buffer_pool_size (>= 259M) if possible.
  133. innodb_log_file_size * innodb_log_files_in_group should be equals to 1/4 of buffer pool size (=128M) if possible.
  134. innodb_buffer_pool_instances (=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement