Advertisement
Guest User

Untitled

a guest
Dec 8th, 2020
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 KB | None | 0 0
  1. >> MySQLTuner 1.7.20 - Major Hayden <[email protected]>
  2. >> Bug reports, feature requests, and downloads at http://mysqltuner.pl/
  3. >> Run with '--help' for additional options and output filtering
  4.  
  5. [--] Skipped version check for MySQLTuner script
  6. [!!] Successfully authenticated with no password - SECURITY RISK!
  7. [!!] Your MySQL version 10.5.8-MariaDB-log is EOL software! Upgrade soon!
  8. [OK] Operating on 64-bit architecture
  9.  
  10. -------- Log file Recommendations ------------------------------------------------------------------
  11. [OK] Log file /var/log/mysql.log exists
  12. [--] Log file: /var/log/mysql.log(2K)
  13. [OK] Log file /var/log/mysql.log is readable.
  14. [OK] Log file /var/log/mysql.log is not empty
  15. [OK] Log file /var/log/mysql.log is smaller than 32 Mb
  16. [!!] /var/log/mysql.log contains 1 warning(s).
  17. [OK] /var/log/mysql.log doesn't contain any error.
  18. [--] 1 start(s) detected in /var/log/mysql.log
  19. [--] 1) 2020-12-08 13:02:58 0 [Note] /usr/sbin/mariadbd: ready for connections.
  20. [--] 1 shutdown(s) detected in /var/log/mysql.log
  21. [--] 1) 2020-12-08 13:02:57 0 [Note] /usr/sbin/mariadbd: Shutdown complete
  22.  
  23. -------- Storage Engine Statistics -----------------------------------------------------------------
  24. [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
  25. [--] Data in InnoDB tables: 8.0G (Tables: 135)
  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. [!!] User 'mariadb.sys@localhost' has no password set.
  35. [!!] User 'librenms@%' does not specify hostname restrictions.
  36. [--] There are 620 basic passwords in the list.
  37.  
  38. -------- CVE Security Recommendations --------------------------------------------------------------
  39. [--] Skipped due to --cvefile option undefined
  40.  
  41. -------- Performance Metrics -----------------------------------------------------------------------
  42. [--] Up for: 1m 14s (397K q [5K qps], 3K conn, TX: 845M, RX: 145M)
  43. [--] Reads / Writes: 73% / 27%
  44. [--] Binary logging is disabled
  45. [--] Physical Memory : 31.3G
  46. [--] Max MySQL memory : 209.0G
  47. [--] Other process memory: 0B
  48. [--] Total buffers: 24.3G global + 18.9M per thread (10000 max threads)
  49. [--] P_S Max memory usage: 72B
  50. [--] Galera GCache Max memory usage: 0B
  51. [!!] Maximum reached memory usage: 30.0G (95.81% of installed RAM)
  52. [!!] Maximum possible memory usage: 209.0G (668.40% of installed RAM)
  53. [!!] Overall possible memory usage with other process exceeded memory
  54. [OK] Slow queries: 0% (12/397K)
  55. [OK] Highest usage of available connections: 3% (307/10000)
  56. [OK] Aborted connections: 0.00% (0/3452)
  57. [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
  58. [OK] Sorts requiring temporary tables: 3% (87 temp sorts / 2K sorts)
  59. [OK] No joins without indexes
  60. [OK] Temporary tables created on disk: 22% (2K on disk / 8K total)
  61. [OK] Thread cache hit rate: 91% (307 created / 3K connections)
  62. [OK] Table cache hit rate: 98% (386 open / 392 opened)
  63. [OK] table_definition_cache(400) is upper than number of tables(326)
  64. [OK] Open file limit used: 0% (57/50K)
  65. [OK] Table locks acquired immediately: 100% (1K immediate / 1K locks)
  66.  
  67. -------- Performance schema ------------------------------------------------------------------------
  68. [--] Memory used by P_S: 72B
  69. [--] Sys schema isn't installed.
  70.  
  71. -------- ThreadPool Metrics ------------------------------------------------------------------------
  72. [--] ThreadPool stat is enabled.
  73. [--] Thread Pool Size: 8 thread(s).
  74. [--] Using default value is good enough for your version (10.5.8-MariaDB-log)
  75.  
  76. -------- MyISAM Metrics ----------------------------------------------------------------------------
  77. [!!] Key buffer used: 18.2% (24M used / 134M cache)
  78. [!!] Cannot calculate MyISAM index size - re-run script as root user
  79.  
  80. -------- InnoDB Metrics ----------------------------------------------------------------------------
  81. [--] InnoDB is enabled.
  82. [--] InnoDB Thread Concurrency: 0
  83. [OK] InnoDB File per table is activated
  84. [OK] InnoDB buffer pool / data size: 24.0G/8.0G
  85. [OK] Ratio InnoDB log file size / InnoDB Buffer pool size: 6.0G * 1/24.0G should be equal to 25%
  86. [--] Number of InnoDB Buffer Pool Chunk : 192 for 1 Buffer Pool Instance(s)
  87. [OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
  88. [OK] InnoDB Read buffer efficiency: 99.94% (46487799 hits/ 46516659 total)
  89. [!!] InnoDB Write Log efficiency: 663.58% (51713 hits/ 7793 total)
  90. [OK] InnoDB log waits: 0.00% (0 waits / 59506 writes)
  91.  
  92. -------- AriaDB Metrics ----------------------------------------------------------------------------
  93. [--] AriaDB is enabled.
  94. [OK] Aria pagecache size / total Aria indexes: 128.0M/336.0K
  95. [OK] Aria pagecache hit rate: 95.2% (702K cached / 33K reads)
  96.  
  97. -------- TokuDB Metrics ----------------------------------------------------------------------------
  98. [--] TokuDB is disabled.
  99.  
  100. -------- XtraDB Metrics ----------------------------------------------------------------------------
  101. [--] XtraDB 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. [--] Binlog format: MIXED
  110. [--] XA support enabled: ON
  111. [--] Semi synchronous replication Master: OFF
  112. [--] Semi synchronous replication Slave: OFF
  113. [--] This is a standalone server
  114.  
  115. -------- Recommendations ---------------------------------------------------------------------------
  116. General recommendations:
  117. Control warning line(s) into /var/log/mysql.log file
  118. Set up a Secure Password for mariadb.sys@localhost user: SET PASSWORD FOR 'mariadb.sys'@'SpecificDNSorIp' = PASSWORD('secure_password');
  119. Restrict Host for 'librenms'@% to librenms@SpecificDNSorIp
  120. UPDATE mysql.user SET host ='SpecificDNSorIp' WHERE user='librenms' AND host ='%'; FLUSH PRIVILEGES;
  121. MySQL was started within the last 24 hours - recommendations may be inaccurate
  122. Reduce your overall MySQL memory footprint for system stability
  123. Dedicate this server to your database for highest performance.
  124. Consider installing Sys schema from https://github.com/mysql/mysql-sys for MySQL
  125. Consider installing Sys schema from https://github.com/FromDual/mariadb-sys for MariaDB
  126.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement