Skip to content

zero copy demo#64296

Draft
zclllyybb wants to merge 5 commits into
apache:masterfrom
zclllyybb:zero_copy
Draft

zero copy demo#64296
zclllyybb wants to merge 5 commits into
apache:masterfrom
zclllyybb:zero_copy

Conversation

@zclllyybb

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@zclllyybb

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 32052 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 4cc3359697839b2f97efe14f83880b13782a837f, data reload: false

------ Round 1 ----------------------------------
============================================
q1	17708	4073	4028	4028
q2	2088	333	189	189
q3	10294	1521	959	959
q4	4753	477	340	340
q5	7565	928	633	633
q6	222	208	173	173
q7	851	912	692	692
q8	10576	1747	1623	1623
q9	5998	5447	5176	5176
q10	6775	1582	1270	1270
q11	478	300	259	259
q12	626	435	293	293
q13	18165	4408	3773	3773
q14	247	243	220	220
q15	q16	815	818	746	746
q17	949	890	994	890
q18	7801	6506	6382	6382
q19	1161	1368	986	986
q20	540	465	326	326
q21	5763	2955	2782	2782
q22	433	357	312	312
Total cold run time: 103808 ms
Total hot run time: 32052 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4381	4307	4300	4300
q2	298	369	242	242
q3	5486	5885	5442	5442
q4	1688	2158	1384	1384
q5	4538	5059	4961	4961
q6	290	239	180	180
q7	2132	1984	1835	1835
q8	2697	2367	2357	2357
q9	7615	7638	7648	7638
q10	4830	4722	4327	4327
q11	634	517	452	452
q12	707	711	518	518
q13	4223	4667	4022	4022
q14	310	315	293	293
q15	q16	789	816	773	773
q17	1191	1214	1172	1172
q18	8968	8354	7866	7866
q19	1175	1096	1136	1096
q20	2433	2470	2273	2273
q21	5428	5241	4993	4993
q22	582	516	479	479
Total cold run time: 60395 ms
Total hot run time: 56603 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 184045 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 4cc3359697839b2f97efe14f83880b13782a837f, data reload: false

query5	4269	643	496	496
query6	428	192	185	185
query7	4862	592	322	322
query8	365	220	202	202
query9	8597	4438	4397	4397
query10	504	331	273	273
query11	6453	4178	4121	4121
query12	165	109	95	95
query13	1293	635	374	374
query14	7450	5332	5093	5093
query14_1	4384	4389	4356	4356
query15	214	207	187	187
query16	1028	489	459	459
query17	1178	788	655	655
query18	2786	527	354	354
query19	210	192	147	147
query20	116	109	106	106
query21	215	146	127	127
query22	13427	13521	13401	13401
query23	18387	17876	17576	17576
query23_1	17692	17663	17666	17663
query24	7940	1931	1451	1451
query24_1	1440	1489	1486	1486
query25	599	503	456	456
query26	1350	355	219	219
query27	2750	607	335	335
query28	4440	2115	2101	2101
query29	1156	669	539	539
query30	317	247	199	199
query31	1289	1249	1139	1139
query32	102	63	63	63
query33	525	348	267	267
query34	1217	1300	761	761
query35	755	797	714	714
query36	1250	1285	1211	1211
query37	162	109	95	95
query38	1988	1842	1788	1788
query39	964	934	909	909
query39_1	904	896	899	896
query40	214	126	101	101
query41	69	63	62	62
query42	89	87	88	87
query43	369	374	326	326
query44	1937	850	846	846
query45	192	193	182	182
query46	1207	1333	853	853
query47	2312	2324	2246	2246
query48	441	448	304	304
query49	620	513	428	428
query50	1033	388	307	307
query51	4261	4212	4216	4212
query52	79	83	69	69
query53	245	287	191	191
query54	299	235	201	201
query55	73	70	65	65
query56	263	239	232	232
query57	1410	1397	1342	1342
query58	231	210	205	205
query59	1953	2056	1886	1886
query60	279	263	238	238
query61	147	144	146	144
query62	618	590	547	547
query63	251	219	212	212
query64	2508	795	600	600
query65	4688	4681	4695	4681
query66	1662	534	410	410
query67	28770	28939	28643	28643
query68	3142	1475	775	775
query69	428	328	291	291
query70	1049	994	953	953
query71	296	273	224	224
query72	3014	2752	2397	2397
query73	876	864	471	471
query74	4972	4838	4662	4662
query75	2891	2893	2527	2527
query76	2385	1219	827	827
query77	382	414	283	283
query78	12051	12100	11679	11679
query79	1451	1239	793	793
query80	1218	531	412	412
query81	536	289	249	249
query82	449	170	128	128
query83	310	256	227	227
query84	258	145	115	115
query85	966	517	420	420
query86	448	292	271	271
query87	2028	2029	1942	1942
query88	6534	4883	4890	4883
query89	504	450	417	417
query90	2075	219	205	205
query91	179	151	134	134
query92	62	57	55	55
query93	1552	1420	791	791
query94	745	328	297	297
query95	681	478	363	363
query96	1101	847	384	384
query97	2630	2635	2586	2586
query98	208	251	194	194
query99	1053	1094	1030	1030
Total cold run time: 267098 ms
Total hot run time: 184045 ms

