← Back to team overview

maria-discuss team mailing list archive

Re: build minimized MariaDB 10.0.x

 



Am 19.01.2015 um 20:25 schrieb Reindl Harald:
In 10.1 this is fixed in the sense that plugin configuration is now done
with PLUGIN_xxx variables. They show up in help, and they are sorted
separately, not intermixed with other WITH_xxx variables, like
WITH_EMBEDDED_SERVER or WITH_SAFEMALLOC

thanks for feedback

can you refer to some docs for that or give examples?
currently i have 3 choices in mind

-DWITH_MROONGA_STORAGE_ENGINE=OFF \
-DPLUGIN_MROONGA_STORAGE_ENGINE=OFF \
-DPLUGIN_MROONGA=OFF \

https://mariadb.com/kb/en/mariadb/documentation/getting-started/compiling-mariadb-from-source/generic-build-instructions/
is not really helpful at all 8also with 5.5)

uhm i missed the "10.1" which is out of question at all
https://mariadb.com/kb/en/mariadb/documentation/getting-started/compiling-mariadb-from-source/compiling-mariadb-with-extra-modulesoptions/specifying-which-plugins-to-build/

MariaDB starting with 5.5
cmake -DWITHOUT_OQGRAPH=1

MariaDB starting with 10.1
cmake -DPLUGIN_OQGRAPH=NO

so my *guess* is leave "XTRADB" and "PARTITION" untouched (while i have no use for partitioning at all but without in the past a ton of tests failed writing the disk full) and use

 -DWITHOUT_ARCHIVE=1
 -DWITHOUT_BLACKHOLE=1
 -DWITHOUT_SPHINX=1
 -DWITHOUT_MROONGA=1
 -DWITHOUT_OQGRAPH=1
 -DWITHOUT_SPIDER=1
 -DWITHOUT_CASSANDRA=1

still unsure if the both should not be there for *builtin* instead loadable - frankly that's all a mess with too much guessing

 -DWITH_XTRADB_STORAGE_ENGINE=ON \
 -DWITH_PARTITION_STORAGE_ENGINE=ON \
________________________________________________________

   -DWITH_XTRADB_STORAGE_ENGINE=ON \
   -DWITH_PARTITION_STORAGE_ENGINE=ON \
   -DWITH_ARCHIVE_STORAGE_ENGINE=OFF \
   -DWITH_BLACKHOLE_STORAGE_ENGINE=OFF \
   -DWITH_SPHINX_STORAGE_ENGINE=OFF \
   -DWITH_MROONGA_STORAGE_ENGINE=OFF \
   -DWITH_OQGRAPH_STORAGE_ENGINE=OFF \
   -DWITH_SPIDER_STORAGE_ENGINE=OFF \
   -DWITH_CASSANDRA_STORAGE_ENGINE=OFF \


Attachment: signature.asc
Description: OpenPGP digital signature


References