Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. >> MySQLTuner 1.7.19 - 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. Please enter your MySQL administrative login: root
  7. Please enter your MySQL administrative password: [OK] Currently running supported MySQL version 8.0.18
  8. [OK] Operating on 64-bit architecture
  9.  
  10. -------- Log file Recommendations ------------------------------------------------------------------
  11. [OK] Log file /var/log/mysql/error.log exists
  12. [--] Log file: /var/log/mysql/error.log(0B)
  13. [OK] Log file /var/log/mysql/error.log is readable.
  14. [!!] Log file /var/log/mysql/error.log is empty
  15. [OK] Log file /var/log/mysql/error.log is smaller than 32 Mb
  16. [OK] /var/log/mysql/error.log doesn't contain any warning.
  17. [OK] /var/log/mysql/error.log doesn't contain any error.
  18. [--] 0 start(s) detected in /var/log/mysql/error.log
  19. [--] 0 shutdown(s) detected in /var/log/mysql/error.log
  20.  
  21. -------- Storage Engine Statistics -----------------------------------------------------------------
  22. [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA
  23. [--] Data in InnoDB tables: 6.5M (Tables: 51)
  24. [OK] Total fragmented tables: 0
  25.  
  26. -------- Analysis Performance Metrics --------------------------------------------------------------
  27. [--] innodb_stats_on_metadata: OFF
  28. [OK] No stat updates during querying INFORMATION_SCHEMA.
  29.  
  30. -------- Security Recommendations ------------------------------------------------------------------
  31. [--] Skipped due to unsupported feature for MySQL 8
  32.  
  33. -------- CVE Security Recommendations --------------------------------------------------------------
  34. [--] Skipped due to --cvefile option undefined
  35.  
  36. -------- Performance Metrics -----------------------------------------------------------------------
  37. [--] Up for: 5d 22h 52m 14s (490K q [0.953 qps], 17K conn, TX: 670M, RX: 159M)
  38. [--] Reads / Writes: 84% / 16%
  39. [--] Binary logging is enabled (GTID MODE: OFF)
  40. [--] Physical Memory : 1.9G
  41. [--] Max MySQL memory : 469.4M
  42. [--] Other process memory: 0B
  43. [--] Total buffers: 296.0M global + 1.1M per thread (151 max threads)
  44. [--] P_S Max memory usage: 72B
  45. [--] Galera GCache Max memory usage: 0B
  46. [OK] Maximum reached memory usage: 304.0M (15.31% of installed RAM)
  47. [OK] Maximum possible memory usage: 469.4M (23.64% of installed RAM)
  48. [OK] Overall possible memory usage with other process is compatible with memory available
  49. [OK] Slow queries: 0% (0/490K)
  50. [OK] Highest usage of available connections: 4% (7/151)
  51. [!!] Aborted connections: 8.35% (1461/17507)
  52. [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
  53. [--] Query cache have been removed in MySQL 8
  54. [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 71K sorts)
  55. [!!] Joins performed without indexes: 5996
  56. [OK] Temporary tables created on disk: 0% (0 on disk / 28K total)
  57. [OK] Thread cache hit rate: 99% (7 created / 17K connections)
  58. [OK] Table cache hit rate: 90% (747 open / 827 opened)
  59. [OK] table_definition_cache(2000) is upper than number of tables(355)
  60. [OK] Open file limit used: 0% (2/10K)
  61. [OK] Table locks acquired immediately: 100% (4 immediate / 4 locks)
  62. [OK] Binlog cache memory access: 98.78% (41607 Memory / 42119 Total)
  63.  
  64. -------- Performance schema ------------------------------------------------------------------------
  65. [--] Memory used by P_S: 72B
  66. [--] Sys schema is installed.
  67.  
  68. -------- ThreadPool Metrics ------------------------------------------------------------------------
  69. [--] ThreadPool stat is disabled.
  70.  
  71. -------- MyISAM Metrics ----------------------------------------------------------------------------
  72. [--] MyISAM Metrics are disabled on last MySQL versions.
  73.  
  74. -------- InnoDB Metrics ----------------------------------------------------------------------------
  75. [--] InnoDB is enabled.
  76. [--] InnoDB Thread Concurrency: 0
  77. [OK] InnoDB File per table is activated
  78. [OK] InnoDB buffer pool / data size: 256.0M/6.5M
  79. [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (78.125 %): 100.0M * 2/256.0M should be equal to 25%
  80. [OK] InnoDB buffer pool instances: 1
  81. [--] Number of InnoDB Buffer Pool Chunk : 2 for 1 Buffer Pool Instance(s)
  82. [OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
  83. [OK] InnoDB Read buffer efficiency: 99.98% (10569308 hits/ 10571046 total)
  84. [!!] InnoDB Write Log efficiency: 51.16% (199015 hits/ 389005 total)
  85. [OK] InnoDB log waits: 0.00% (0 waits / 189990 writes)
  86.  
  87. -------- AriaDB Metrics ----------------------------------------------------------------------------
  88. [--] AriaDB is disabled.
  89.  
  90. -------- TokuDB Metrics ----------------------------------------------------------------------------
  91. [--] TokuDB is disabled.
  92.  
  93. -------- XtraDB Metrics ----------------------------------------------------------------------------
  94. [--] XtraDB is disabled.
  95.  
  96. -------- Galera Metrics ----------------------------------------------------------------------------
  97. [--] Galera is disabled.
  98.  
  99. -------- Replication Metrics -----------------------------------------------------------------------
  100. [--] Galera Synchronous replication: NO
  101. [--] No replication slave(s) for this server.
  102. [--] Binlog format: ROW
  103. [--] XA support enabled: ON
  104. [--] Semi synchronous replication Master: Not Activated
  105. [--] Semi synchronous replication Slave: Not Activated
  106. [--] This is a standalone server
  107.  
  108. -------- Recommendations ---------------------------------------------------------------------------
  109. General recommendations:
  110. Reduce or eliminate unclosed connections and network issues
  111. Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
  112. We will suggest raising the 'join_buffer_size' until JOINs not using indexes are found.
  113. See https://dev.mysql.com/doc/internals/en/join-buffer-size.html
  114. (specially the conclusions at the bottom of the page).
  115. Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: https://bit.ly/2TcGgtU
  116. Variables to adjust:
  117. join_buffer_size (> 256.0K, or always use indexes with JOINs)
  118. innodb_log_file_size should be (=32M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement