MariaDB ColumnStore利用分布式列式存储和大规模并行处理(MPP)共享无架构扩展了MariaDB企业服务器,将其转变为独立或分布式数据仓库,用于复杂SQL查询和高级分析,而无需创建任何索引。
为了简化安装过程,让用户享受更好的产品体验,MariaDB提供yum源方式部署,用户只需几条命令,即可轻松部署OLAP MPP数据仓库环境。
安装与部署
shell> wget https://r.mariadb.com/downloads/mariadb_repo_setup shell> chmod +x mariadb_repo_setup shell> ./mariadb_repo_setup \ --mariadb-server-version="mariadb-10.6" shell> yum install epel-release shell> yum install jemalloc shell> yum install MariaDB-server MariaDB-backup MariaDB-shared MariaDB-client MariaDB-columnstore-engine |
mysqld服务启动后,手工安装存储引擎插件即可完整部署。
MariaDB> INSTALL PLUGIN Columnstore SONAME 'ha_columnstore.so'; |
Sql语法使用起来跟InnoDB无任何差异。
参加官方文档:https://mariadb.com/docs/columnstore/deploy/topologies/single-node/community-columnstore-cs10-6/#Install_ColumnStore_via_YUM_(RHEL,_CentOS)