Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> MySQLTuner 1.7.20 - Major Hayden <[email protected]>
- >> Bug reports, feature requests, and downloads at http://mysqltuner.pl/
- >> Run with '--help' for additional options and output filtering
- [--] Skipped version check for MySQLTuner script
- [!!] Successfully authenticated with no password - SECURITY RISK!
- [!!] Your MySQL version 10.5.8-MariaDB-log is EOL software! Upgrade soon!
- [OK] Operating on 64-bit architecture
- -------- Log file Recommendations ------------------------------------------------------------------
- [OK] Log file /var/log/mysql.log exists
- [--] Log file: /var/log/mysql.log(2K)
- [OK] Log file /var/log/mysql.log is readable.
- [OK] Log file /var/log/mysql.log is not empty
- [OK] Log file /var/log/mysql.log is smaller than 32 Mb
- [!!] /var/log/mysql.log contains 1 warning(s).
- [OK] /var/log/mysql.log doesn't contain any error.
- [--] 1 start(s) detected in /var/log/mysql.log
- [--] 1) 2020-12-08 13:02:58 0 [Note] /usr/sbin/mariadbd: ready for connections.
- [--] 1 shutdown(s) detected in /var/log/mysql.log
- [--] 1) 2020-12-08 13:02:57 0 [Note] /usr/sbin/mariadbd: Shutdown complete
- -------- Storage Engine Statistics -----------------------------------------------------------------
- [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
- [--] Data in InnoDB tables: 8.0G (Tables: 135)
- [OK] Total fragmented tables: 0
- -------- Analysis Performance Metrics --------------------------------------------------------------
- [--] innodb_stats_on_metadata: OFF
- [OK] No stat updates during querying INFORMATION_SCHEMA.
- -------- Security Recommendations ------------------------------------------------------------------
- [OK] There are no anonymous accounts for any database users
- [!!] User 'mariadb.sys@localhost' has no password set.
- [!!] User 'librenms@%' does not specify hostname restrictions.
- [--] There are 620 basic passwords in the list.
- -------- CVE Security Recommendations --------------------------------------------------------------
- [--] Skipped due to --cvefile option undefined
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 1m 14s (397K q [5K qps], 3K conn, TX: 845M, RX: 145M)
- [--] Reads / Writes: 73% / 27%
- [--] Binary logging is disabled
- [--] Physical Memory : 31.3G
- [--] Max MySQL memory : 209.0G
- [--] Other process memory: 0B
- [--] Total buffers: 24.3G global + 18.9M per thread (10000 max threads)
- [--] P_S Max memory usage: 72B
- [--] Galera GCache Max memory usage: 0B
- [!!] Maximum reached memory usage: 30.0G (95.81% of installed RAM)
- [!!] Maximum possible memory usage: 209.0G (668.40% of installed RAM)
- [!!] Overall possible memory usage with other process exceeded memory
- [OK] Slow queries: 0% (12/397K)
- [OK] Highest usage of available connections: 3% (307/10000)
- [OK] Aborted connections: 0.00% (0/3452)
- [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
- [OK] Sorts requiring temporary tables: 3% (87 temp sorts / 2K sorts)
- [OK] No joins without indexes
- [OK] Temporary tables created on disk: 22% (2K on disk / 8K total)
- [OK] Thread cache hit rate: 91% (307 created / 3K connections)
- [OK] Table cache hit rate: 98% (386 open / 392 opened)
- [OK] table_definition_cache(400) is upper than number of tables(326)
- [OK] Open file limit used: 0% (57/50K)
- [OK] Table locks acquired immediately: 100% (1K immediate / 1K locks)
- -------- Performance schema ------------------------------------------------------------------------
- [--] Memory used by P_S: 72B
- [--] Sys schema isn't installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is enabled.
- [--] Thread Pool Size: 8 thread(s).
- [--] Using default value is good enough for your version (10.5.8-MariaDB-log)
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [!!] Key buffer used: 18.2% (24M used / 134M cache)
- [!!] Cannot calculate MyISAM index size - re-run script as root user
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 24.0G/8.0G
- [OK] Ratio InnoDB log file size / InnoDB Buffer pool size: 6.0G * 1/24.0G should be equal to 25%
- [--] Number of InnoDB Buffer Pool Chunk : 192 for 1 Buffer Pool Instance(s)
- [OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
- [OK] InnoDB Read buffer efficiency: 99.94% (46487799 hits/ 46516659 total)
- [!!] InnoDB Write Log efficiency: 663.58% (51713 hits/ 7793 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 59506 writes)
- -------- AriaDB Metrics ----------------------------------------------------------------------------
- [--] AriaDB is enabled.
- [OK] Aria pagecache size / total Aria indexes: 128.0M/336.0K
- [OK] Aria pagecache hit rate: 95.2% (702K cached / 33K reads)
- -------- TokuDB Metrics ----------------------------------------------------------------------------
- [--] TokuDB is disabled.
- -------- XtraDB Metrics ----------------------------------------------------------------------------
- [--] XtraDB is disabled.
- -------- Galera Metrics ----------------------------------------------------------------------------
- [--] Galera is disabled.
- -------- Replication Metrics -----------------------------------------------------------------------
- [--] Galera Synchronous replication: NO
- [--] No replication slave(s) for this server.
- [--] Binlog format: MIXED
- [--] XA support enabled: ON
- [--] Semi synchronous replication Master: OFF
- [--] Semi synchronous replication Slave: OFF
- [--] This is a standalone server
- -------- Recommendations ---------------------------------------------------------------------------
- General recommendations:
- Control warning line(s) into /var/log/mysql.log file
- Set up a Secure Password for mariadb.sys@localhost user: SET PASSWORD FOR 'mariadb.sys'@'SpecificDNSorIp' = PASSWORD('secure_password');
- Restrict Host for 'librenms'@% to librenms@SpecificDNSorIp
- UPDATE mysql.user SET host ='SpecificDNSorIp' WHERE user='librenms' AND host ='%'; FLUSH PRIVILEGES;
- MySQL was started within the last 24 hours - recommendations may be inaccurate
- Reduce your overall MySQL memory footprint for system stability
- Dedicate this server to your database for highest performance.
- Consider installing Sys schema from https://github.com/mysql/mysql-sys for MySQL
- Consider installing Sys schema from https://github.com/FromDual/mariadb-sys for MariaDB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement