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

StackOverflow https://stackoverflow.com/questions/11808971

  •  24-06-2021
  •  | 
  •  

Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top