zclllyybb added a commit to zclllyybb/doris that referenced this pull request Jun 25, 2026
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: apache#64296

Problem Summary: BE UT and several regression jobs exposed two issues in the zero-copy scan branch. First, insert_many_from() is allowed to be a no-op when length is zero, including the case where position is src.size(), but several concrete column implementations read the source row before checking length. Page-backed spans assert on that one-past-end read. The fix makes the concrete implementations return before reading when length is zero. Second, the new storage read batch enlargement let simple fixed-width scans pass a much larger batch into SegmentIterator, while lower lazy-materialization selector paths still assume the normal session batch contract. That caused regression coredumps in filter_by_selector. The fix restores the OLAP reader batch size to RuntimeState::batch_size() and keeps the no-copy slot-ref projection fast path limited to simple projection scans.

### Release note

None

### Check List (For Author)

- Test: Unit Test

    - ./run-be-ut.sh --run --filter=ColumnArrayTest.InsertManyFromTest -j 90

- Behavior changed: No

- Does this need documentation: No
@zclllyybb

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 31441 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 2505e4d8bcf0ff22232f0ab0a4b6a68d85dfac2a, data reload: false

------ Round 1 ----------------------------------
============================================
q1	17594	4014	4005	4005
q2	1989	380	196	196
q3	10259	1379	747	747
q4	4718	465	338	338
q5	7677	834	548	548
q6	207	167	138	138
q7	736	751	539	539
q8	10057	1630	1564	1564
q9	4818	7316	8853	7316
q10	6702	1460	1234	1234
q11	433	280	239	239
q12	636	431	292	292
q13	18120	3410	2827	2827
q14	241	233	214	214
q15	q16	538	523	461	461
q17	1000	997	897	897
q18	6956	5623	5647	5623
q19	1181	1314	1069	1069
q20	507	412	260	260
q21	5662	2814	2633	2633
q22	429	359	301	301
Total cold run time: 100460 ms
Total hot run time: 31441 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4301	4267	4253	4253
q2	313	331	208	208
q3	4560	4821	4291	4291
q4	2071	2175	1359	1359
q5	4327	4170	4205	4170
q6	281	289	153	153
q7	1931	1750	1462	1462
q8	2366	1990	2007	1990
q9	7663	7573	7624	7573
q10	4570	4407	4260	4260
q11	523	374	340	340
q12	698	721	518	518
q13	3238	3627	2962	2962
q14	285	297	289	289
q15	q16	715	710	642	642
q17	1336	1271	1259	1259
q18	7788	7299	6956	6956
q19	1180	1085	1099	1085
q20	2181	2133	1865	1865
q21	5275	4521	4406	4406
q22	508	451	411	411
Total cold run time: 56110 ms
Total hot run time: 50452 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 173120 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 2505e4d8bcf0ff22232f0ab0a4b6a68d85dfac2a, data reload: false

