Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------------------------------------
- MySQLTunner
- >> MySQLTuner 1.9.4
- * Jean-Marie Renouard <[email protected]>
- * Major Hayden <[email protected]>
- >> Bug reports, feature requests, and downloads at http://mysqltuner.pl/
- >> Run with '--help' for additional options and output filtering
- [--] Skipped version check for MySQLTuner script
- [OK] Logged in using credentials from Debian maintenance account.
- [OK] Currently running supported MySQL version 10.3.31-MariaDB-0+deb10u1-log
- [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)
- [--] Log file /var/log/mysql/error.log is empty. Assuming log-rotation. Use --server-log={file} for explicit file
- -------- Storage Engine Statistics -----------------------------------------------------------------
- [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
- [--] Data in InnoDB tables: 3.2G (Tables: 124)
- [OK] Total fragmented tables: 0
- -------- Analysis Performance Metrics --------------------------------------------------------------
- [--] innodb_stats_on_metadata: OFF
- [OK] No stat updates during querying INFORMATION_SCHEMA.
- -------- Views Metrics -----------------------------------------------------------------------------
- -------- Triggers Metrics --------------------------------------------------------------------------
- -------- Routines Metrics --------------------------------------------------------------------------
- -------- Security Recommendations ------------------------------------------------------------------
- [--] Skipped due to --skippassword option
- -------- CVE Security Recommendations --------------------------------------------------------------
- [--] Skipped due to --cvefile option undefined
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 35d 21h 4m 32s (270M q [87.241 qps], 34M conn, TX: 1705G, RX: 65G)
- [--] Reads / Writes: 72% / 28%
- [--] Binary logging is disabled
- [--] Physical Memory : 31.4G
- [--] Max MySQL memory : 97.1G
- [--] Other process memory: 0B
- [--] Total buffers: 6.7G global + 46.3M per thread (2000 max threads)
- [--] P_S Max memory usage: 0B
- [--] Galera GCache Max memory usage: 0B
- [--] Global Buffers
- [--] +-- Key Buffer: 35.0M
- [--] +-- Max Tmp Table: 500.0M
- [--] Query Cache Buffers
- [--] +-- Query Cache: OFF - DISABLED
- [--] +-- Query Cache Size: 0B
- [--] Per Thread Buffers
- [--] +-- Read Buffer: 2.0M
- [--] +-- Read RND Buffer: 16.0M
- [--] +-- Sort Buffer: 8.0M
- [--] +-- Thread stack: 292.0K
- [--] +-- Join Buffer: 4.0M
- [!!] Maximum reached memory usage: 55.3G (176.00% of installed RAM)
- [!!] Maximum possible memory usage: 97.1G (309.18% of installed RAM)
- [!!] Overall possible memory usage with other process exceeded memory
- [OK] Slow queries: 0% (14K/270M)
- [OK] Highest usage of available connections: 53% (1075/2000)
- [OK] Aborted connections: 0.00% (0/34587654)
- [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
- [OK] Sorts requiring temporary tables: 0% (13 temp sorts / 18M sorts)
- [OK] No joins without indexes
- [OK] Temporary tables created on disk: 0% (42K on disk / 19M total)
- [OK] Thread cache hit rate: 98% (443K created / 34M connections)
- [OK] Table cache hit rate: 99% (458M hits / 458M requests)
- [OK] table_definition_cache(2000) is upper than number of tables(285)
- [OK] Open file limit used: 0% (85/1M)
- [OK] Table locks acquired immediately: 100% (6K immediate / 6K locks)
- -------- Performance schema ------------------------------------------------------------------------
- [--] Performance schema is disabled.
- [!!] Performance_schema should be activated.
- [--] Sys schema isn't installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is disabled.
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [!!] Key buffer used: 18.2% (6.4M used / 35.0M cache)
- [OK] Key buffer size / total MyISAM indexes: 35.0M/124.0K
- [OK] Read Key buffer hit rate: 99.2% (7K cached / 60 reads)
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Buffers
- [--] +-- InnoDB Buffer Pool: 6.0G
- [--] +-- InnoDB Buffer Pool Instances: 6
- [--] +-- InnoDB Buffer Pool Chunk Size: 128.0M
- [--] +-- InnoDB Log File Size: 512.0M
- [--] +-- InnoDB Log File In Group: 3
- [--] +-- InnoDB Total Log File Size: 1.5G(25 % of buffer pool)
- [--] +-- InnoDB Log Buffer: 16.0M
- [--] +-- InnoDB Log Buffer Free: 188.8K
- [--] +-- InnoDB Log Buffer Used: 384.0K
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 6.0G/3.2G
- [OK] Ratio InnoDB log file size / InnoDB Buffer pool size: 512.0M * 3/6.0G should be equal to 25%
- [OK] InnoDB buffer pool instances: 6
- [--] Number of InnoDB Buffer Pool Chunk : 48 for 6 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% (82198890975 hits/ 82199025289 total)
- [!!] InnoDB Write Log efficiency: 35.16% (9674943 hits/ 27517030 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 37191973 writes)
- -------- Aria Metrics ------------------------------------------------------------------------------
- [--] Aria Storage Engine is enabled.
- [OK] Aria pagecache size / total Aria indexes: 128.0M/0B
- [OK] Aria pagecache hit rate: 99.9% (51M cached / 41K reads)
- -------- 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: MIXED
- [--] XA support enabled: ON
- [--] Semi synchronous replication Master: OFF
- [--] Semi synchronous replication Slave: OFF
- [--] This is a standalone server
- -------- Recommendations ---------------------------------------------------------------------------
- General recommendations:
- Reduce your overall MySQL memory footprint for system stability
- Dedicate this server to your database for highest performance.
- Performance schema should be activated for better diagnostics
- Consider installing Sys schema from https://github.com/mysql/mysql-sys for MySQL
- Variables to adjust:
- *** MySQL's maximum memory usage is dangerously high ***
- *** Add RAM before increasing MySQL buffer variables ***
- performance_schema=ON
- key_buffer_size (~ 6M)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement