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

[Feature](Prepared Statement) fix and enable enable_server_side_prepared_statement by default #36581

Merged
merged 5 commits into from
Jun 25, 2024

Conversation

eldenmoon
Copy link
Member

@eldenmoon eldenmoon commented Jun 20, 2024

  1. fix insert with label should not go server side prepared
  2. add max_prepared_stmt_count sessoin var to avoid too many prepared statements

Proposed changes

Issue Number: close #xxx

@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.

@eldenmoon
Copy link
Member Author

run buildall

@eldenmoon eldenmoon changed the title [Feature](Prepared Statement) fix and enable enable_server_side_prepa… [Feature](Prepared Statement) fix and enable enable_server_side_prepared_statement by default Jun 20, 2024
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17628	4327	4271	4271
q2	2032	215	201	201
q3	10448	1159	1033	1033
q4	10196	860	850	850
q5	7544	2635	2607	2607
q6	222	138	138	138
q7	948	611	616	611
q8	9221	2047	2082	2047
q9	8649	6465	6425	6425
q10	8989	3732	3711	3711
q11	468	236	248	236
q12	430	242	228	228
q13	17751	2983	2971	2971
q14	274	230	235	230
q15	512	489	476	476
q16	505	386	375	375
q17	955	701	666	666
q18	8141	7519	7335	7335
q19	5472	1403	1466	1403
q20	651	325	342	325
q21	4842	3183	3962	3183
q22	390	335	330	330
Total cold run time: 116268 ms
Total hot run time: 39652 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4428	4268	4262	4262
q2	367	266	269	266
q3	2985	2882	2937	2882
q4	1995	1775	1753	1753
q5	5707	5579	5511	5511
q6	216	131	132	131
q7	2211	1885	1890	1885
q8	3334	3422	3389	3389
q9	8812	8789	8950	8789
q10	4238	4123	3960	3960
q11	586	499	494	494
q12	862	681	671	671
q13	16446	3389	3397	3389
q14	325	286	285	285
q15	543	501	487	487
q16	523	474	438	438
q17	1857	1532	1512	1512
q18	8301	8332	7873	7873
q19	2865	1704	1613	1613
q20	2126	1878	1885	1878
q21	5881	4962	5072	4962
q22	583	535	545	535
Total cold run time: 75191 ms
Total hot run time: 56965 ms

@doris-robot
Copy link

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

