Skip to content

Conversation

@mymeiyi
Copy link
Contributor

@mymeiyi mymeiyi commented Jan 3, 2025

pick #46206

…ct to observer (apache#46206)

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

if use prepared statement and connect to observer, will get:
```
detailMessage = Forward master command is not supported for prepare statement
```
@hello-stephen
Copy link
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?

@mymeiyi
Copy link
Contributor Author

mymeiyi commented Jan 3, 2025

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17590	7406	7329	7329
q2	2069	186	170	170
q3	10536	1066	1188	1066
q4	10586	762	695	695
q5	7733	2849	2797	2797
q6	234	149	150	149
q7	961	604	609	604
q8	9352	1911	2125	1911
q9	6564	6411	6404	6404
q10	7018	2268	2317	2268
q11	462	264	269	264
q12	405	212	210	210
q13	17775	2999	3035	2999
q14	249	211	209	209
q15	574	521	523	521
q16	695	614	600	600
q17	977	558	598	558
q18	7298	6769	6702	6702
q19	1388	1058	1174	1058
q20	471	215	204	204
q21	4141	3386	3280	3280
q22	1156	1030	1019	1019
Total cold run time: 108234 ms
Total hot run time: 41017 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7225	7215	7180	7180
q2	340	246	235	235
q3	3015	3038	3016	3016
q4	2184	1907	1864	1864
q5	5824	5730	5740	5730
q6	226	147	147	147
q7	2183	1834	1820	1820
q8	3335	3524	3464	3464
q9	8904	8896	8900	8896
q10	3588	3572	3528	3528
q11	590	492	499	492
q12	803	642	642	642
q13	11016	3200	3129	3129
q14	325	269	272	269
q15	580	512	522	512
q16	727	664	673	664
q17	1850	1604	1592	1592
q18	8192	7785	7546	7546
q19	1678	1644	1649	1644
q20	2087	1893	1835	1835
q21	5545	5347	5486	5347
q22	1185	1044	1054	1044
Total cold run time: 71402 ms
Total hot run time: 60596 ms

@doris-robot
Copy link

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

query1	1242	930	916	916
query2	6226	2194	2099	2099
query3	10933	4464	4282	4282
query4	66333	28906	23353	23353
query5	4992	444	446	444
query6	398	170	175	170
query7	5615	301	298	298
query8	314	232	229	229
query9	9305	2681	2687	2681
query10	462	276	252	252
query11	17415	15364	15941	15364
query12	154	106	108	106
query13	1514	440	452	440
query14	10690	7149	7285	7149
query15	212	189	184	184
query16	7108	498	506	498
query17	1233	593	601	593
query18	1840	333	338	333
query19	209	162	168	162
query20	125	108	109	108
query21	65	55	46	46
query22	4627	4610	4498	4498
query23	34788	34260	34163	34163
query24	6150	2836	2913	2836
query25	546	429	377	377
query26	646	168	167	167
query27	1702	301	305	301
query28	4617	2499	2477	2477
query29	683	439	419	419
query30	250	161	163	161
query31	1002	820	849	820
query32	77	62	63	62
query33	508	281	283	281
query34	892	520	504	504
query35	859	737	746	737
query36	1082	982	970	970
query37	123	89	78	78
query38	4111	3980	4098	3980
query39	1520	1469	1474	1469
query40	142	81	80	80
query41	47	46	47	46
query42	109	103	95	95
query43	542	516	518	516
query44	1170	819	825	819
query45	183	165	166	165
query46	1166	728	719	719
query47	1972	1910	1924	1910
query48	489	393	381	381
query49	726	400	388	388
query50	853	437	425	425
query51	7465	7169	7185	7169
query52	98	87	86	86
query53	252	176	175	175
query54	549	451	440	440
query55	78	75	75	75
query56	268	225	250	225
query57	1257	1116	1105	1105
query58	208	220	202	202
query59	3163	2989	2953	2953
query60	264	251	251	251
query61	107	103	106	103
query62	768	673	667	667
query63	215	184	196	184
query64	1384	685	654	654
query65	3255	3228	3205	3205
query66	705	297	303	297
query67	15956	15781	15578	15578
query68	3572	589	585	585
query69	436	253	261	253
query70	1192	1153	1077	1077
query71	337	254	281	254
query72	6304	4017	4025	4017
query73	759	345	339	339
query74	10174	8979	9059	8979
query75	3371	2693	2651	2651
query76	1916	1072	1110	1072
query77	504	281	279	279
query78	10497	9685	9612	9612
query79	1117	589	596	589
query80	742	433	445	433
query81	502	243	233	233
query82	211	116	115	115
query83	173	143	146	143
query84	287	79	78	78
query85	815	302	290	290
query86	314	293	302	293
query87	4389	4250	4288	4250
query88	4081	2387	2359	2359
query89	409	287	282	282
query90	2020	186	187	186
query91	175	146	142	142
query92	67	48	52	48
query93	1214	540	544	540
query94	763	299	285	285
query95	345	251	254	251
query96	609	279	279	279
query97	3326	3181	3214	3181
query98	207	193	199	193
query99	1588	1320	1290	1290
Total cold run time: 316375 ms
Total hot run time: 197498 ms

@doris-robot
Copy link

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

query1	0.03	0.03	0.04
query2	0.07	0.03	0.03
query3	0.23	0.07	0.06
query4	1.63	0.10	0.10
query5	0.52	0.53	0.52
query6	1.13	0.72	0.72
query7	0.02	0.01	0.01
query8	0.05	0.05	0.02
query9	0.56	0.51	0.51
query10	0.55	0.55	0.57
query11	0.14	0.10	0.11
query12	0.14	0.12	0.11
query13	0.62	0.59	0.59
query14	2.92	2.92	2.99
query15	0.90	0.83	0.82
query16	0.38	0.39	0.37
query17	1.04	0.98	1.04
query18	0.23	0.21	0.21
query19	1.95	1.92	1.81
query20	0.02	0.01	0.01
query21	15.36	0.58	0.58
query22	2.61	2.64	2.65
query23	17.00	0.97	0.71
query24	3.19	1.85	0.37
query25	0.20	0.04	0.17
query26	0.44	0.14	0.14
query27	0.05	0.05	0.06
query28	10.57	1.09	1.07
query29	12.56	3.26	3.22
query30	0.25	0.06	0.06
query31	2.85	0.39	0.38
query32	3.26	0.46	0.46
query33	2.99	3.04	3.04
query34	17.18	4.48	4.51
query35	4.57	4.54	4.57
query36	0.64	0.48	0.48
query37	0.09	0.06	0.06
query38	0.05	0.04	0.03
query39	0.04	0.02	0.02
query40	0.16	0.12	0.12
query41	0.08	0.02	0.03
query42	0.03	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 107.33 s
Total hot run time: 33.03 s

@dataroaring dataroaring merged commit 8d693cd into apache:branch-3.0 Jan 3, 2025
20 of 22 checks passed
hubgeter pushed a commit to hubgeter/doris that referenced this pull request Mar 12, 2025
@mymeiyi mymeiyi deleted the pick-46206 branch September 10, 2025 06:36
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.

4 participants