Building ColumnStore from Source
Build MariaDB ColumnStore from source for development and debugging. Check out the MariaDB server source with submodules, then build and install ColumnStore with the bootstrap_mcs.sh script.
This page describes how to build MariaDB ColumnStore from source, for development and debugging.
Supported Distributions
The build script supports the following Linux distributions:
Ubuntu 20.04, 22.04, and 24.04
Debian 11 and 12
Rocky Linux 8 and 9
Get the Source Code
Clone the MariaDB server repository. Use SSH:
git clone git@github.com:MariaDB/server.gitOr HTTPS:
git clone https://github.com/MariaDB/server.gitThe server repository contains many git submodules, including ColumnStore. Check them out:
cd server
git submodule update --init --recursiveThis also checks out the ColumnStore source at storage/columnstore/columnstore.
To build a specific ColumnStore branch, check it out in the submodule:
Build and Install
The bootstrap_mcs.sh script builds and installs ColumnStore into your system. Run it from the ColumnStore submodule directory:
The --install-deps flag installs the build dependencies before compiling.
To select the build type, pass --build-type with Debug or RelWithDebInfo:
Build Native OS Packages
To build native OS packages (.rpm or .deb) instead of installing directly, add --build-packages:
The resulting packages are written to the build directory.
For the full list of options, run the script with --help or read build/bootstrap_mcs.sh directly.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