query1	957	391	376	376
query2	6445	2408	2189	2189
query3	6636	219	202	202
query4	19123	17225	17352	17225
query5	3557	492	475	475
query6	233	168	168	168
query7	4577	308	294	294
query8	308	281	282	281
query9	8542	2405	2406	2405
query10	568	290	284	284
query11	10414	10222	10045	10045
query12	125	89	86	86
query13	1634	352	363	352
query14	8905	7794	6978	6978
query15	258	191	193	191
query16	8061	269	265	265
query17	1866	553	558	553
query18	2163	291	283	283
query19	212	165	149	149
query20	93	85	85	85
query21	214	134	132	132
query22	4608	4515	4358	4358
query23	34222	33409	33563	33409
query24	10801	2798	2855	2798
query25	620	380	372	372
query26	1142	156	152	152
query27	2355	322	315	315
query28	7160	2046	2039	2039
query29	885	626	630	626
query30	240	149	151	149
query31	955	730	758	730
query32	92	53	55	53
query33	757	289	296	289
query34	888	472	460	460
query35	728	622	610	610
query36	1107	982	925	925
query37	137	71	73	71
query38	2883	2738	2773	2738
query39	875	818	837	818
query40	216	123	127	123
query41	54	54	53	53
query42	118	101	101	101
query43	578	551	526	526
query44	1200	734	741	734
query45	196	164	165	164
query46	1076	720	712	712
query47	1880	1767	1784	1767
query48	372	304	301	301
query49	865	415	420	415
query50	778	385	374	374
query51	6755	6617	6639	6617
query52	106	93	92	92
query53	359	293	294	293
query54	931	461	450	450
query55	73	74	77	74
query56	299	285	281	281
query57	1118	1046	1060	1046
query58	271	264	269	264
query59	3458	3278	3305	3278
query60	310	287	305	287
query61	118	116	109	109
query62	606	438	453	438
query63	329	299	296	296
query64	8950	2416	1905	1905
query65	3152	3083	3096	3083
query66	742	320	317	317
query67	15730	15067	15067	15067
query68	8395	533	541	533
query69	711	435	402	402
query70	1425	1150	1087	1087
query71	530	273	314	273
query72	9067	5026	5727	5026
query73	2140	322	318	318
query74	6012	5459	5458	5458
query75	5352	2635	2638	2635
query76	5093	894	981	894
query77	763	306	294	294
query78	10479	9834	9637	9637
query79	8269	516	511	511
query80	1083	469	458	458
query81	542	222	226	222
query82	760	105	103	103
query83	338	166	164	164
query84	260	83	82	82
query85	1396	268	277	268
query86	401	326	324	324
query87	3295	3087	3062	3062
query88	4346	2348	2375	2348
query89	530	387	388	387
query90	1966	187	185	185
query91	125	96	97	96
query92	60	49	47	47
query93	6730	493	496	493
query94	1192	178	183	178
query95	392	306	306	306
query96	599	268	262	262
query97	3203	3035	3060	3035
query98	216	206	194	194
query99	1182	825	868	825
Total cold run time: 292838 ms
Total hot run time: 173204 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.08	0.04	0.04
query3	0.22	0.05	0.04
query4	1.69	0.10	0.09
query5	0.50	0.50	0.49
query6	1.12	0.72	0.72
query7	0.02	0.02	0.01
query8	0.06	0.05	0.04
query9	0.55	0.50	0.50
query10	0.55	0.55	0.54
query11	0.16	0.11	0.12
query12	0.14	0.12	0.12
query13	0.59	0.59	0.60
query14	0.76	0.77	0.77
query15	0.84	0.82	0.81
query16	0.35	0.36	0.37
query17	1.04	1.02	1.02
query18	0.23	0.24	0.25
query19	1.83	1.72	1.77
query20	0.02	0.01	0.01
query21	15.43	0.65	0.66
query22	4.83	7.36	1.57
query23	18.28	1.40	1.31
query24	2.08	0.25	0.20
query25	0.16	0.09	0.08
query26	0.26	0.17	0.17
query27	0.09	0.08	0.08
query28	13.21	1.02	1.00
query29	12.66	3.22	3.23
query30	0.26	0.06	0.06
query31	2.87	0.39	0.38
query32	3.28	0.47	0.46
query33	2.84	2.96	2.95
query34	17.12	4.47	4.45
query35	4.54	4.54	4.49
query36	0.65	0.51	0.46
query37	0.19	0.15	0.15
query38	0.15	0.15	0.14
query39	0.05	0.03	0.04
query40	0.17	0.15	0.13
query41	0.09	0.04	0.05
query42	0.06	0.04	0.04
query43	0.04	0.04	0.04
Total cold run time: 110.1 s
Total hot run time: 30.35 s

@eldenmoon
Copy link
Member Author

run buildall

@eldenmoon
Copy link
Member Author

run buildall

@eldenmoon
Copy link
Member Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17636	4440	4317	4317
q2	2036	194	197	194
q3	10459	1117	1154	1117
q4	10196	791	819	791
q5	7540	2695	2664	2664
q6	222	137	135	135
q7	955	616	596	596
q8	9236	2071	2087	2071
q9	8909	6518	6506	6506
q10	9007	3773	3743	3743
q11	514	231	244	231
q12	421	234	236	234
q13	17769	2998	3014	2998
q14	256	220	230	220
q15	509	467	474	467
q16	535	393	380	380
q17	967	753	746	746
q18	8098	7536	7430	7430
q19	4798	1602	1393	1393
q20	666	318	312	312
q21	5106	3955	3994	3955
q22	404	333	330	330
Total cold run time: 116239 ms
Total hot run time: 40830 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4452	4245	4212	4212
q2	370	269	256	256
q3	2958	3006	2892	2892
q4	1992	1719	1819	1719
q5	5612	5533	5474	5474
q6	221	132	141	132
q7	2170	1888	1824	1824
q8	3314	3425	3451	3425
q9	8727	8708	8911	8708
q10	4096	3886	3810	3810
q11	611	513	508	508
q12	802	633	646	633
q13	16963	3196	3172	3172
q14	294	293	280	280
q15	533	486	482	482
q16	511	441	442	441
q17	1843	1515	1475	1475
q18	8177	8012	8051	8012
q19	5207	1672	1679	1672
q20	2129	1908	1861	1861
q21	5206	5041	4878	4878
q22	637	530	542	530
Total cold run time: 76825 ms
Total hot run time: 56396 ms

