Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refine](Operator) When _stop_emplace_flag is not set to true, perform batch processing on the block. #33173

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

Mryange
Copy link
Contributor

@Mryange Mryange commented Apr 2, 2024

Proposed changes

The setting of _stop_emplace_flag is a heuristic operation.
Previously, there was no batch processing on PipelineX (push one block, then pull one block), so it was easily misled by the first few small blocks.
Therefore, batch processing is adopted here, and the first two values of STREAMING_HT_MIN_REDUCTION are set to 0.
Only when enough data is obtained will _stop_emplace_flag be set to true.

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Mryange
Copy link
Contributor Author

Mryange commented Apr 2, 2024

run buildall

Copy link
Contributor

github-actions bot commented Apr 2, 2024

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.65% (8880/24911)
Line Coverage: 27.37% (72894/266305)
Region Coverage: 26.55% (37691/141983)
Branch Coverage: 23.34% (19211/82308)
Coverage Report: http://coverage.selectdb-in.cc/coverage/d9404c4a3a8e626948b5d0aa8a96cc354624821e_d9404c4a3a8e626948b5d0aa8a96cc354624821e/report/index.html

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17618	4086	4051	4051
q2	2009	189	192	189
q3	10469	1199	1367	1199
q4	10204	839	1026	839
q5	7487	2956	2911	2911
q6	221	134	131	131
q7	1089	638	595	595
q8	9406	1926	2015	1926
q9	6673	6168	6138	6138
q10	8456	3505	3486	3486
q11	417	239	240	239
q12	387	215	214	214
q13	17790	2899	2903	2899
q14	273	246	249	246
q15	534	482	483	482
q16	518	404	385	385
q17	955	918	900	900
q18	7230	6557	6409	6409
q19	1580	1518	1533	1518
q20	602	320	315	315
q21	3489	3107	3035	3035
q22	361	313	311	311
Total cold run time: 107768 ms
Total hot run time: 38418 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4120	4034	4052	4034
q2	326	217	233	217
q3	2932	2948	2941	2941
q4	1842	1882	1814	1814
q5	5198	5215	5220	5215
q6	204	125	123	123
q7	2246	1795	1820	1795
q8	3185	3266	3240	3240
q9	8459	8479	8450	8450
q10	3763	3912	3969	3912
q11	551	476	469	469
q12	752	573	612	573
q13	16366	3066	3092	3066
q14	317	289	285	285
q15	547	508	493	493
q16	499	431	428	428
q17	1764	1723	1735	1723
q18	8179	7833	7756	7756
q19	1676	1671	1696	1671
q20	2042	1892	1855	1855
q21	5004	4984	4952	4952
q22	533	447	485	447
Total cold run time: 70505 ms
Total hot run time: 55459 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 182907 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 d9404c4a3a8e626948b5d0aa8a96cc354624821e, data reload: false

