本來要測Doris1.2(月底釋出正式版本),遇到一些問題,是以先拿目前已經釋出的1.1.4來做對比測試。
安裝部署Doris1.1.4
# 1個fe節點
wget https://dist.apache.org/repos/dist/release/doris/1.1/1.1.4-rc01/apache-doris-fe-1.1.4-bin.tar.gz
cd /data
tar -zxvf apache-doris-fe-1.1.4-bin.tar.gz
ln -s apache-doris-fe-1.1.4-bin doris
## 配置fe.conf (略)
cd /data/doris;bin/start_fe.sh --daemon
jps -l
mysql -hstarrcoks-test-004 -uroot -p -P9030
## 添加3個be節點 (略)
# 3個be節點
wget https://dist.apache.org/repos/dist/release/doris/1.1/1.1.4-rc01/apache-doris-be-1.1.4-bin-x86_64.tar.gz
cd /data
tar -zxvf apache-doris-be-1.1.4-bin-x86_64.tar.gz
ln -s apache-doris-be-1.1.4-bin-x86_64 doris
## 配置be.conf (略)
cd /data/doris;bin/start_fe.sh --daemon
測試資料準備
## 建tpch庫、表
cd /data/src-doris-1.1.4-rc01/tools/tpch-tools/bin
sh ./create-tpch-tables.sh
## load data
sh ./load-tpch-data.sh -c 16
... until print 'DONE'
執行查詢腳本
sh ./run-tpch-queries.sh
Doris0.14 Vs. Doris1.1.4
先對比這2個版本的tpch-100性能測試結果,看看後浪和前浪誰被拍在了沙灘上。
在這次的測試中(TPCH-100的22個Queries),Doris1.1.4比Doris0.14整體性能提升了4.2倍。還好,沒有翻車[呲牙]...