@doris-robot
Copy link

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

query1	935	397	380	380
query2	6700	2445	2235	2235
query3	6639	210	215	210
query4	19208	17316	17400	17316
query5	3632	486	487	486
query6	238	173	162	162
query7	4598	304	304	304
query8	328	283	277	277
query9	8416	2457	2439	2439
query10	578	348	288	288
query11	10684	10138	10045	10045
query12	124	91	83	83
query13	1627	362	353	353
query14	10112	7151	7686	7151
query15	235	186	188	186
query16	7743	271	270	270
query17	1710	563	523	523
query18	1944	268	280	268
query19	202	157	156	156
query20	92	94	83	83
query21	208	134	125	125
query22	4422	4051	4049	4049
query23	33902	33607	33897	33607
query24	11855	2881	2886	2881
query25	631	385	396	385
query26	1691	161	165	161
query27	3195	335	332	332
query28	7870	2160	2124	2124
query29	1121	659	636	636
query30	274	154	161	154
query31	976	747	780	747
query32	92	59	56	56
query33	753	290	312	290
query34	1079	485	496	485
query35	817	646	633	633
query36	1150	960	967	960
query37	171	78	75	75
query38	2985	2809	2800	2800
query39	891	794	826	794
query40	257	125	122	122
query41	52	54	49	49
query42	123	97	104	97
query43	598	557	543	543
query44	1203	728	741	728
query45	195	161	176	161
query46	1080	727	751	727
query47	1861	1776	1846	1776
query48	360	295	289	289
query49	904	403	411	403
query50	769	394	413	394
query51	6981	6756	6847	6756
query52	110	86	94	86
query53	354	290	295	290
query54	908	442	436	436
query55	77	76	72	72
query56	283	261	268	261
query57	1142	1066	1082	1066
query58	252	256	239	239
query59	3409	3078	3067	3067
query60	293	274	284	274
query61	92	87	88	87
query62	621	437	443	437
query63	314	302	296	296
query64	9708	2252	1771	1771
query65	3177	3109	3112	3109
query66	1245	338	332	332
query67	15785	14983	15053	14983
query68	4503	529	534	529
query69	602	403	375	375
query70	1179	1126	1125	1125
query71	465	287	285	285
query72	7217	5941	5628	5628
query73	763	325	326	325
query74	5988	5546	5577	5546
query75	3476	2681	2651	2651
query76	2860	978	900	900
query77	628	305	302	302
query78	10578	9838	9883	9838
query79	2435	517	518	517
query80	881	483	480	480
query81	557	223	218	218
query82	799	109	101	101
query83	268	172	171	171
query84	237	85	86	85
query85	1357	286	277	277
query86	461	308	320	308
query87	3300	3141	3159	3141
query88	4048	2356	2348	2348
query89	496	390	390	390
query90	1654	195	193	193
query91	131	113	105	105
query92	64	51	51	51
query93	1997	501	494	494
query94	1069	192	198	192
query95	409	325	316	316
query96	582	262	268	262
query97	3288	3054	3004	3004
query98	297	211	199	199
query99	1093	852	887	852
Total cold run time: 275663 ms
Total hot run time: 174568 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.03
query2	0.07	0.04	0.04
query3	0.23	0.05	0.05
query4	1.68	0.07	0.07
query5	0.51	0.48	0.49
query6	1.12	0.73	0.73
query7	0.03	0.02	0.01
query8	0.05	0.04	0.05
query9	0.53	0.49	0.49
query10	0.54	0.54	0.54
query11	0.16	0.11	0.11
query12	0.14	0.12	0.12
query13	0.59	0.59	0.61
query14	0.76	0.78	0.78
query15	0.83	0.81	0.81
query16	0.36	0.38	0.34
query17	0.97	1.04	1.03
query18	0.21	0.27	0.23
query19	1.91	1.82	1.73
query20	0.02	0.01	0.00
query21	15.42	0.67	0.67
query22	4.07	6.74	2.96
query23	18.29	1.39	1.30
query24	2.09	0.24	0.22
query25	0.15	0.08	0.08
query26	0.26	0.18	0.18
query27	0.08	0.08	0.08
query28	13.28	1.03	1.00
query29	12.59	3.31	3.32
query30	0.27	0.06	0.08
query31	2.85	0.39	0.38
query32	3.28	0.47	0.48
query33	2.88	2.86	2.91
query34	17.24	4.51	4.43
query35	4.52	4.46	4.50
query36	0.65	0.49	0.48
query37	0.18	0.15	0.16
query38	0.15	0.15	0.15
query39	0.05	0.04	0.04
query40	0.18	0.14	0.14
query41	0.10	0.05	0.04
query42	0.06	0.05	0.05
query43	0.05	0.04	0.04
Total cold run time: 109.43 s
Total hot run time: 31.77 s