query1	1206	1123	349	349
query2	6248	1943	1908	1908
query3	6669	218	206	206
query4	25009	21422	21513	21422
query5	4189	404	409	404
query6	275	205	183	183
query7	4591	313	299	299
query8	233	178	180	178
query9	8469	2266	2286	2266
query10	465	261	266	261
query11	14976	14438	14669	14438
query12	138	97	105	97
query13	1627	389	389	389
query14	8538	7102	6966	6966
query15	209	181	174	174
query16	6668	273	270	270
query17	1000	588	562	562
query18	1802	286	264	264
query19	200	156	158	156
query20	95	89	92	89
query21	192	125	125	125
query22	4957	4809	4802	4802
query23	33141	33047	32783	32783
query24	13180	3263	3288	3263
query25	700	431	490	431
query26	1865	176	164	164
query27	3142	382	390	382
query28	6952	1936	1899	1899
query29	1217	614	612	612
query30	299	173	178	173
query31	1023	753	768	753
query32	97	72	75	72
query33	696	245	243	243
query34	1100	514	535	514
query35	872	748	731	731
query36	1019	883	867	867
query37	181	82	81	81
query38	3720	3608	3599	3599
query39	1674	1596	1735	1596
query40	249	164	152	152
query41	48	48	47	47
query42	116	115	114	114
query43	460	413	429	413
query44	1169	740	734	734
query45	286	278	268	268
query46	1120	809	787	787
query47	2008	1865	1931	1865
query48	387	320	327	320
query49	965	366	379	366
query50	829	399	440	399
query51	6933	6865	6967	6865
query52	113	99	106	99
query53	379	309	303	303
query54	303	250	244	244
query55	92	80	89	80
query56	255	232	235	232
query57	1290	1191	1185	1185
query58	264	238	248	238
query59	2749	2570	2434	2434
query60	260	242	222	222
query61	89	90	90	90
query62	662	443	460	443
query63	316	291	283	283
query64	5834	3348	3377	3348
query65	3081	3010	3006	3006
query66	1317	320	314	314
query67	15590	15173	14747	14747
query68	9167	585	593	585
query69	564	336	333	333
query70	1257	1104	1096	1096
query71	526	277	277	277
query72	6304	2558	2403	2403
query73	876	321	327	321
query74	6698	6318	6376	6318
query75	3539	2307	2260	2260
query76	5554	1121	1188	1121
query77	562	251	249	249
query78	10846	10192	10092	10092
query79	10905	569	542	542
query80	1961	441	439	439
query81	518	248	243	243
query82	716	106	109	106
query83	196	162	166	162
query84	277	90	95	90
query85	1355	289	281	281
query86	416	321	271	271
query87	3677	3556	3491	3491
query88	4038	2346	2349	2346
query89	561	373	374	373
query90	1935	180	183	180
query91	135	106	106	106
query92	62	51	55	51
query93	6920	534	533	533
query94	1041	201	198	198
query95	1098	1093	1095	1093
query96	602	282	280	280
query97	2695	2448	2466	2448
query98	237	228	222	222
query99	1261	828	835	828
Total cold run time: 302297 ms
Total hot run time: 182907 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 29.67 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit d9404c4a3a8e626948b5d0aa8a96cc354624821e, data reload: false

query1	0.04	0.03	0.03
query2	0.07	0.04	0.04
query3	0.24	0.04	0.04
query4	1.68	0.07	0.07
query5	0.47	0.47	0.47
query6	1.14	0.66	0.66
query7	0.02	0.02	0.02
query8	0.05	0.04	0.04
query9	0.57	0.51	0.52
query10	0.56	0.56	0.57
query11	0.15	0.11	0.11
query12	0.14	0.11	0.11
query13	0.62	0.60	0.60
query14	0.76	0.80	0.79
query15	0.86	0.85	0.84
query16	0.36	0.36	0.35
query17	1.00	0.98	0.97
query18	0.25	0.26	0.25
query19	1.82	1.75	1.72
query20	0.01	0.00	0.00
query21	15.40	0.76	0.67
query22	3.53	5.64	1.39
query23	17.61	1.31	1.10
query24	1.41	0.36	0.22
query25	0.13	0.10	0.08
query26	0.28	0.17	0.19
query27	0.08	0.08	0.07
query28	13.46	0.96	0.94
query29	12.78	3.32	3.56
query30	0.26	0.06	0.05
query31	2.87	0.39	0.39
query32	3.29	0.48	0.48
query33	2.81	2.91	2.82
query34	15.55	4.37	4.33
query35	4.39	4.42	4.35
query36	0.68	0.48	0.47
query37	0.21	0.16	0.17
query38	0.16	0.17	0.15
query39	0.05	0.04	0.04
query40	0.18	0.15	0.15
query41	0.10	0.05	0.05
query42	0.05	0.06	0.05
query43	0.05	0.04	0.05
Total cold run time: 106.14 s
Total hot run time: 29.67 s

@doris-robot
Copy link

Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'

Load test result on commit d9404c4a3a8e626948b5d0aa8a96cc354624821e with default session variables
Stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
Stream load parquet:      32 seconds loaded 861443392 Bytes, about 25 MB/s
Insert into select:       17.3 seconds inserted 10000000 Rows, about 578K ops/s