query5	4318	646	484	484
query6	441	179	166	166
query7	4832	544	302	302
query8	332	174	169	169
query9	8738	4160	4169	4160
query10	447	298	253	253
query11	6063	3728	3567	3567
query12	165	98	102	98
query13	1275	621	449	449
query14	6250	5051	4720	4720
query14_1	4063	4049	4022	4022
query15	222	202	187	187
query16	1045	477	436	436
query17	1132	709	579	579
query18	2439	474	330	330
query19	210	194	151	151
query20	115	106	117	106
query21	227	142	115	115
query22	13668	13481	13313	13313
query23	17404	16314	15955	15955
query23_1	16150	16086	16149	16086
query24	7554	1755	1303	1303
query24_1	1361	1320	1341	1320
query25	572	476	404	404
query26	1303	326	169	169
query27	2671	586	350	350
query28	4455	2090	2105	2090
query29	1087	674	502	502
query30	337	243	194	194
query31	1140	1107	999	999
query32	108	62	60	60
query33	526	331	255	255
query34	1195	1169	667	667
query35	752	792	657	657
query36	1314	1352	1152	1152
query37	162	109	94	94
query38	1989	1828	1756	1756
query39	968	930	905	905
query39_1	891	893	908	893
query40	223	129	105	105
query41	110	61	61	61
query42	87	86	86	86
query43	344	333	289	289
query44	1455	818	813	813
query45	193	204	182	182
query46	1135	1171	756	756
query47	2255	2270	2154	2154
query48	409	418	305	305
query49	584	418	310	310
query50	1001	354	276	276
query51	4365	4290	4196	4196
query52	80	80	74	74
query53	243	268	191	191
query54	254	220	205	205
query55	73	69	63	63
query56	242	215	222	215
query57	1420	1390	1304	1304
query58	237	213	211	211
query59	1554	1625	1441	1441
query60	277	237	244	237
query61	145	151	149	149
query62	658	625	557	557
query63	226	190	186	186
query64	2511	766	593	593
query65	4751	4614	4649	4614
query66	1788	475	336	336
query67	28405	28223	28014	28014
query68	3129	1640	1032	1032
query69	411	303	270	270
query70	1047	918	933	918
query71	293	223	215	215
query72	2858	2587	2321	2321
query73	849	785	441	441
query74	4869	4710	4617	4617
query75	2539	2501	2132	2132
query76	2306	1189	815	815
query77	346	378	290	290
query78	12100	12127	11677	11677
query79	1427	1159	808	808
query80	587	475	388	388
query81	445	278	238	238
query82	572	159	122	122
query83	334	249	229	229
query84	264	144	112	112
query85	864	510	419	419
query86	378	301	287	287
query87	2036	2000	1913	1913
query88	3883	2937	2916	2916
query89	418	386	319	319
query90	1953	186	178	178
query91	172	164	131	131
query92	59	62	57	57
query93	1590	1445	919	919
query94	549	333	317	317
query95	695	371	434	371
query96	1100	811	354	354
query97	2604	2616	2499	2499
query98	216	204	200	200
query99	1114	1096	1004	1004
Total cold run time: 255738 ms
Total hot run time: 173120 ms

zclllyybb added a commit to zclllyybb/doris that referenced this pull request Jun 26, 2026
### What problem does this PR solve?

Issue Number: N/A

Related PR: apache#64296

Problem Summary: The zero-copy fixed-length column path can keep values in an external page instead of the local PODArray. Lazy materialization calls ColumnVector::filter_by_selector through SegmentIterator::copy_column_data_by_selector, but the inherited selector implementation read the local PODArray directly, so page-backed columns with an empty local data buffer could crash with PODArray::operator[] checks. This commit overrides ColumnVector::filter_by_selector to read through immutable_data(), giving local and external storage the same selector semantics. It also makes non-empty ColumnVector::insert_many_from from an invalid source row throw a Doris exception before materialization, replacing container-specific one-past UB/std::span assertions with an explicit contract, and updates the generic column test accordingly while preserving the historical Array debug-check skip.

### Release note

None

### Check List (For Author)

- Test: Unit Test

    - ./run-be-ut.sh --run --filter=ColumnIPTest.InsertManyFromTest:ColumnVectorTest.filter_by_selector_from_external_page -j 90

    - ./run-be-ut.sh --run --filter='ColumnIPTest.InsertManyFromTest:ColumnVectorTest.*:ColumnArrayTest.InsertManyFromTest:ColumnNullableTest.*:ColumnStringTest.filter_by_selector:ColumnStringTest.insert_many_from:ColumnDictionaryTest.filter_by_selector:PredicateColumnTest.*' -j 90

    - ./build.sh --be

    - git diff --check -- be/src/core/column/column_vector.h be/src/core/column/column_vector.cpp be/test/core/column/common_column_test.h be/test/core/column/column_vector_test.cpp

- Behavior changed: No

- Does this need documentation: No
@zclllyybb

Copy link
Copy Markdown
Contributor Author

run buildall

### What problem does this PR solve?

Issue Number: N/A

Related PR: N/A

