Skip to main content

Mysqltuner tuning advice

Comments

4 comments

  • kernow
    MySQL uptime is only 39 minutes??? You can ignore the results. Wait at least 24 hours before running mysqltuner again. Check the database for this website for errors and correct and optimize using phpmyadmin.
    0
  • cPanelLauren
    Hi @Naila Did you have a chance to re-run the MySQL Tuner?
    0
  • Naila
    Hi @Naila Did you have a chance to re-run the MySQL Tuner?

    Hi @cPanelLauren Current result: [root@server71 ~]# ./mysqltuner.pl >> MySQLTuner 1.7.19 - Major Hayden >> 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 [OK] Currently running supported MySQL version 10.3.19-MariaDB [OK] Operating on 64-bit architecture -------- Storage Engine Statistics ----------------------------------------------------------------- [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE [--] Data in MyISAM tables: 1.4G (Tables: 80) [--] Data in InnoDB tables: 127.9M (Tables: 76) [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: 9h 5m 44s (32M q [977.561 qps], 54K conn, TX: 68G, RX: 3G) [--] Reads / Writes: 99% / 1% [--] Binary logging is disabled [--] Physical Memory : 31.1G [--] Max MySQL memory : 20.9G [--] Other process memory: 0B [--] Total buffers: 19.5G global + 2.9M per thread (500 max threads) [--] P_S Max memory usage: 0B [--] Galera GCache Max memory usage: 0B [OK] Maximum reached memory usage: 19.9G (64.08% of installed RAM) [OK] Maximum possible memory usage: 20.9G (67.26% of installed RAM) [OK] Overall possible memory usage with other process is compatible with memory available [OK] Slow queries: 0% (416/32M) [OK] Highest usage of available connections: 30% (151/500) [OK] Aborted connections: 0.01% (5/54759) [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines. [OK] Sorts requiring temporary tables: 0% (225 temp sorts / 2M sorts) [!!] Joins performed without indexes: 155 [!!] Temporary tables created on disk: 56% (462K on disk / 815K total) [OK] Thread cache hit rate: 99% (151 created / 54K connections) [OK] Table cache hit rate: 99% (863 open / 869 opened) [OK] table_definition_cache(9086) is upper than number of tables(421) [OK] Open file limit used: 0% (597/236K) [OK] Table locks acquired immediately: 99% (32M immediate / 32M locks) -------- Performance schema ------------------------------------------------------------------------ [--] Performance schema is disabled. [--] Memory used by P_S: 0B [--] Sys schema is installed. -------- ThreadPool Metrics ------------------------------------------------------------------------ [--] ThreadPool stat is enabled. [--] Thread Pool Size: 8 thread(s). [--] Using default value is good enough for your version (10.3.19-MariaDB) -------- MyISAM Metrics ---------------------------------------------------------------------------- [OK] Key buffer used: 94.9% (127M used / 134M cache) [OK] Key buffer size / total MyISAM indexes: 128.0M/231.6M [OK] Read Key buffer hit rate: 100.0% (3B cached / 100K reads) [!!] Write Key buffer hit rate: 25.7% (374K cached / 95K writes) -------- InnoDB Metrics ---------------------------------------------------------------------------- [--] InnoDB is enabled. [--] InnoDB Thread Concurrency: 0 [OK] InnoDB File per table is activated [OK] InnoDB buffer pool / data size: 19.0G/127.9M [OK] Ratio InnoDB log file size / InnoDB Buffer pool size: 2.0G * 2/19.0G should be equal to 25% [OK] InnoDB buffer pool instances: 19 [--] Number of InnoDB Buffer Pool Chunk : 152 for 19 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% (456846882 hits/ 456855345 total) [!!] InnoDB Write Log efficiency: 63.97% (26997 hits/ 42202 total) [OK] InnoDB log waits: 0.00% (0 waits / 15205 writes) -------- AriaDB Metrics ---------------------------------------------------------------------------- [--] AriaDB is enabled. [OK] Aria pagecache size / total Aria indexes: 128.0M/1B [OK] Aria pagecache hit rate: 99.5% (91M cached / 461K 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: 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). Temporary table size is already large - reduce result set size Reduce your SELECT DISTINCT queries without LIMIT clauses Performance schema should be activated for better diagnostics Variables to adjust: join_buffer_size (> 256.0K, or always use indexes with JOINs) performance_schema = ON enable PFS
    0
  • cPanelLauren
    Hello, Per this MySQL had only been up for 9 hours - you need to have it running for at least 24 hours to get accurate suggestions.
    MySQL was started within the last 24 hours - recommendations may be inaccurate

    0

Please sign in to leave a comment.