@Mryange Mryange marked this pull request as ready for review April 2, 2024 13:32
@Mryange
Copy link
Contributor Author

Mryange commented Apr 2, 2024

run buildall

Copy link
Contributor

github-actions bot commented Apr 2, 2024

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.64% (8879/24912)
Line Coverage: 27.37% (72898/266335)
Region Coverage: 26.55% (37707/142003)
Branch Coverage: 23.35% (19216/82308)
Coverage Report: http://coverage.selectdb-in.cc/coverage/3ad6935607ed8f636a4671cd7be8d3ba69abdc2d_3ad6935607ed8f636a4671cd7be8d3ba69abdc2d/report/index.html

zhangstar333
zhangstar333 previously approved these changes Apr 3, 2024
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 3, 2024
Copy link
Contributor

github-actions bot commented Apr 3, 2024

PR approved by at least one committer and no changes requested.

Copy link
Contributor

github-actions bot commented Apr 3, 2024

PR approved by anyone and no changes requested.

@Mryange Mryange marked this pull request as draft April 3, 2024 08:38
@Mryange Mryange marked this pull request as ready for review April 6, 2024 13:56
@Mryange
Copy link
Contributor Author

Mryange commented Apr 6, 2024

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Apr 6, 2024
Copy link
Contributor

github-actions bot commented Apr 6, 2024

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.64% (8887/24932)
Line Coverage: 27.39% (72979/266491)
Region Coverage: 26.56% (37721/142036)
Branch Coverage: 23.36% (19226/82304)
Coverage Report: http://coverage.selectdb-in.cc/coverage/6bab75ae4df4a96f76b648960f4714b0d6b58bac_6bab75ae4df4a96f76b648960f4714b0d6b58bac/report/index.html

@doris-robot
Copy link

TPC-H: Total hot run time: 38654 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 6bab75ae4df4a96f76b648960f4714b0d6b58bac, data reload: false

------ Round 1 ----------------------------------
q1	17741	4258	4229	4229
q2	1997	171	179	171
q3	10490	1157	1277	1157
q4	10199	808	968	808
q5	7478	2899	2906	2899
q6	213	128	130	128
q7	1084	638	586	586
q8	9390	2094	2023	2023
q9	6777	6219	6153	6153
q10	8452	3529	3502	3502
q11	414	237	238	237
q12	377	218	205	205
q13	17771	2914	2947	2914
q14	272	235	240	235
q15	523	489	469	469
q16	503	378	364	364
q17	965	903	881	881
q18	7261	6497	6436	6436
q19	1605	1541	1528	1528
q20	560	320	318	318
q21	3508	3116	3121	3116
q22	360	300	295	295
Total cold run time: 107940 ms
Total hot run time: 38654 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4083	4036	4054	4036
q2	321	220	219	219
q3	2941	2922	2931	2922
q4	1854	1857	1840	1840
q5	5242	5215	5209	5209
q6	208	121	118	118
q7	2194	1758	1773	1758
q8	3197	3249	3254	3249
q9	8420	8464	8491	8464
q10	3783	3857	3849	3849
q11	540	448	431	431
q12	724	554	567	554
q13	16803	2921	2938	2921
q14	304	265	251	251
q15	523	470	474	470
q16	459	407	402	402
q17	1724	1700	1655	1655
q18	7687	7806	7572	7572
q19	1708	1708	1705	1705
q20	2065	1892	1895	1892
q21	5356	5037	4939	4939
q22	510	448	444	444
Total cold run time: 70646 ms
Total hot run time: 54900 ms

@Mryange
Copy link
Contributor Author

Mryange commented Apr 7, 2024

run buildall

Copy link
Contributor

github-actions bot commented Apr 7, 2024

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TPC-H: Total hot run time: 38869 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 6cd69b38afcd838cdd78e69f06f6ca8cad465baa, data reload: false