@eldenmoon
Copy link
Member Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17612	4471	4225	4225
q2	2031	189	188	188
q3	10452	1075	1026	1026
q4	10182	817	839	817
q5	7500	2645	2581	2581
q6	219	132	133	132
q7	961	595	594	594
q8	9209	2028	2063	2028
q9	9061	6472	6448	6448
q10	9043	3739	3710	3710
q11	459	239	238	238
q12	460	230	226	226
q13	17989	2962	2965	2962
q14	266	212	223	212
q15	526	478	484	478
q16	519	385	369	369
q17	957	717	632	632
q18	7966	7516	7381	7381
q19	4237	1391	1560	1391
q20	643	310	325	310
q21	4907	3097	3993	3097
q22	389	334	341	334
Total cold run time: 115588 ms
Total hot run time: 39379 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4383	4269	4239	4239
q2	369	262	267	262
q3	2990	2794	2924	2794
q4	2012	1683	1692	1683
q5	5576	5499	5464	5464
q6	216	127	127	127
q7	2169	1842	1935	1842
q8	3283	3381	3393	3381
q9	8661	8614	8765	8614
q10	4120	3882	3836	3836
q11	572	491	479	479
q12	794	604	639	604
q13	16182	3161	3191	3161
q14	308	275	267	267
q15	526	482	491	482
q16	501	426	441	426
q17	1812	1515	1480	1480
q18	8050	7891	7993	7891
q19	1826	1718	1665	1665
q20	3062	1905	1855	1855
q21	5208	5027	4852	4852
q22	616	538	561	538
Total cold run time: 73236 ms
Total hot run time: 55942 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 171158 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 03c640b90eb83342f0358ef1617c9537407317cc, data reload: false

