diff --git a/TOC.md b/TOC.md index 2d1d5f3bd845..ca114fffed92 100644 --- a/TOC.md +++ b/TOC.md @@ -13,7 +13,7 @@ + 性能测试报告 + [Sysbench 性能对比 - v5.1 对比 v5.0](/benchmark/benchmark-sysbench-v5.1.0-vs-v5.0.2.md) + [TPC-C 性能对比 - v5.1 对比 v5.0](/benchmark/v5.1-performance-benchmarking-with-tpcc.md) - + [TPC-H 100 性能对比 - v5.0 MPP 对比 Greenplum / Apache Spark](/benchmark/v5.0-performance-benchmarking-with-tpch.md) + + [TPC-H 100 性能对比 - v5.1 MPP 对比 Greenplum / Apache Spark](/benchmark/v5.1-performance-benchmarking-with-tpch.md) + [与 MySQL 的兼容性](/mysql-compatibility.md) + [使用限制](/tidb-limitations.md) + [荣誉列表](/credits.md) diff --git a/benchmark/v5.0-performance-benchmarking-with-tpch.md b/benchmark/v5.1-performance-benchmarking-with-tpch.md similarity index 86% rename from benchmark/v5.0-performance-benchmarking-with-tpch.md rename to benchmark/v5.1-performance-benchmarking-with-tpch.md index a876c53caabd..00323e8ad0f9 100644 --- a/benchmark/v5.0-performance-benchmarking-with-tpch.md +++ b/benchmark/v5.1-performance-benchmarking-with-tpch.md @@ -1,16 +1,16 @@ --- -title: TiDB TPC-H 100 性能对比测试报告 - v5.0 MPP 模式对比 Greenplum 6.15.0 以及 Apache Spark 3.1.1 +title: TiDB TPC-H 100 性能对比测试报告 - v5.1 MPP 模式对比 Greenplum 6.15.0 以及 Apache Spark 3.1.1 --- -# TiDB TPC-H 性能对比测试报告 - v5.0 MPP 模式对比 Greenplum 6.15.0 以及 Apache Spark 3.1.1 +# TiDB TPC-H 性能对比测试报告 - v5.1 MPP 模式对比 Greenplum 6.15.0 以及 Apache Spark 3.1.1 ## 测试概况 -本次测试对比了 TiDB v5.0 MPP 模式下和主流分析引擎例如 Greenplum 和 Apache Spark 最新版在 TPC-H 100 下的性能表现。结果显示,TiDB v5.0 MPP 模式下相对这些方案有 2-3 倍的性能提升。 +本次测试对比了 TiDB v5.1 MPP 模式下和主流分析引擎例如 Greenplum 和 Apache Spark 最新版在 TPC-H 100 下的性能表现。结果显示,TiDB v5.1 MPP 模式下相对这些方案有 2-3 倍的性能提升。 TiDB v5.0 中新引入了 [TiFlash](/tiflash/tiflash-overview.md) 组件的 MPP 模式,这大幅增强了 TiDB HTAP 形态。本文的测试对象如下: -+ TiDB v5.0 MPP 执行模式下的列式存储 ++ TiDB v5.1 MPP 执行模式下的列式存储 + Greenplum 6.15.0 + Apache Spark 3.1.1 + Parquet @@ -27,15 +27,15 @@ TiDB v5.0 中新引入了 [TiFlash](/tiflash/tiflash-overview.md) 组件的 MPP | 服务类型 | 软件版本 | |:----------|:-----------| -| TiDB | 5.0 | +| TiDB | 5.1 | | Greenplum | 6.15.0 | | Apache Spark | 3.1.1 | ### 配置参数 -#### TiDB v5.0 配置 +#### TiDB v5.1 配置 -v5.0 的 TiDB 集群除以下配置项外均使用默认参数配置。所有 TPC-H 测试表均以 TiFlash 列存进行同步,无额外分区和索引。 +v5.1 的 TiDB 集群除以下配置项外均使用默认参数配置。所有 TPC-H 测试表均以 TiFlash 列存进行同步,无额外分区和索引。 在 TiFlash 的 `users.toml` 配置文件中进行如下配置: @@ -82,10 +82,10 @@ Apache Spark 测试使用 Apache Parquet 作为存储格式,数据存储在 HD ## 测试结果 > **注意:** -> +> > 以下测试结果均为 3 次测试的平均值,单位均为秒。 -| Query ID | TiDB v5.0 | Greenplum 6.15.0 | Apache Spark 3.1.1 + Parquet | +| Query ID | TiDB v5.1 | Greenplum 6.15.0 | Apache Spark 3.1.1 + Parquet | | :-------- | :----------- | :------------ | :-------------- | | 1 | 8.08 | 64.1307 | 52.64 | | 2 | 2.53 | 4.76612 | 11.83 | @@ -112,4 +112,4 @@ Apache Spark 测试使用 Apache Parquet 作为存储格式,数据存储在 HD ![TPC-H](/media/tidb-v5-tpch-100-vs-gp-spark.png) -以上性能图中蓝色为 TiDB v5.0,红色为 Greenplum 6.15.0,黄色为 Apache Spark 3.1.1,纵坐标是查询的处理时间。纵坐标数值越低,表示 TPC-H 性能越好。 +以上性能图中蓝色为 TiDB v5.1,红色为 Greenplum 6.15.0,黄色为 Apache Spark 3.1.1,纵坐标是查询的处理时间。纵坐标数值越低,表示 TPC-H 性能越好。 diff --git a/media/tidb-v5-tpch-100-vs-gp-spark.png b/media/tidb-v5-tpch-100-vs-gp-spark.png index 250e80dac7bd..c76f4ede8c37 100644 Binary files a/media/tidb-v5-tpch-100-vs-gp-spark.png and b/media/tidb-v5-tpch-100-vs-gp-spark.png differ