天天看點

TPC-H AntDB4.0最新版 vs AntDB3.1TPC-H AntDB4.0最新版 vs AntDB3.1

TPC-H AntDB4.0最新版 vs AntDB3.1

本文通過TPCH模型,驗證AntDB在大版本疊代過程中,22種場景下的性能名額提升對比測試。

環境介紹

作業系統 centos7.4
記憶體 128GB
磁盤 SSD
AntDB版本 3.1 vs 4.0
AntDB架構 2C2D

測試方法

  1. 每次測試前,清空記憶體的緩存資料,讓資料重新加載,防止緩存資料對測試結果的幹擾。
  2. 進行TPCH測試。

    TPCH測試步驟,不在本文探讨範圍。想了解詳細測試步驟,請參考 TPC-H benchmark

測試結果

機關: s [email protected] [email protected]
query_1 13 10
query_2 2 2
query_3 40 34
query_4 1 1
query_5 67 26
query_6 2 2
query_7 9 13
query_8 3 4
query_9 27 22
query_10 5 5
query_11 1 2
query_12 9 9
query_13 92 91
query_14 53 4
query_15 6 7
query_16 11 11
query_17 40 45
query_18 24 17
query_19 1 1
query_20 58 39
query_21 226 97
query_22 20 24

結果分析

TPCH query22 名額對比

TPC-H AntDB4.0最新版 vs AntDB3.1TPC-H AntDB4.0最新版 vs AntDB3.1

總耗時對比

TPC-H AntDB4.0最新版 vs AntDB3.1TPC-H AntDB4.0最新版 vs AntDB3.1

性能提升對比

TPC-H AntDB4.0最新版 vs AntDB3.1TPC-H AntDB4.0最新版 vs AntDB3.1

總結

  1. AntDB最新版本4.0 得益于在資料reduce、執行計劃微調等方面的改善,query 5、14、21 3種場景性能提升較為顯著。

    AntDB4.0最新版本相對AntDB3.1版本 性能整體又提升了 34% 。

  2. 目前測試環境datanode節點數較少,繼續增加節點數可以進一步提升性能。感興趣的同學,可以搭建更多資料節點進行使用和驗證。
  3. TPCH模型更适用于關系型資料庫,是以在分布式資料庫,TPCH模型無法充分展現 MPP 并行計算的能力,對測試結果有一定負影響。

參考

AntDB QQ群号:496464280

AntDB github連結