Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> 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 5.7.28-0ubuntu0.16.04.2
- [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 MyISAM tables: 6.3M (Tables: 76)
- [--] Data in InnoDB tables: 82.3M (Tables: 293)
- [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
- [OK] All database users have passwords assigned
- [--] Bug #80860 MySQL 5.7: Avoid testing password when validate_password is activated
- -------- CVE Security Recommendations --------------------------------------------------------------
- [--] Skipped due to --cvefile option undefined
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 3h 17m 22s (8K q [0.694 qps], 446 conn, TX: 11M, RX: 1M)
- [--] Reads / Writes: 97% / 3%
- [--] Binary logging is disabled
- [--] Physical Memory : 7.7G
- [--] Max MySQL memory : 352.4M
- [--] Other process memory: 0B
- [--] Total buffers: 192.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: 196.3M (2.48% of installed RAM)
- [OK] Maximum possible memory usage: 352.4M (4.45% of installed RAM)
- [OK] Overall possible memory usage with other process is compatible with memory available
- [OK] Slow queries: 0% (0/8K)
- [OK] Highest usage of available connections: 2% (4/151)
- [OK] Aborted connections: 0.90% (4/446)
- [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
- [!!] Query cache may be disabled by default due to mutex contention.
- [!!] Query cache efficiency: 0.0% (0 cached / 6K selects)
- [OK] Query cache prunes per day: 0
- [OK] Sorts requiring temporary tables: 0% (4 temp sorts / 695 sorts)
- [!!] Joins performed without indexes: 48
- [OK] Temporary tables created on disk: 25% (285 on disk / 1K total)
- [OK] Thread cache hit rate: 99% (4 created / 446 connections)
- [OK] Table cache hit rate: 62% (319 open / 507 opened)
- [!!] table_definition_cache(615) is lower than number of tables(662)
- [OK] Open file limit used: 1% (17/1K)
- [OK] Table locks acquired immediately: 100% (194 immediate / 194 locks)
- -------- Performance schema ------------------------------------------------------------------------
- [--] Memory used by P_S: 72B
- [--] Sys schema is installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is disabled.
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [!!] Key buffer used: 18.3% (3M used / 16M cache)
- [OK] Key buffer size / total MyISAM indexes: 16.0M/674.0K
- [!!] Read Key buffer hit rate: 90.5% (74 cached / 7 reads)
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 128.0M/82.3M
- [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (75 %): 48.0M * 2/128.0M should be equal to 25%
- [OK] InnoDB buffer pool instances: 1
- [--] Number of InnoDB Buffer Pool Chunk : 1 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: 100.00% (29931093 hits/ 29932456 total)
- [OK] InnoDB Write log efficiency: 91.50% (2282 hits/ 2494 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 212 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:
- MySQL was started within the last 24 hours - recommendations may be inaccurate
- 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:
- query_cache_size (=0)
- query_cache_type (=0)
- query_cache_limit (> 1M, or use smaller result sets)
- join_buffer_size (> 256.0K, or always use indexes with JOINs)
- table_definition_cache(615) > 662 or -1 (autosizing if supported)
- innodb_log_file_size should be (=16M) 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