This is a fork of mariadb-columnstore-docker maintained by Vettabase. The aim of this fork is to keep an updated version of MariaDB Community edition with Columnstore and the S3 engine for use by the community and production installations.
The official MariaDB docker currently does not support Columnstore of the S3 engine, an issue is already open to get this resolved.
Another ticket has been raised to update the current Columnstore image, but we feel like it is not suitable for container deployment or orchestration.
Some usage examples are documented below, and in the examples/
directory.
MariaDB ColumnStore is a columnar storage engine that utilizes a massively parallel distributed data architecture. It was built by porting InfiniDB to MariaDB and has been released under the GPL license.
MariaDB ColumnStore is designed for big data scaling to process petabytes of data, linear scalability and exceptional performance with real-time response to analytical queries. It leverages the I/O benefits of columnar storage, compression, just-in-time projection, and horizontal and vertical partitioning to deliver tremendous performance when analyzing large data sets.
To start the container from the Dockerfile:
docker run -d -e MARIADB_RANDOM_ROOT_PASSOWRD --name mcs vettadock/mariadb-columnstore
To start using mariadb
CLI client:
docker exec -ti mcs mariadb
To run a query in a non-interactive fashion from the host:
docker exec -ti mcs mariadb -e "SHOW SCHEMAS;"
To take a logical backup and write it into a file outside of the container:
docker exec -ti mcs mariadb-dump --all-databases --single-transaction > backup.sql
docker run -d -P 3307:3306 -v path/to/data:/var/lib/mysql vettadock/mariadb-columnstore-docker
docker run -d -e S3_X -e S3_Y -e S3_Z vettadock/mariadb-columnstore-docker
cd examples
docker compose up -d
docker run -d minio/minio
docker run -d -e S3_X -e S3_Y -e S3_Z vettadock/mariadb-columnstore-docker
s3.amazonaws.com
, also sets endpoint
in columnstore Storage Manager. Required when using services such as MinIO.0
cross_engine_joiner
.pwgen
.TO DO:
This is a Vettabase project.
This project was originally developed and is currently maintained by Richard Bensley richard.bensley@vettabase.com.
Anyone who makes a relevant contribution to this project will be kudoed here, unless they ask not to be mentioned.
Copyright © Vettabase 2024
This project is distributed under the terms of the GPL, version 3.
If you haven't received a copy of the license, please find it here: https://www.gnu.org/licenses/gpl-3.0.txt