------ Round 1 ----------------------------------
q1	18197	4256	4200	4200
q2	2394	196	190	190
q3	10952	1201	1380	1201
q4	10204	763	938	763
q5	7464	3028	2992	2992
q6	217	132	131	131
q7	1116	622	612	612
q8	9414	1994	2085	1994
q9	6690	6221	6229	6221
q10	8420	3543	3513	3513
q11	413	247	231	231
q12	379	209	204	204
q13	17771	2885	2935	2885
q14	266	237	242	237
q15	522	473	477	473
q16	471	397	371	371
q17	983	932	918	918
q18	7311	6523	6479	6479
q19	1606	1546	1540	1540
q20	571	301	303	301
q21	3543	3184	3120	3120
q22	347	297	293	293
Total cold run time: 109251 ms
Total hot run time: 38869 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4042	4047	4060	4047
q2	323	215	223	215
q3	2970	2986	2936	2936
q4	1890	1897	1833	1833
q5	5279	5247	5252	5247
q6	211	124	122	122
q7	2230	1803	1797	1797
q8	3234	3302	3340	3302
q9	8469	8498	8473	8473
q10	3794	3835	3864	3835
q11	547	439	441	439
q12	707	563	560	560
q13	13078	2926	2871	2871
q14	296	269	255	255
q15	505	473	475	473
q16	458	405	416	405
q17	1745	1708	1676	1676
q18	7717	7383	7198	7198
q19	1656	1652	1661	1652
q20	1939	1723	1746	1723
q21	5124	4703	4793	4703
q22	501	430	423	423
Total cold run time: 66715 ms
Total hot run time: 54185 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 182934 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 6cd69b38afcd838cdd78e69f06f6ca8cad465baa, data reload: false

query1	901	1126	1143	1126
query2	6492	2005	1804	1804
query3	6668	216	220	216
query4	23694	21562	21451	21451
query5	4216	405	410	405
query6	267	195	185	185
query7	4609	302	300	300
query8	224	174	174	174
query9	8490	2199	2231	2199
query10	592	253	265	253
query11	14957	14445	14397	14397
query12	155	91	90	90
query13	1663	387	384	384
query14	8664	6792	6735	6735
query15	203	171	183	171
query16	7167	272	263	263
query17	1017	607	588	588
query18	1909	292	285	285
query19	201	156	157	156
query20	99	90	87	87
query21	200	128	126	126
query22	5093	4852	4897	4852
query23	33735	32864	32730	32730
query24	11035	3078	3108	3078
query25	671	365	383	365
query26	1903	157	154	154
query27	3037	321	317	317
query28	6747	1820	1817	1817
query29	1361	570	565	565
query30	305	162	159	159
query31	963	716	721	716
query32	96	54	56	54
query33	650	243	240	240
query34	971	488	484	484
query35	815	697	714	697
query36	995	868	862	862
query37	291	71	72	71
query38	3272	3164	3163	3163
query39	1612	1559	1521	1521
query40	294	129	126	126
query41	46	47	44	44
query42	115	102	103	102
query43	437	432	419	419
query44	1112	719	713	713
query45	276	261	265	261
query46	1069	795	775	775
query47	1890	1806	1778	1778
query48	372	307	295	295
query49	1151	367	360	360
query50	802	388	388	388
query51	6812	6820	6732	6732
query52	105	96	95	95
query53	365	286	294	286
query54	288	233	241	233
query55	84	76	76	76
query56	245	225	235	225
query57	1227	1150	1142	1142
query58	244	214	211	211
query59	2552	2304	2456	2304
query60	278	254	242	242
query61	108	111	105	105
query62	686	444	450	444
query63	307	284	280	280
query64	6493	3208	3243	3208
query65	3055	2988	3026	2988
query66	1461	331	335	331
query67	15422	15488	15262	15262
query68	4622	556	578	556
query69	477	313	304	304
query70	1169	1114	1146	1114
query71	418	270	288	270
query72	6305	2713	2537	2537
query73	738	325	323	323
query74	6717	6405	6269	6269
query75	3420	2732	2742	2732
query76	3120	1100	1237	1100
query77	401	249	256	249
query78	10992	10124	10114	10114
query79	8926	530	534	530
query80	2011	414	412	412
query81	523	234	239	234
query82	1080	98	95	95
query83	304	167	174	167
query84	268	86	88	86
query85	1981	278	265	265
query86	479	285	269	269
query87	3449	3304	3280	3280
query88	4359	2349	2356	2349
query89	571	387	385	385
query90	2044	182	184	182
query91	131	100	104	100
query92	59	48	48	48
query93	6674	541	527	527
query94	1210	177	178	177
query95	419	328	318	318
query96	621	273	277	273
query97	4125	4012	3970	3970
query98	232	225	207	207
query99	1271	827	860	827
Total cold run time: 292352 ms
Total hot run time: 182934 ms

