Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> MySQLTuner 1.7.19 - Major Hayden <major@mhtx.net>
- >> Bug reports, feature requests, and downloads at http://mysqltuner.com/
- >> Run with '--help' for additional options and output filtering
- [--] Skipped version check for MySQLTuner script
- Please enter your MySQL administrative login: root
- Please enter your MySQL administrative password: [OK] Currently running supported MySQL version 8.0.18
- [OK] Operating on 64-bit architecture
- -------- Log file Recommendations ------------------------------------------------------------------
- [OK] Log file /var/log/mysql/error.log exists
- [--] Log file: /var/log/mysql/error.log(0B)
- [OK] Log file /var/log/mysql/error.log is readable.
- [!!] Log file /var/log/mysql/error.log is empty
- [OK] Log file /var/log/mysql/error.log is smaller than 32 Mb
- [OK] /var/log/mysql/error.log doesn't contain any warning.
- [OK] /var/log/mysql/error.log doesn't contain any error.
- [--] 0 start(s) detected in /var/log/mysql/error.log
- [--] 0 shutdown(s) detected in /var/log/mysql/error.log
- -------- Storage Engine Statistics -----------------------------------------------------------------
- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA
- [--] Data in InnoDB tables: 6.5M (Tables: 51)
- [OK] Total fragmented tables: 0
- -------- Analysis Performance Metrics --------------------------------------------------------------
- [--] innodb_stats_on_metadata: OFF
- [OK] No stat updates during querying INFORMATION_SCHEMA.
- -------- Security Recommendations ------------------------------------------------------------------
- [--] Skipped due to unsupported feature for MySQL 8
- -------- CVE Security Recommendations --------------------------------------------------------------
- [--] Skipped due to --cvefile option undefined
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 5d 22h 52m 14s (490K q [0.953 qps], 17K conn, TX: 670M, RX: 159M)
- [--] Reads / Writes: 84% / 16%
- [--] Binary logging is enabled (GTID MODE: OFF)
- [--] Physical Memory : 1.9G
- [--] Max MySQL memory : 469.4M
- [--] Other process memory: 0B
- [--] Total buffers: 296.0M global + 1.1M per thread (151 max threads)
- [--] P_S Max memory usage: 72B
- [--] Galera GCache Max memory usage: 0B
- [OK] Maximum reached memory usage: 304.0M (15.31% of installed RAM)
- [OK] Maximum possible memory usage: 469.4M (23.64% of installed RAM)
- [OK] Overall possible memory usage with other process is compatible with memory available
- [OK] Slow queries: 0% (0/490K)
- [OK] Highest usage of available connections: 4% (7/151)
- [!!] Aborted connections: 8.35% (1461/17507)
- [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
- [--] Query cache have been removed in MySQL 8
- [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 71K sorts)
- [!!] Joins performed without indexes: 5996
- [OK] Temporary tables created on disk: 0% (0 on disk / 28K total)
- [OK] Thread cache hit rate: 99% (7 created / 17K connections)
- [OK] Table cache hit rate: 90% (747 open / 827 opened)
- [OK] table_definition_cache(2000) is upper than number of tables(355)
- [OK] Open file limit used: 0% (2/10K)
- [OK] Table locks acquired immediately: 100% (4 immediate / 4 locks)
- [OK] Binlog cache memory access: 98.78% (41607 Memory / 42119 Total)
- -------- Performance schema ------------------------------------------------------------------------
- [--] Memory used by P_S: 72B
- [--] Sys schema is installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is disabled.
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [--] MyISAM Metrics are disabled on last MySQL versions.
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 256.0M/6.5M
- [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (78.125 %): 100.0M * 2/256.0M should be equal to 25%
- [OK] InnoDB buffer pool instances: 1
- [--] Number of InnoDB Buffer Pool Chunk : 2 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.98% (10569308 hits/ 10571046 total)
- [!!] InnoDB Write Log efficiency: 51.16% (199015 hits/ 389005 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 189990 writes)
- -------- AriaDB Metrics ----------------------------------------------------------------------------
- [--] AriaDB is disabled.
- -------- 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: ROW
- [--] XA support enabled: ON
- [--] Semi synchronous replication Master: Not Activated
- [--] Semi synchronous replication Slave: Not Activated
- [--] This is a standalone server
- -------- Recommendations ---------------------------------------------------------------------------
- General recommendations:
- Reduce or eliminate unclosed connections and network issues
- Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
- We will suggest raising the 'join_buffer_size' until JOINs not using indexes are found.
- See https://dev.mysql.com/doc/internals/en/join-buffer-size.html
- (specially the conclusions at the bottom of the page).
- Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: https://bit.ly/2TcGgtU
- Variables to adjust:
- join_buffer_size (> 256.0K, or always use indexes with JOINs)
- 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