Clickhouse 学习笔记
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.
Go to file
zeekling 434766ca74 添加mergeTree (#6)
MergeTree:  #7

Reviewed-on: #6
2023-09-25 15:30:24 +00:00
bad 更新readme (#5) 2023-06-01 15:48:07 +00:00
engine 添加mergeTree (#6) 2023-09-25 15:30:24 +00:00
source 添加mergeTree (#6) 2023-09-25 15:30:24 +00:00
.gitignore Initial commit 2023-05-31 15:08:36 +00:00
LICENSE Initial commit 2023-05-31 15:08:36 +00:00
README.md 添加mergeTree (#6) 2023-09-25 15:30:24 +00:00

学习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

性能优化

性能变慢的因素

基础知识

源码解析