Guest User

Untitled

a guest
Feb 24th, 2020
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. [--] Skipped version check for MySQLTuner script
  5. [OK] Currently running supported MySQL version 8.0.17
  6. [OK] Operating on 64-bit architecture
  7.  
  8. -------- Log file Recommendations ------------------------------------------------------------------
  9. [OK] Log file /var/log/mysql/error.log exists
  10. [--] Log file: /var/log/mysql/error.log(873K)
  11. [OK] Log file /var/log/mysql/error.log is readable.
  12. [OK] Log file /var/log/mysql/error.log is empty
  13. [OK] Log file /var/log/mysql/error.log is smaller than 32 Mb
  14. -------- Storage Engine Statistics -----------------------------------------------------------------
  15. [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA
  16. [--] Data in InnoDB tables: 241.7G (Tables: 464101)
  17. [--] Data in MyISAM tables: 4.0K (Tables: 4)
  18. [--] Data in MEMORY tables: 0B (Tables: 37)
  19. [OK] Total fragmented tables: 0
  20.  
  21. -------- Analysis Performance Metrics --------------------------------------------------------------
  22. [--] innodb_stats_on_metadata: OFF
  23. [OK] No stat updates during querying INFORMATION_SCHEMA.
  24.  
  25. -------- Security Recommendations ------------------------------------------------------------------
  26. [--] Skipped due to unsupported feature for MySQL 8
  27.  
  28. -------- CVE Security Recommendations --------------------------------------------------------------
  29. [--] Skipped due to --cvefile option undefined
  30.  
  31. -------- Performance Metrics -----------------------------------------------------------------------
  32. [--] Up for: 7m 34s (102 q [0.225 qps], 99 conn, TX: 69K, RX: 20K)
  33. [--] Reads / Writes: 100% / 0%
  34. [--] Binary logging is enabled (GTID MODE: ON)
  35. [--] Physical Memory : 47.2G
  36. [--] Max MySQL memory : 337.2G
  37. [--] Other process memory: 0B
  38. [--] Total buffers: 24.4G global + 104.2M per thread (3072 max threads)
  39. [--] P_S Max memory usage: 72B
  40. [--] Galera GCache Max memory usage: 0B
  41. [OK] Maximum reached memory usage: 24.8G (52.68% of installed RAM)
  42. [!!] Maximum possible memory usage: 337.2G (714.91% of installed RAM)
  43. [!!] Overall possible memory usage with other process exceeded memory
  44. [OK] Slow queries: 0% (0/102)
  45. [OK] Highest usage of available connections: 0% (4/3072)
  46. [OK] Aborted connections: 1.01% (1/99)
  47. [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
  48. [--] Query cache have been removed in MySQL 8
  49. [OK] No Sort requiring temporary tables
  50. [OK] No joins without indexes
  51. [OK] Temporary tables created on disk: 0% (0 on disk / 4 total)
  52. [OK] Thread cache hit rate: 97% (2 created / 99 connections)
  53. [OK] Table cache hit rate: 54% (97 open / 179 opened)
  54. [!!] table_definition_cache(2000) is lower than number of tables(464470)
  55. [OK] Open file limit used: 0% (8/10K)
  56. [OK] Table locks acquired immediately: 100% (4 immediate / 4 locks)
  57. [OK] Binlog cache memory access: 100.00% (3 Memory / 3 Total)
  58.  
  59. -------- Performance schema ------------------------------------------------------------------------
  60. [--] Memory used by P_S: 72B
  61. [--] Sys schema is installed.
  62.  
  63. -------- ThreadPool Metrics ------------------------------------------------------------------------
  64. [--] ThreadPool stat is disabled.
  65.  
  66. -------- MyISAM Metrics ----------------------------------------------------------------------------
  67. [--] MyISAM Metrics are disabled on last MySQL versions.
  68.  
  69. -------- InnoDB Metrics ----------------------------------------------------------------------------
  70. [--] InnoDB is enabled.
  71. [--] InnoDB Thread Concurrency: 12
  72. [OK] InnoDB File per table is activated
  73. [!!] InnoDB buffer pool / data size: 24.0G/241.7G
  74. [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (2.08333333333333 %): 256.0M * 2/24.0G should be equal to 25%
  75. [!!] InnoDB buffer pool instances: 8
  76. [--] Number of InnoDB Buffer Pool Chunk : 192 for 8 Buffer Pool Instance(s)
  77. [OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
  78. [OK] InnoDB Read buffer efficiency: 99.84% (1933866 hits/ 1936895 total)
  79. [OK] InnoDB Write log efficiency: 90.45% (1137 hits/ 1257 total)
  80. [OK] InnoDB log waits: 0.00% (0 waits / 120 writes)
  81.  
  82. -------- AriaDB Metrics ----------------------------------------------------------------------------
  83. [--] AriaDB is disabled.
  84.  
  85. -------- TokuDB Metrics ----------------------------------------------------------------------------
  86. [--] TokuDB is disabled.
  87.  
  88. -------- XtraDB Metrics ----------------------------------------------------------------------------
  89. [--] XtraDB is disabled.
  90.  
  91. -------- Galera Metrics ----------------------------------------------------------------------------
  92. [--] Galera is disabled.
  93.  
  94. -------- Replication Metrics -----------------------------------------------------------------------
  95. [--] Galera Synchronous replication: NO
  96. [--] No replication slave(s) for this server.
  97. [--] Binlog format: ROW
  98. [--] XA support enabled: ON
  99. [--] Semi synchronous replication Master: Not Activated
  100. [--] Semi synchronous replication Slave: Not Activated
  101. [--] This is a standalone server
  102.  
  103. -------- Recommendations ---------------------------------------------------------------------------
  104. General recommendations:
  105. Control warning line(s) into /var/log/mysql/error.log file
  106. Control error line(s) into /var/log/mysql/error.log file
  107. MySQL was started within the last 24 hours - recommendations may be inaccurate
  108. Reduce your overall MySQL memory footprint for system stability
  109. Dedicate this server to your database for highest performance.
  110. Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
  111. Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: https://bit.ly/2TcGgtU
  112. Variables to adjust:
  113. *** MySQL's maximum memory usage is dangerously high ***
  114. *** Add RAM before increasing MySQL buffer variables ***
  115. table_definition_cache(2000) > 464470 or -1 (autosizing if supported)
  116. innodb_buffer_pool_size (>= 241.7G) if possible.
  117. innodb_log_file_size should be (=3G) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
  118. innodb_buffer_pool_instances(=24)
RAW Paste Data Copied