query1	930	369	374	369
query2	6455	2396	2412	2396
query3	6662	208	215	208
query4	19850	17132	17211	17132
query5	3583	463	463	463
query6	237	162	161	161
query7	4584	287	296	287
query8	344	296	293	293
query9	8444	2452	2436	2436
query10	571	292	282	282
query11	10507	9985	10038	9985
query12	120	89	84	84
query13	1645	371	360	360
query14	9313	7626	7761	7626
query15	233	192	205	192
query16	7530	256	257	256
query17	1939	539	505	505
query18	1442	270	266	266
query19	196	148	153	148
query20	90	82	83	82
query21	209	135	124	124
query22	4297	4210	4042	4042
query23	33596	33603	33603	33603
query24	10555	2943	2889	2889
query25	595	361	412	361
query26	720	169	151	151
query27	2271	323	316	316
query28	6090	2145	2145	2145
query29	878	674	619	619
query30	252	157	156	156
query31	969	735	735	735
query32	90	54	55	54
query33	662	297	275	275
query34	913	481	469	469
query35	759	619	607	607
query36	1130	951	978	951
query37	149	81	80	80
query38	2976	2851	2839	2839
query39	896	863	831	831
query40	211	130	148	130
query41	53	62	64	62
query42	111	101	103	101
query43	611	554	547	547
query44	1094	731	736	731
query45	199	172	164	164
query46	1075	761	688	688
query47	1863	1776	1761	1761
query48	371	298	290	290
query49	839	400	402	400
query50	759	396	391	391
query51	6945	6792	6720	6720
query52	104	88	97	88
query53	359	294	282	282
query54	906	465	435	435
query55	73	74	72	72
query56	287	261	254	254
query57	1121	1044	1053	1044
query58	245	253	241	241
query59	3322	3183	3207	3183
query60	305	267	278	267
query61	91	89	96	89
query62	635	453	446	446
query63	319	282	286	282
query64	8514	2228	1772	1772
query65	3251	3087	3053	3053
query66	734	322	332	322
query67	15339	14863	14733	14733
query68	6083	532	522	522
query69	650	457	395	395
query70	1144	1134	1095	1095
query71	496	269	268	268
query72	7197	5841	2737	2737
query73	816	322	332	322
query74	5791	5446	5500	5446
query75	3798	2649	2669	2649
query76	3904	947	964	947
query77	684	296	292	292
query78	10452	9833	9705	9705
query79	2373	510	516	510
query80	1588	498	459	459
query81	525	222	215	215
query82	759	104	101	101
query83	222	166	160	160
query84	267	85	87	85
query85	1199	288	276	276
query86	453	297	285	285
query87	3272	3052	3058	3052
query88	3837	2343	2335	2335
query89	463	376	384	376
query90	1735	189	188	188
query91	129	96	98	96
query92	57	48	47	47
query93	2834	496	511	496
query94	1039	188	183	183
query95	445	306	315	306
query96	598	268	266	266
query97	3267	3002	3033	3002
query98	221	202	199	199
query99	1176	834	817	817
Total cold run time: 269892 ms
Total hot run time: 171158 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.07	0.04	0.04
query3	0.23	0.04	0.05
query4	1.67	0.08	0.08
query5	0.50	0.48	0.47
query6	1.14	0.73	0.72
query7	0.02	0.01	0.01
query8	0.06	0.05	0.04
query9	0.55	0.50	0.50
query10	0.54	0.59	0.54
query11	0.15	0.11	0.10
query12	0.15	0.13	0.12
query13	0.60	0.59	0.60
query14	0.79	0.77	0.78
query15	0.84	0.81	0.82
query16	0.37	0.37	0.36
query17	0.95	1.00	1.01
query18	0.22	0.26	0.24
query19	1.80	1.71	1.73
query20	0.02	0.01	0.01
query21	15.44	0.67	0.67
query22	4.17	6.98	2.11
query23	18.31	1.34	1.20
query24	2.11	0.25	0.21
query25	0.15	0.08	0.09
query26	0.26	0.20	0.17
query27	0.08	0.08	0.07
query28	13.27	1.01	1.01
query29	12.61	3.31	3.30
query30	0.26	0.06	0.06
query31	2.84	0.38	0.38
query32	3.29	0.47	0.47
query33	2.88	2.93	2.94
query34	17.12	4.39	4.41
query35	4.49	4.44	4.51
query36	0.66	0.48	0.46
query37	0.19	0.15	0.16
query38	0.15	0.14	0.15
query39	0.05	0.04	0.04
query40	0.18	0.14	0.14
query41	0.10	0.05	0.04
query42	0.07	0.05	0.05
query43	0.04	0.04	0.04
Total cold run time: 109.43 s
Total hot run time: 30.73 s