Problem Summary: The zero-copy fixed-width column demo kept a vector of external page spans and exposed a span-iteration helper so consumers could process multi-page scan blocks without materializing. That made ColumnVector carry a more complex segmented immutable-data contract than the execution layer normally expects. This change matches the StarRocks-style single-resource model: ColumnVector may adopt one page-owned fixed-width view when the destination is empty and aligned, while any later append or mutable access materializes the view into Doris-owned storage before continuing. Legacy DATE/DATETIME still use the existing decode-and-convert path because the page bytes are not byte-identical to the in-memory layout. SUM no longer needs a multi-span hot path and reads the normal single immutable view.

### Release note

None

### Check List (For Author)

- Test: Manual test
    - PATH=/mnt/disk6/common/ldb_toolchain_toucan/bin:$PATH build-support/clang-format.sh
    - git diff --check -- be/src/core/column/column_vector.h be/src/exprs/aggregate/aggregate_function_sum.h
    - ./build.sh --be -j 90
- Behavior changed: Yes. Fixed-width zero-copy scan columns now keep at most one page-backed external view and materialize when additional page ranges are appended.
- Does this need documentation: No
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: apache#64296

Problem Summary: BE UT and several regression jobs exposed two issues in the zero-copy scan branch. First, insert_many_from() is allowed to be a no-op when length is zero, including the case where position is src.size(), but several concrete column implementations read the source row before checking length. Page-backed spans assert on that one-past-end read. The fix makes the concrete implementations return before reading when length is zero. Second, the new storage read batch enlargement let simple fixed-width scans pass a much larger batch into SegmentIterator, while lower lazy-materialization selector paths still assume the normal session batch contract. That caused regression coredumps in filter_by_selector. The fix restores the OLAP reader batch size to RuntimeState::batch_size() and keeps the no-copy slot-ref projection fast path limited to simple projection scans.

### Release note

None

### Check List (For Author)

- Test: Unit Test

    - ./run-be-ut.sh --run --filter=ColumnArrayTest.InsertManyFromTest -j 90

- Behavior changed: No

- Does this need documentation: No
### What problem does this PR solve?

Issue Number: N/A

Related PR: apache#64296

Problem Summary: The zero-copy fixed-length column path can keep values in an external page instead of the local PODArray. Lazy materialization calls ColumnVector::filter_by_selector through SegmentIterator::copy_column_data_by_selector, but the inherited selector implementation read the local PODArray directly, so page-backed columns with an empty local data buffer could crash with PODArray::operator[] checks. This commit overrides ColumnVector::filter_by_selector to read through immutable_data(), giving local and external storage the same selector semantics. It also makes non-empty ColumnVector::insert_many_from from an invalid source row throw a Doris exception before materialization, replacing container-specific one-past UB/std::span assertions with an explicit contract, and updates the generic column test accordingly while preserving the historical Array debug-check skip.

### Release note

None

### Check List (For Author)

- Test: Unit Test

    - ./run-be-ut.sh --run --filter=ColumnIPTest.InsertManyFromTest:ColumnVectorTest.filter_by_selector_from_external_page -j 90

    - ./run-be-ut.sh --run --filter='ColumnIPTest.InsertManyFromTest:ColumnVectorTest.*:ColumnArrayTest.InsertManyFromTest:ColumnNullableTest.*:ColumnStringTest.filter_by_selector:ColumnStringTest.insert_many_from:ColumnDictionaryTest.filter_by_selector:PredicateColumnTest.*' -j 90

    - ./build.sh --be

    - git diff --check -- be/src/core/column/column_vector.h be/src/core/column/column_vector.cpp be/test/core/column/common_column_test.h be/test/core/column/column_vector_test.cpp

- Behavior changed: No

- Does this need documentation: No
Problem Summary: Upstream master added an inline ColumnVector::filter_by_selector implementation, while the zero-copy branch still carried a separate declaration and out-of-line template definition. The merged PR source therefore hit a duplicate member declaration and failed TeamCity compile. Fold the page-backed read path into the upstream inline implementation and remove the duplicate implementation.

Release note: None

