This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
clickhouse-study/README.md
zeekling 434766ca74 添加mergeTree (#6)
MergeTree:  #7

Reviewed-on: #6
2023-09-25 15:30:24 +00:00

590 B

学习ClickHouse笔记

源码编译

编译命令

git clone git@github.com:ClickHouse/ClickHouse.git -b 23.4
cd ClickHouse
git submodule update --init --recursive
mkdir build && cd build 
cmake .. -DCMAKE_CXX_COMPILER=`which clang++` -DCMAKE_C_COMPILER=`which clang` -DCMAKE_BUILD_TYPE=release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
ninja

性能优化

性能变慢的因素

基础知识

源码解析