@eldenmoon
Copy link
Member Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17859	5331	4434	4434
q2	2304	192	200	192
q3	10510	1106	1074	1074
q4	10210	801	840	801
q5	7477	2664	2637	2637
q6	227	137	139	137
q7	948	615	593	593
q8	9216	2055	2057	2055
q9	8933	6487	6432	6432
q10	8906	3766	3737	3737
q11	436	243	228	228
q12	416	224	230	224
q13	17767	2966	2959	2959
q14	268	229	230	229
q15	521	485	487	485
q16	528	379	399	379
q17	953	627	715	627
q18	8003	7510	7406	7406
q19	5512	1528	1486	1486
q20	650	319	343	319
q21	4904	3830	3855	3830
q22	410	328	345	328
Total cold run time: 116958 ms
Total hot run time: 40592 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4369	4355	4295	4295
q2	363	269	262	262
q3	2942	2686	2740	2686
q4	1883	1607	1596	1596
q5	5264	5254	5235	5235
q6	217	127	128	127
q7	2119	1707	1734	1707
q8	3132	3308	3299	3299
q9	8309	8382	8304	8304
q10	3901	3691	3637	3637
q11	588	506	498	498
q12	777	559	589	559
q13	16404	3004	2976	2976
q14	300	263	250	250
q15	527	483	475	475
q16	471	408	431	408
q17	1761	1489	1486	1486
q18	7528	7396	7367	7367
q19	1705	1503	1596	1503
q20	2031	1758	1792	1758
q21	4832	4774	4761	4761
q22	594	533	543	533
Total cold run time: 70017 ms
Total hot run time: 53722 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 172487 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 95666dde0c05b10adcef0a3d8450291dc43e1f61, data reload: false

query1	926	384	370	370
query2	6466	2386	2333	2333
query3	6651	209	213	209
query4	18724	17216	17419	17216
query5	4132	494	467	467
query6	247	155	161	155
query7	4581	294	286	286
query8	305	299	294	294
query9	8496	2451	2438	2438
query10	629	290	273	273
query11	10461	10213	10097	10097
query12	145	88	85	85
query13	1642	370	362	362
query14	8488	7149	6801	6801
query15	238	179	184	179
query16	7829	256	255	255
query17	1516	539	507	507
query18	1967	266	270	266
query19	191	153	157	153
query20	95	83	83	83
query21	218	136	123	123
query22	4218	4137	3957	3957
query23	33646	33110	33115	33110
query24	12319	2854	2819	2819
query25	668	350	358	350
query26	1834	147	155	147
query27	3138	313	308	308
query28	7791	2066	2053	2053
query29	1144	626	623	623
query30	274	152	155	152
query31	925	751	748	748
query32	96	54	56	54
query33	770	280	276	276
query34	999	485	462	462
query35	729	603	627	603
query36	1103	897	916	897
query37	299	71	70	70
query38	2862	2740	2722	2722
query39	853	804	808	804
query40	280	130	124	124
query41	56	48	52	48
query42	121	99	101	99
query43	574	552	565	552
query44	1233	727	724	724
query45	192	172	161	161
query46	1090	736	723	723
query47	1852	1797	1771	1771
query48	359	306	295	295
query49	1250	403	397	397
query50	762	376	386	376
query51	6984	6801	6701	6701
query52	106	88	107	88
query53	365	296	288	288
query54	927	430	430	430
query55	73	72	71	71
query56	276	257	263	257
query57	1150	1056	1066	1056
query58	252	234	259	234
query59	3482	3352	3222	3222
query60	303	275	276	275
query61	97	89	92	89
query62	658	454	448	448
query63	318	293	284	284
query64	9924	2252	1679	1679
query65	3198	3133	3101	3101
query66	1383	342	333	333
query67	15304	15066	14927	14927
query68	4483	543	517	517
query69	458	302	300	300
query70	1088	1142	1124	1124
query71	403	274	268	268
query72	7164	5600	5296	5296
query73	742	319	321	319
query74	5957	5635	5493	5493
query75	3513	2656	2710	2656
query76	2869	951	935	935
query77	428	303	290	290
query78	10356	9906	9825	9825
query79	2519	510	522	510
query80	1265	478	463	463
query81	594	221	223	221
query82	767	104	106	104
query83	256	172	175	172
query84	244	85	86	85
query85	1824	287	271	271
query86	481	323	310	310
query87	3239	3106	3084	3084
query88	4142	2355	2342	2342
query89	507	387	399	387
query90	1772	191	185	185
query91	129	100	98	98
query92	64	49	49	49
query93	1904	506	489	489
query94	1220	186	184	184
query95	408	306	316	306
query96	588	265	265	265
query97	3195	3098	3045	3045
query98	224	203	200	200
query99	1105	852	834	834
Total cold run time: 274092 ms
Total hot run time: 172487 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.02
query2	0.09	0.04	0.04
query3	0.22	0.05	0.05
query4	1.68	0.07	0.07
query5	0.49	0.50	0.49
query6	1.14	0.72	0.73
query7	0.02	0.01	0.02
query8	0.05	0.05	0.04
query9	0.55	0.49	0.50
query10	0.54	0.54	0.54
query11	0.15	0.12	0.11
query12	0.16	0.12	0.13
query13	0.59	0.58	0.60
query14	0.78	0.77	0.78
query15	0.83	0.82	0.81
query16	0.36	0.36	0.37
query17	1.05	1.03	1.03
query18	0.21	0.23	0.24
query19	1.88	1.72	1.73
query20	0.02	0.01	0.01
query21	15.46	0.67	0.67
query22	3.67	7.51	2.29
query23	18.29	1.36	1.36
query24	1.79	0.30	0.22
query25	0.16	0.08	0.09
query26	0.27	0.17	0.18
query27	0.08	0.09	0.08
query28	13.24	1.02	0.99
query29	12.60	3.25	3.27
query30	0.27	0.08	0.06
query31	2.83	0.39	0.39
query32	3.28	0.48	0.46
query33	2.94	2.89	2.91
query34	17.10	4.44	4.47
query35	4.52	4.52	4.50
query36	0.64	0.47	0.47
query37	0.19	0.16	0.15
query38	0.16	0.15	0.15
query39	0.04	0.04	0.04
query40	0.17	0.14	0.15
query41	0.09	0.05	0.05
query42	0.05	0.04	0.04
query43	0.05	0.03	0.04
Total cold run time: 108.74 s
Total hot run time: 31.13 s

