Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [--] Skipped version check for MySQLTuner script
- [OK] Logged in using credentials from debian maintenance account.
- [OK] Currently running supported MySQL version 10.4.6-MariaDB-1:10.4.6+maria~bionic-log
- [OK] Operating on 64-bit architecture
- -------- Log file Recommendations ------------------------------------------------------------------
- [--] Log file: /var/lib/mysql/web-db-instance-new.err(0B)
- [!!] Log file /var/lib/mysql/web-db-instance-new.err doesn't exist
- [!!] Log file /var/lib/mysql/web-db-instance-new.err isn't readable.
- -------- Storage Engine Statistics -----------------------------------------------------------------
- [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
- [--] Data in InnoDB tables: 1G (Tables: 361)
- [--] Data in MyISAM tables: 1G (Tables: 269)
- [OK] Total fragmented tables: 0
- -------- Security Recommendations ------------------------------------------------------------------
- [OK] There are no anonymous accounts for any database users
- [OK] All database users have passwords assigned
- [!!] User 'finansialku@%' hasn't specific host restriction.
- [!!] There is no basic password file list!
- -------- CVE Security Recommendations --------------------------------------------------------------
- [--] Skipped due to --cvefile option undefined
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 5d 1h 39m 27s (209M q [478.483 qps], 1M conn, TX: 15874G, RX: 96G)
- [--] Reads / Writes: 97% / 3%
- [--] Binary logging is enabled (GTID MODE: OFF)
- [--] Physical Memory : 14.2G
- [--] Max MySQL memory : 8.6G
- [--] Other process memory: 150.1M
- [--] Total buffers: 7.4G global + 3.1M per thread (400 max threads)
- [--] P_S Max memory usage: 0B
- [--] Galera GCache Max memory usage: 0B
- [OK] Maximum reached memory usage: 7.9G (55.51% of installed RAM)
- [OK] Maximum possible memory usage: 8.6G (60.63% of installed RAM)
- [OK] Overall possible memory usage with other process is compatible with memory available
- [OK] Slow queries: 4% (8M/209M)
- [OK] Highest usage of available connections: 39% (157/400)
- [OK] Aborted connections: 0.03% (515/1797078)
- [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
- [OK] Sorts requiring temporary tables: 0% (2K temp sorts / 39M sorts)
- [!!] Joins performed without indexes: 4552
- [!!] Temporary tables created on disk: 80% (7M on disk / 9M total)
- [OK] Thread cache hit rate: 99% (157 created / 1M connections)
- [!!] Table cache hit rate: 14% (544 open / 3K opened)
- [OK] Open file limit used: 21% (426/2K)
- [OK] Table locks acquired immediately: 97% (203M immediate / 207M locks)
- [OK] Binlog cache memory access: 100.00% (69525 Memory / 69525 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: 6 thread(s).
- [--] Using default value is good enough for your version (10.4.6-MariaDB-1:10.4.6+maria~bionic-log)
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [OK] Key buffer used: 100.0% (16M used / 16M cache)
- [OK] Key buffer size / total MyISAM indexes: 16.0M/133.7M
- [OK] Read Key buffer hit rate: 99.6% (15B cached / 69M reads)
- [!!] Write Key buffer hit rate: 89.3% (10M cached / 9M writes)
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 7.0G/2.0G
- [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (14.2857142857143 %): 512.0M * 2/7.0G should be equal 25%
- [OK] InnoDB buffer pool instances: 7
- [--] Number of InnoDB Buffer Pool Chunk : 56 for 7 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% (3453146584 hits/ 3453212436 total)
- [!!] InnoDB Write Log efficiency: 16.09% (17078 hits/ 106170 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 123248 writes)
- -------- AriaDB Metrics ----------------------------------------------------------------------------
- [--] AriaDB is enabled.
- [OK] Aria pagecache size / total Aria indexes: 128.0M/296.0K
- [OK] Aria pagecache hit rate: 99.4% (1B cached / 6M 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:
- Restrict Host for user@% to user@SpecificDNSorIp
- Adjust your join queries to always utilize indexes
- Temporary table size is already large - reduce result set size
- Reduce your SELECT DISTINCT queries without LIMIT clauses
- Increase table_open_cache gradually to avoid file descriptor limits
- Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C
- Beware that open_files_limit (2005) variable
- should be greater than table_open_cache (550)
- 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:
- join_buffer_size (> 256.0K, or always use indexes with joins)
- table_open_cache (> 550)
- performance_schema = ON enable PFS
- innodb_log_file_size should be (=896M) 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