Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------- Storage Engine Statistics -----------------------------------------------------------------
- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA
- [--] Data in MyISAM tables: 533.5M (Tables: 9)
- [--] Data in InnoDB tables: 228.8M (Tables: 47)
- [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
- [!!] There is no basic password file list!
- -------- CVE Security Recommendations --------------------------------------------------------------
- [--] Skipped due to --cvefile option undefined
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 19h 5m 27s (9M q [133.395 qps], 1M conn, TX: 1G, RX: 565M)
- [--] Reads / Writes: 86% / 14%
- [--] Binary logging is disabled
- [--] Physical Memory : 31.3G
- [--] Max MySQL memory : 22.6G
- [--] Other process memory: 1.2G
- [--] Total buffers: 1.6G global + 14.4M per thread (1500 max threads)
- [--] P_S Max memory usage: 72B
- [--] Galera GCache Max memory usage: 0B
- [OK] Maximum reached memory usage: 1.9G (6.17% of installed RAM)
- [OK] Maximum possible memory usage: 22.6G (72.14% of installed RAM)
- [OK] Overall possible memory usage with other process is compatible with memory available
- [OK] Slow queries: 0% (0/9M)
- [OK] Highest usage of available connections: 1% (27/1500)
- [OK] Aborted connections: 0.03% (406/1315684)
- [!!] 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.
- [OK] Query cache efficiency: 26.5% (422K cached / 1M selects)
- [OK] Query cache prunes per day: 0
- [OK] Sorts requiring temporary tables: 0% (60 temp sorts / 22K sorts)
- [!!] Joins performed without indexes: 245
- [OK] Temporary tables created on disk: 2% (1K on disk / 60K total)
- [OK] Thread cache hit rate: 99% (27 created / 1M connections)
- [!!] Table cache hit rate: 9% (1K open / 19K opened)
- [OK] Open file limit used: 2% (232/10K)
- [!!] Table locks acquired immediately: 68%
- -------- Performance schema ------------------------------------------------------------------------
- [--] Memory used by P_S: 72B
- [--] Sys schema is installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is disabled.
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [!!] Key buffer used: 33.8% (127M used / 377M cache)
- [OK] Key buffer size / total MyISAM indexes: 360.0M/311.0M
- [OK] Read Key buffer hit rate: 99.3% (4M cached / 34K reads)
- [!!] Write Key buffer hit rate: 81.6% (1M cached / 1M writes)
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 1.0G/228.8M
- [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (9.375 %): 48.0M * 2/1.0G should be equal 25%
- [OK] InnoDB buffer pool instances: 1
- [--] Number of InnoDB Buffer Pool Chunk : 8 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% (1783827282 hits/ 1783833972 total)
- [!!] InnoDB Write Log efficiency: 78.61% (138413 hits/ 176074 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 314487 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:
- /var/log/mysqld.log is > 32Mb, you should analyze why or implement a rotation log strategy such as logrotate!
- Control warning line(s) into /var/log/mysqld.log file
- Control error line(s) into /var/log/mysqld.log file
- Restrict Host for user@% to user@SpecificDNSorIp
- 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
- Adjust your join queries to always utilize indexes
- Increase table_open_cache gradually to avoid file descriptor limits
- Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C
- Read this before increasing for MariaDB https://mariadb.com/kb/en/library/optimizing-table_open_cache/
- This is MyISAM only table_cache scalability problem, InnoDB not affected.
- See more details here: https://bugs.mysql.com/bug.php?id=49177
- This bug already fixed in MySQL 5.7.9 and newer MySQL versions.
- Beware that open_files_limit (10000) variable
- should be greater than table_open_cache (2000)
- Optimize queries and/or use InnoDB to reduce lock wait
- Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: http://bit.ly/2wgkDvS
- Variables to adjust:
- query_cache_size (=0)
- query_cache_type (=0)
- join_buffer_size (> 12.0M, or always use indexes with JOINs)
- table_open_cache (> 2000)
- innodb_log_file_size should be (=128M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
Add Comment
Please, Sign In to add comment