Code Monkey home page Code Monkey logo

mariadb-columnstore-docker's Introduction

MariaDB

Columnstore Docker Project

Summary

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.

Requirements

Please install the following software packages before you begin.

Docker Run Instructions (Single Node)

docker run -d -p 3307:3306 --shm-size=512m -e PM1=mcs1 --hostname=mcs1 --name mcs1 mariadb/columnstore
docker exec -it mcs1 provision mcs1
Waiting for PM1 To Be Initialized .. done
Adding PM(s) To Cluster ... done
Restarting Cluster ... done
Validating ColumnStore Engine ... done

Run Variables

Variable Type Default Required
ADMIN_HOST String % No
ADMIN_PASS String C0lumnStore! No
ADMIN_USER String Admin No
CEJ_PASS String C0lumnStore! No
CEJ_USER String cej No
CGROUP String ./ Yes
CMAPI_KEY String somekey123 No
PM1 Hostname - Yes
S3_ACCESS_KEY_ID String None No
S3_BUCKET String None No
S3_ENDPOINT URL None No
S3_REGION String None No
S3_SECRET_ACCESS_KEY String None No
USE_S3_STORAGE Boolean false No

Docker Compose Instructions (Cluster)

git clone https://github.com/mariadb-corporation/mariadb-columnstore-docker
cd mariadb-columnstore-docker
cp .env_example .env
  • Edit .env with your custom settings
docker compose up -d
docker exec -it mcs1 provision mcs1 mcs2 mcs3
Waiting for PM1 To Be Initialized .... done
Adding PM(s) To Cluster ... done
Restarting Cluster ... done
Validating ColumnStore Engine ... done

Custom Build Instructions (Optional)

git clone https://github.com/mariadb-corporation/mariadb-columnstore-docker
cd mariadb-columnstore-docker
cp .env_example .env
cp .secrets_example .secrets
./build

Access

Database Access

mysql -h 127.0.0.1 -P 3307 -u admin -p

The default password is: C0lumnStore!

MaxScale 1 GUI Access

  • URL: http://127.0.0.1:8989
  • username: admin
  • password: mariadb

MaxScale 2 GUI Access

  • URL: http://127.0.0.1:8990
  • username: admin
  • password: mariadb

Glossary Items

  • PM: Performance Module
  • PM1: Primary Database Node
  • PM2: Secondary Database Node
  • PM3: Tertiary Database Node
  • MX1: Primary MaxScale Node
  • MX2: Secondary MaxScale Node

CLI Instructions

Set API Code:
mcs cluster set api-key --key <api_key>
Get Status:
mcs cluster status
Start Cluster:
mcs cluster start
Stop Cluster:
mcs cluster stop
Add Node:
mcs cluster node add --node <node>
Remove Node:
mcs cluster node remove --node <node>
Mode Set Read Only:
mcs cluster set mode --mode readonly
Mode Set Read/Write:
mcs cluster set mode --mode readwrite

Log Info

Logs are stored in /var/log/mariadb/columnstore

They are also available via the following command:

docker logs mcs1

mariadb-columnstore-docker's People

Contributors

toddstoffel avatar mariadb-jensrowekamp avatar mariadb-petko-vasilev avatar benthompson15 avatar

Forkers

renovate-bot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.