Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> MySQLTuner 1.7.4 - Major Hayden <[email protected]>
- >> 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: ...
- Please enter your MySQL administrative password: [OK] Currently running supported MySQL version 10.2.9-MariaDB-10.2.9+maria~xenial-log
- [OK] Operating on 64-bit architecture
- -------- Log file Recommendations ------------------------------------------------------------------
- [--] Log file: /var/lib/mysql/danforth.err(0B)
- [!!] Log file /var/lib/mysql/danforth.err doesn't exist
- [!!] Log file /var/lib/mysql/danforth.err isn't readable.
- -------- Storage Engine Statistics -----------------------------------------------------------------
- [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
- [--] Data in InnoDB tables: 69M (Tables: 135)
- [--] Data in MyISAM tables: 6M (Tables: 80)
- [OK] Total fragmented tables: 0
- -------- 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: 1m 46s (87K q [822.066 qps], 827 conn, TX: 467M, RX: 39M)
- [--] Reads / Writes: 97% / 3%
- [--] Binary logging is enabled (GTID MODE: OFF)
- [--] Physical Memory : 992.2M
- [--] Max MySQL memory : 1.3G
- [--] Other process memory: 199.9M
- [--] Total buffers: 616.0M global + 7.5M per thread (100 max threads)
- [--] P_S Max memory usage: 0B
- [--] Galera GCache Max memory usage: 0B
- [OK] Maximum reached memory usage: 661.2M (66.64% of installed RAM)
- [!!] Maximum possible memory usage: 1.3G (138.03% of installed RAM)
- [!!] Overall possible memory usage with other process exceeded memory
- [OK] Slow queries: 0% (0/87K)
- [OK] Highest usage of available connections: 6% (6/100)
- [OK] Aborted connections: 0.12% (1/827)
- [!!] 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: 48.8% (79K cached / 162K selects)
- [OK] Query cache prunes per day: 0
- [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 920 sorts)
- [!!] Joins performed without indexes: 10
- [!!] Temporary tables created on disk: 26% (50 on disk / 187 total)
- [OK] Thread cache hit rate: 99% (6 created / 827 connections)
- [OK] Table cache hit rate: 84% (400 open / 474 opened)
- [OK] Open file limit used: 0% (22/16K)
- [OK] Table locks acquired immediately: 100% (4K immediate / 4K locks)
- [OK] Binlog cache memory access: 100.00% (8 Memory / 8 Total)
- -------- Performance schema ------------------------------------------------------------------------
- [--] Performance schema is disabled.
- [--] Memory used by P_S: 0B
- [--] Sys schema isn't installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is enabled.
- [--] Thread Pool Size: 1 thread(s).
- [--] Using default value is good enough for your version (10.2.9-MariaDB-10.2.9+maria~xenial-log)
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [!!] Key buffer used: 18.3% (24M used / 134M cache)
- [OK] Key buffer size / total MyISAM indexes: 128.0M/3.0M
- [OK] Read Key buffer hit rate: 99.0% (4K cached / 44 reads)
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 256.0M/69.8M
- [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (37.5 %): 48.0M * 2/256.0M should be equal 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.96% (10857044 hits/ 10861270 total)
- [!!] InnoDB Write Log efficiency: 133.33% (4 hits/ 3 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 7 writes)
- -------- AriaDB Metrics ----------------------------------------------------------------------------
- [--] AriaDB is enabled.
- [OK] Aria pagecache size / total Aria indexes: 128.0M/1B
- [OK] Aria pagecache hit rate: 100.0% (13K cached / 2 reads)
- -------- TokuDB Metrics ----------------------------------------------------------------------------
- [--] TokuDB is disabled.
- -------- XtraDB Metrics ----------------------------------------------------------------------------
- [--] XtraDB is disabled.
- -------- RocksDB Metrics ---------------------------------------------------------------------------
- [--] RocksDB is disabled.
- -------- Spider Metrics ----------------------------------------------------------------------------
- [--] Spider is disabled.
- -------- Connect Metrics ---------------------------------------------------------------------------
- [--] Connect is disabled.
- -------- Galera Metrics ----------------------------------------------------------------------------
- [--] Galera is disabled.
- -------- Replication Metrics -----------------------------------------------------------------------
- [--] Galera Synchronous replication: NO
- [--] No replication slave(s) for this server.
- [--] This is a standalone server.
- -------- Recommendations ---------------------------------------------------------------------------
- General recommendations:
- MySQL started within 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.
- 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
- When making adjustments, make tmp_table_size/max_heap_table_size equal
- Reduce your SELECT DISTINCT queries which have no LIMIT clause
- Performance should be activated for better diagnostics
- Consider installing Sys schema from https://github.com/mysql/mysql-sys
- Read this before changing innodb_log_file_size and/or innodb_log_files_in_group: http://bit.ly/2wgkDvS
- Variables to adjust:
- *** MySQL's maximum memory usage is dangerously high ***
- *** Add RAM before increasing MySQL buffer variables ***
- query_cache_size (=0)
- query_cache_type (=0)
- join_buffer_size (> 256.0K, or always use indexes with joins)
- tmp_table_size (> 32M)
- max_heap_table_size (> 32M)
- performance_schema = ON enable PFS
- 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