@Mryange
Copy link
Contributor Author

Mryange commented Apr 11, 2024

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

return Status::OK();
}

bool DistinctStreamingAggOperatorX::need_more_input_data(RuntimeState* state) const {
auto& local_state = get_local_state(state);
return local_state._aggregated_block->empty() && !local_state._child_eos &&
(_limit == -1 || local_state._output_distinct_rows < _limit);
const bool need_batch = local_state._stop_emplace_flag
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method 'need_more_input_data' can be made static [readability-convert-member-functions-to-static]

Suggested change
const bool need_batch = local_state._stop_emplace_flag
bool DistinctStreamingAggOperatorX::need_more_input_data(RuntimeState* state) {

be/src/pipeline/exec/distinct_streaming_aggregation_operator.h:105:

-     bool need_more_input_data(RuntimeState* state) const override;
+     static bool need_more_input_data(RuntimeState* state) override;

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.56% (8903/25037)
Line Coverage: 27.29% (73109/267875)
Region Coverage: 26.41% (37811/143173)
Branch Coverage: 23.19% (19269/83092)
Coverage Report: http://coverage.selectdb-in.cc/coverage/050e72917d9f0c2f0a643096d230bef25ae07930_050e72917d9f0c2f0a643096d230bef25ae07930/report/index.html

@Mryange
Copy link
Contributor Author

Mryange commented Apr 11, 2024

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

return Status::OK();
}

Status DistinctStreamingAggLocalState::open(RuntimeState* state) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method 'open' can be made static [readability-convert-member-functions-to-static]

Suggested change
Status DistinctStreamingAggLocalState::open(RuntimeState* state) {
static Status DistinctStreamingAggLocalState::open(RuntimeState* state) {

@Mryange
Copy link
Contributor Author

Mryange commented Apr 11, 2024

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.58% (8906/25030)
Line Coverage: 27.30% (73107/267749)
Region Coverage: 26.44% (37807/143013)
Branch Coverage: 23.20% (19268/83066)
Coverage Report: http://coverage.selectdb-in.cc/coverage/0db201c93f820b28c0820440ac0f3d05ccc592fc_0db201c93f820b28c0820440ac0f3d05ccc592fc/report/index.html

@Mryange
Copy link
Contributor Author

Mryange commented Apr 11, 2024

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.58% (8905/25030)
Line Coverage: 27.30% (73109/267754)
Region Coverage: 26.44% (37807/143015)
Branch Coverage: 23.20% (19269/83066)
Coverage Report: http://coverage.selectdb-in.cc/coverage/0db201c93f820b28c0820440ac0f3d05ccc592fc_0db201c93f820b28c0820440ac0f3d05ccc592fc/report/index.html

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 11, 2024
@Mryange
Copy link
Contributor Author

Mryange commented Apr 12, 2024

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.58% (8906/25030)
Line Coverage: 27.31% (73124/267775)
Region Coverage: 26.44% (37819/143024)
Branch Coverage: 23.20% (19271/83072)
Coverage Report: http://coverage.selectdb-in.cc/coverage/0db201c93f820b28c0820440ac0f3d05ccc592fc_0db201c93f820b28c0820440ac0f3d05ccc592fc/report/index.html

@Mryange
Copy link
Contributor Author

Mryange commented Apr 14, 2024

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 39195 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 0db201c93f820b28c0820440ac0f3d05ccc592fc, data reload: false

------ Round 1 ----------------------------------
q1	17610	4510	4353	4353
q2	2014	201	194	194
q3	10406	1259	1209	1209
q4	10198	729	776	729
q5	7553	2743	2627	2627
q6	218	136	136	136
q7	1044	648	597	597
q8	9216	2101	2067	2067
q9	8030	6639	6570	6570
q10	8600	3567	3544	3544
q11	462	249	255	249
q12	530	223	228	223
q13	18945	3029	3016	3016
q14	287	239	246	239
q15	520	479	478	478
q16	526	410	404	404
q17	980	714	780	714
q18	7391	6920	6826	6826
q19	5951	1540	1530	1530
q20	710	327	329	327
q21	3698	2841	2875	2841
q22	387	322	322	322
Total cold run time: 115276 ms
Total hot run time: 39195 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4424	4273	4294	4273
q2	376	273	253	253
q3	2998	2821	2792	2792
q4	1937	1625	1622	1622
q5	5357	5334	5371	5334
q6	212	125	125	125
q7	2270	1891	1957	1891
q8	3219	3341	3340	3340
q9	8688	8628	8891	8628
q10	4104	4071	3997	3997
q11	629	517	520	517
q12	794	621	656	621
q13	17603	3156	3137	3137
q14	332	285	298	285
q15	523	480	478	478
q16	501	479	500	479
q17	1826	1547	1504	1504
q18	8195	7979	7767	7767
q19	1709	1581	1584	1581
q20	2086	1860	1845	1845
q21	5178	5011	5003	5003
q22	607	475	463	463
Total cold run time: 73568 ms
Total hot run time: 55935 ms

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.57% (8905/25037)
Line Coverage: 27.30% (73131/267855)
Region Coverage: 26.43% (37815/143069)
Branch Coverage: 23.19% (19264/83084)
Coverage Report: http://coverage.selectdb-in.cc/coverage/0db201c93f820b28c0820440ac0f3d05ccc592fc_0db201c93f820b28c0820440ac0f3d05ccc592fc/report/index.html

@doris-robot
Copy link

TPC-DS: Total hot run time: 186973 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 0db201c93f820b28c0820440ac0f3d05ccc592fc, data reload: false

query1	874	1122	1112	1112
query2	7556	2744	2526	2526
query3	6649	217	217	217
query4	36913	21560	21565	21560
query5	4323	421	411	411
query6	241	197	180	180
query7	4044	307	302	302
query8	217	174	182	174
query9	5947	2524	2517	2517
query10	385	272	251	251
query11	14678	14292	14202	14202
query12	144	92	89	89
query13	981	380	374	374
query14	8594	6928	6967	6928
query15	209	187	184	184
query16	7200	281	269	269
query17	1561	598	581	581
query18	1507	298	288	288
query19	214	159	166	159
query20	97	95	90	90
query21	196	131	130	130
query22	5085	4859	4847	4847
query23	33972	33080	33487	33080
query24	6980	3072	3089	3072
query25	531	417	420	417
query26	818	175	179	175
query27	2582	379	411	379
query28	4563	2321	2268	2268
query29	884	682	650	650
query30	231	184	181	181
query31	963	740	768	740
query32	64	57	54	54
query33	524	266	273	266
query34	950	508	518	508
query35	834	777	745	745
query36	1132	970	971	970
query37	116	76	75	75
query38	3483	3403	3349	3349
query39	1638	1571	1589	1571
query40	181	134	131	131
query41	58	48	48	48
query42	110	101	108	101
query43	619	584	585	584
query44	1256	795	807	795
query45	290	261	293	261
query46	1128	830	771	771
query47	2093	1994	2023	1994
query48	411	327	336	327
query49	727	395	391	391
query50	802	417	407	407
query51	6892	6775	6794	6775
query52	106	95	95	95
query53	354	278	282	278
query54	263	244	234	234
query55	81	75	80	75
query56	257	231	230	230
query57	1232	1189	1142	1142
query58	225	216	220	216
query59	3693	3300	3287	3287
query60	256	239	244	239
query61	91	92	107	92
query62	542	449	437	437
query63	305	279	283	279
query64	4147	3932	3931	3931
query65	3067	3072	3043	3043
query66	754	317	318	317
query67	15841	15445	15122	15122
query68	10692	597	596	596
query69	614	313	310	310
query70	1347	1215	1224	1215
query71	509	280	282	280
query72	6460	2618	2425	2425
query73	1567	346	339	339
query74	6982	6403	6373	6373
query75	4027	2681	2670	2670
query76	6507	1120	1123	1120
query77	605	253	251	251
query78	11033	10266	10100	10100
query79	11650	542	541	541
query80	2704	437	425	425
query81	564	230	239	230
query82	247	103	100	100
query83	224	175	181	175
query84	264	85	88	85
query85	1154	266	258	258
query86	356	307	293	293
query87	3450	3265	3256	3256
query88	6693	2451	2564	2451
query89	517	370	377	370
query90	2315	175	176	175
query91	120	98	97	97
query92	68	81	50	50
query93	6669	546	542	542
query94	1645	190	183	183
query95	394	298	301	298
query96	639	271	274	271
query97	3118	2925	2945	2925
query98	256	223	227	223
query99	1092	853	865	853
Total cold run time: 308143 ms
Total hot run time: 186973 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 31.27 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 0db201c93f820b28c0820440ac0f3d05ccc592fc, data reload: false

query1	0.04	0.04	0.03
query2	0.07	0.04	0.03
query3	0.23	0.05	0.04
query4	1.67	0.07	0.07
query5	0.49	0.49	0.50
query6	1.46	0.73	0.72
query7	0.02	0.01	0.01
query8	0.04	0.04	0.04
query9	0.56	0.52	0.50
query10	0.55	0.55	0.56
query11	0.17	0.12	0.11
query12	0.15	0.12	0.13
query13	0.60	0.58	0.59
query14	0.74	0.80	0.77
query15	0.83	0.81	0.82
query16	0.38	0.37	0.36
query17	0.95	0.98	1.01
query18	0.24	0.24	0.25
query19	1.86	1.76	1.71
query20	0.02	0.01	0.01
query21	15.41	0.67	0.66
query22	3.90	7.00	2.56
query23	18.31	1.26	1.24
query24	1.54	0.35	0.22
query25	0.15	0.08	0.08
query26	0.27	0.17	0.17
query27	0.08	0.07	0.08
query28	13.37	1.01	0.99
query29	12.56	3.44	3.42
query30	0.25	0.08	0.05
query31	2.83	0.38	0.37
query32	3.30	0.48	0.46
query33	2.82	2.86	2.87
query34	17.24	4.39	4.43
query35	4.45	4.54	4.52
query36	0.64	0.47	0.46
query37	0.19	0.16	0.15
query38	0.15	0.15	0.15
query39	0.05	0.04	0.04
query40	0.16	0.13	0.14
query41	0.11	0.05	0.04
query42	0.05	0.04	0.05
query43	0.04	0.03	0.04
Total cold run time: 108.94 s
Total hot run time: 31.27 s

@doris-robot
Copy link

Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'

Load test result on commit 0db201c93f820b28c0820440ac0f3d05ccc592fc with default session variables
Stream load json:         18 seconds loaded 2358488459 Bytes, about 124 MB/s
Stream load orc:          60 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet:      33 seconds loaded 861443392 Bytes, about 24 MB/s
Insert into select:       13.6 seconds inserted 10000000 Rows, about 735K ops/s

@Gabriel39 Gabriel39 merged commit 7c0669e into apache:master Apr 15, 2024
25 of 29 checks passed
yiguolei pushed a commit that referenced this pull request Apr 16, 2024
yiguolei pushed a commit that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants