> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/server-management/install-and-upgrade-mariadb/compiling-mariadb-from-source/compiling-mariadb-with-extra-modulesoptions.md).

# Compiling MariaDB with Extra Modules/Options

{% columns %}
{% column %}
{% content-ref url="/pages/J4CzbcfRi3mLWSba7hhM" %}
[Specifying Which Plugins to Build](/docs/server/server-management/install-and-upgrade-mariadb/compiling-mariadb-from-source/compiling-mariadb-with-extra-modulesoptions/specifying-which-plugins-to-build.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Explains how to use CMake options like `PLUGIN_xxx` to control which plugins are built statically, dynamically, or not at all during compilation.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/Vg6HsUMhel7QY0X2PBFO" %}
[Using MariaDB with TCMalloc or jemalloc](/docs/server/server-management/install-and-upgrade-mariadb/compiling-mariadb-from-source/compiling-mariadb-with-extra-modulesoptions/using-mariadb-with-tcmalloc-or-jemalloc.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Instructions on building and configuring MariaDB to use alternative memory allocators like TCMalloc or jemalloc for improved performance and profiling.
{% endcolumn %}
{% endcolumns %}