Copy link
Contributor

@qidaye qidaye 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 Jun 25, 2024
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Member

@airborne12 airborne12 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

@lxr599 lxr599 left a comment

Choose a reason for hiding this comment

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

LGTM

@eldenmoon eldenmoon merged commit d01d5c7 into apache:master Jun 25, 2024
28 of 31 checks passed
eldenmoon added a commit to eldenmoon/incubator-doris that referenced this pull request Jun 25, 2024
…red_statement by default (apache#36581)

1. fix insert with label should not go server side prepared
2. add max_prepared_stmt_count sessoin var to avoid too many prepared
statements
@eldenmoon eldenmoon deleted the enable_ssp branch June 25, 2024 10:20
dataroaring pushed a commit that referenced this pull request Jun 26, 2024
…red_statement by default (#36581)

1. fix insert with label should not go server side prepared
2. add max_prepared_stmt_count sessoin var to avoid too many prepared
statements
eldenmoon added a commit to eldenmoon/incubator-doris that referenced this pull request Jun 28, 2024
…red_statement by default (apache#36581)

1. fix insert with label should not go server side prepared
2. add max_prepared_stmt_count sessoin var to avoid too many prepared
statements
eldenmoon added a commit to eldenmoon/incubator-doris that referenced this pull request Jun 28, 2024
…red_statement by default (apache#36581)

1. fix insert with label should not go server side prepared
2. add max_prepared_stmt_count sessoin var to avoid too many prepared
statements
eldenmoon added a commit that referenced this pull request Jul 1, 2024
@yiguolei yiguolei mentioned this pull request Jul 19, 2024
1 task
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. dev/2.1.5-merged dev/3.0.0-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants