mysqllinuxstorage-engines

Is it possible to compile MySQL from source without any or all of MyISAM, MERGE, MEMORY, or CSV engines.


Is it possible to compile MySQL from source without any or all of MyISAM, MERGE, MEMORY, or CSV storage engines.

The documentation at http://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html#option_cmake_storage_engine_options says that these storage engines are mandatory but then it also mentions about the -DWITHOUT_XXX_STORAGE_ENGINE=1 option.

Let me know if it is possible to exclude any of these storage engines directly or through any tweak in the source code. Also, I am unable to figure how to use -DWITHOUT_XXX_STORAGE_ENGINE=1 option. I am building the source code through the command

`BUILD/compile-pentium-debug`

`make install`

from the MySQL source code parent directory.


Solution

  • MyISAM is absolutely mandatory in the code base; it's used for the internal system-tables (which MySQL will not start without) and also used for internal temporary tables used in some types of queries. You can't avoid it.

    Even the (major) fork Drizzle has been unable to completely eliminate MyISAM