Question

"InnoDB is enabled but isn't being used"!

Hi there i just installed Nginx and MariaDB 10.1. then installed “mysqltuner” to check upon Mysql if is everything works fine. but mysqltuner Report About InnoDB is odd! first it says InnoDB is install with green, then it says it’s enabled but isnt being used!! what does it mean? i check mysql for check if InnoDB is installed or not and it says: ±---------------+ | SUPPORT | ±---------------+ | DEFAULT | ±---------------+ what should i do to active InnoDB? The result for mysqltuner is this: [–] Skipped version check for MySQLTuner script [OK] Currently running supported MySQL version 10.1.13-MariaDB [OK] Operating on 64-bit architecture

-------- Storage Engine Statistics ------------------------------------------- [–] Status: +Aria +CSV +InnoDB +MRG_MyISAM +SEQUENCE [!!] InnoDB is enabled but isn’t being used [OK] Total fragmented tables: 0

-------- Security Recommendations ------------------------------------------- [OK] There is no anonymous account in all database users [OK] All database users have passwords assigned [!!] There is not basic password file list !

-------- Performance Metrics ------------------------------------------------- [–] Up for: 28s (9 q [0.321 qps], 7 conn, TX: 20K, RX: 1K) [–] Reads / Writes: 100% / 0% [–] Binary logging is disabled [–] Total buffers: 425.0M global + 2.9M per thread (151 max threads) [!!] Maximum reached memory usage: 427.9M (87.49% of installed RAM) [!!] Maximum possible memory usage: 864.0M (176.65% of installed RAM) [OK] Slow queries: 0% (0/9) [OK] Highest usage of available connections: 0% (1/151) [!!] Aborted connections: 14.29% (1/7) [!!] Query cache is disabled [OK] Temporary tables created on disk: 0% (0 on disk / 2 total) [!!] Thread cache is disabled [OK] Table cache hit rate: 100% (11 open / 0 opened) [OK] Open file limit used: 0% (25/16K) [OK] Table locks acquired immediately: 100% (21 immediate / 21 locks)

-------- MyISAM Metrics ----------------------------------------------------- [!!] Key buffer used: 18.2% (24M used / 134M cache) [OK] Key buffer size / total MyISAM indexes: 128.0M/123.0K

-------- InnoDB Metrics ----------------------------------------------------- [–] InnoDB is disabled. [!!] InnoDB Storage engine is disabled. InnoDB is the default storage engine

-------- AriaDB Metrics ----------------------------------------------------- [–] AriaDB is disabled.

-------- Replication Metrics ------------------------------------------------- [–] No replication slave(s) for this server. [–] This is a standalone server…

-------- Recommendations ----------------------------------------------------- General recommendations: Add skip-innodb to MySQL configuration to disable InnoDB MySQL started within last 24 hours - recommendations may be inaccurate Reduce your overall MySQL memory footprint for system stability Reduce or eliminate unclosed connections and network issues Set thread_cache_size to 4 as a starting value Variables to adjust: *** MySQL’s maximum memory usage is dangerously high *** *** Add RAM before increasing MySQL buffer variables *** query_cache_type (=1) thread_cache_size (start at 4)


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

MySQL supports two types of database storage. MyISAM and InnoDB. This message indicates that while the InnoDB is working it is not being used because your databases are MyISAM.

You can find more information on the type database types here