Test Plan: PATH=/mnt/disk6/common/ldb_toolchain_toucan/bin:/mnt/disk3/zhaochangle/.bun/bin:/mnt/disk3/zhaochangle/.opencode/bin:/mnt/disk3/zhaochangle/.local/bin:/mnt/disk6/common/apache-maven-3.9.14/bin:/mnt/disk6/common/ldb_toolchain_028/bin:/mnt/disk6/common/jdk-17.0.16/bin:/mnt/disk6/common/node-v24.14.1-linux-x64/bin:/mnt/disk6/common/apache-maven-3.9.14/bin:/mnt/disk6/common/ldb_toolchain_028/bin:/mnt/disk6/common/jdk-17.0.16/bin:/mnt/disk6/common/node-v24.14.1-linux-x64/bin:/mnt/disk6/common/node-v24.14.1-linux-x64/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-path:/mnt/disk3/zhaochangle/.codex/tmp/arg0/codex-arg03yyoos:/mnt/disk3/zhaochangle/.bun/bin:/mnt/disk3/zhaochangle/.opencode/bin:/mnt/disk3/zhaochangle/.local/bin:/mnt/disk6/common/apache-maven-3.9.14/bin:/mnt/disk6/common/ldb_toolchain_028/bin:/mnt/disk6/common/jdk-17.0.16/bin:/mnt/disk6/common/node-v24.14.1-linux-x64/bin:/mnt/disk6/common/apache-maven-3.9.14/bin:/mnt/disk6/common/ldb_toolchain_028/bin:/mnt/disk6/common/jdk-17.0.16/bin:/mnt/disk6/common/node-v24.14.1-linux-x64/bin:/mnt/disk3/zhaochangle/.opencode/bin:/mnt/disk3/zhaochangle/.local/bin:/mnt/disk3/zhaochangle/.local/bin:/mnt/disk3/zhaochangle/bin:/mnt/disk6/common/apache-maven-3.9.14/bin:/mnt/disk6/common/ldb_toolchain_028/bin:/mnt/disk6/common/jdk-17.0.16/bin:/mnt/disk6/common/node-v24.14.1-linux-x64/bin:/usr/share/Modules/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tableau/tableau_server/packages/customer-bin.20251.25.0520.1026 build-support/clang-format.sh

Test Plan: git diff --check -- be/src/core/column/column_vector.h be/src/core/column/column_vector.cpp be/test/core/column/common_column_test.h be/test/core/column/column_vector_test.cpp

Test Plan: ./build.sh --be

Test Plan: ./run-be-ut.sh --run --filter='ColumnIPTest.InsertManyFromTest:ColumnVectorTest.*:ColumnArrayTest.InsertManyFromTest:ColumnNullableTest.*:ColumnStringTest.filter_by_selector:ColumnStringTest.insert_many_from:ColumnDictionaryTest.filter_by_selector:PredicateColumnTest.*' -j 90
@zclllyybb

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 29005 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 90e37eaa5db690774a302887d734412fd53c6b1f, data reload: false

------ Round 1 ----------------------------------
============================================
q1	17685	4034	4040	4034
q2	2061	313	194	194
q3	10262	1416	798	798
q4	4688	470	336	336
q5	7516	912	582	582
q6	178	171	138	138
q7	803	830	636	636
q8	9363	1527	1588	1527
q9	5556	4523	4508	4508
q10	6794	1769	1498	1498
q11	447	267	243	243
q12	627	418	298	298
q13	18145	3617	2769	2769
q14	264	257	233	233
q15	q16	794	774	710	710
q17	1020	891	958	891
q18	7503	5717	5632	5632
q19	1319	1265	1104	1104
q20	512	399	271	271
q21	6101	2660	2300	2300
q22	435	352	303	303
Total cold run time: 102073 ms
Total hot run time: 29005 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4372	4283	4264	4264
q2	312	357	218	218
q3	4493	4923	4380	4380
q4	2134	2181	1398	1398
q5	4350	4266	4207	4207
q6	233	179	129	129
q7	1663	1582	1822	1582
q8	2560	2125	2070	2070
q9	7850	7945	7724	7724
q10	4533	4534	4114	4114
q11	563	397	349	349
q12	737	734	515	515
q13	3301	3537	2936	2936
q14	299	292	269	269
q15	q16	733	734	634	634
q17	1319	1299	1272	1272
q18	8064	7171	7075	7075
q19	1182	1155	1160	1155
q20	2189	2199	1864	1864
q21	5284	4610	4436	4436
q22	512	456	411	411
Total cold run time: 56683 ms
Total hot run time: 51002 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 170322 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 90e37eaa5db690774a302887d734412fd53c6b1f, data reload: false

query5	4327	629	490	490
query6	432	182	164	164
query7	4885	563	328	328
query8	341	180	164	164
query9	8799	4152	4147	4147
query10	440	310	250	250
query11	5940	2285	2066	2066
query12	167	101	98	98
query13	1279	594	445	445
query14	6298	5159	4793	4793
query14_1	4126	4132	4114	4114
query15	217	204	182	182
query16	993	429	437	429
query17	953	731	590	590
query18	2429	496	344	344
query19	214	195	149	149
query20	109	105	110	105
query21	218	139	118	118
query22	13537	13494	13395	13395
query23	17333	16320	15832	15832
query23_1	16105	16037	16092	16037
query24	7455	1779	1339	1339
query24_1	1337	1319	1316	1316
query25	569	461	390	390
query26	1309	333	173	173
query27	2689	568	350	350
query28	4554	2120	2079	2079
query29	1070	614	463	463
query30	314	246	210	210
query31	1104	1073	942	942
query32	116	60	57	57
query33	513	311	246	246
query34	1234	1145	648	648
query35	751	769	648	648
query36	1344	1319	1172	1172
query37	154	104	89	89
query38	1863	1694	1612	1612
query39	943	935	908	908
query39_1	886	913	900	900
query40	218	119	99	99
query41	64	67	64	64
query42	87	89	87	87
query43	318	319	273	273
query44	1493	813	830	813
query45	198	187	172	172
query46	1066	1301	749	749
query47	2304	2333	2243	2243
query48	410	398	308	308
query49	596	432	308	308
query50	1006	364	271	271
query51	4459	4422	4317	4317
query52	81	79	70	70
query53	247	256	205	205
query54	281	217	195	195
query55	77	77	63	63
query56	238	220	222	220
query57	1436	1398	1324	1324
query58	243	206	210	206
query59	1566	1605	1419	1419
query60	279	242	222	222
query61	148	148	142	142
query62	678	632	563	563
query63	233	189	189	189
query64	2534	778	598	598
query65	4781	4748	4744	4744
query66	1798	457	331	331
query67	29015	28788	28698	28698
query68	3096	1643	1036	1036
query69	415	308	266	266
query70	1102	919	921	919
query71	294	239	219	219
query72	3146	2670	2397	2397
query73	913	785	445	445
query74	5048	4888	4702	4702
query75	2557	2504	2164	2164
query76	2315	1186	793	793
query77	356	373	281	281
query78	12390	12400	11854	11854
query79	1299	1187	777	777
query80	515	473	371	371
query81	447	279	239	239
query82	238	159	121	121
query83	273	270	247	247
query84	293	146	119	119
query85	808	513	427	427
query86	344	312	278	278
query87	1827	1823	1760	1760
query88	3855	2922	2885	2885
query89	395	379	330	330
query90	2128	184	175	175
query91	169	163	133	133
query92	62	60	51	51
query93	1447	1533	915	915
query94	530	355	329	329
query95	649	452	346	346
query96	1128	822	362	362
query97	2663	2653	2547	2547
query98	212	203	200	200
query99	1111	1095	1001	1001
Total cold run time: 255711 ms
Total hot run time: 170322 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
ClickBench: Total hot run time: 24.53 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 90e37eaa5db690774a302887d734412fd53c6b1f, data reload: false

query1	0.01	0.00	0.01
query2	0.10	0.05	0.05
query3	0.25	0.14	0.14
query4	1.62	0.15	0.14
query5	0.23	0.23	0.26
query6	1.27	1.09	1.07
query7	0.04	0.01	0.01
query8	0.06	0.03	0.03
query9	0.37	0.31	0.32
query10	0.56	0.55	0.53
query11	0.20	0.14	0.14
query12	0.18	0.14	0.14
query13	0.45	0.46	0.46
query14	1.02	0.99	0.97
query15	0.60	0.58	0.60
query16	0.34	0.32	0.32
query17	1.10	1.08	1.08
query18	0.21	0.20	0.20
query19	2.00	1.96	2.05
query20	0.02	0.01	0.01
query21	15.47	0.21	0.16
query22	4.93	0.05	0.05
query23	16.20	0.32	0.12
query24	2.95	0.41	0.36
query25	0.11	0.05	0.03
query26	0.76	0.22	0.14
query27	0.05	0.04	0.04
query28	3.58	0.76	0.34
query29	12.47	4.32	3.44
query30	0.26	0.16	0.15
query31	2.77	0.58	0.32
query32	3.24	0.60	0.49
query33	3.12	3.19	3.19
query34	15.50	3.96	3.28
query35	3.28	3.29	3.26
query36	0.54	0.42	0.42
query37	0.09	0.06	0.06
query38	0.05	0.04	0.04
query39	0.03	0.03	0.04
query40	0.18	0.16	0.15
query41	0.08	0.04	0.03
query42	0.04	0.03	0.03
query43	0.04	0.03	0.04
Total cold run time: 96.37 s
Total hot run time: 24.53 s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants