Skip to content

Conversation

@freemandealer
Copy link
Contributor

Topn lazy read only read the cache in cloud mode to reduce tablet cache read. fix #50803 failed to pass force_use_only_cached to tablet_mgr

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

@Thearas
Copy link
Contributor

Thearas commented Nov 14, 2025

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?

@freemandealer
Copy link
Contributor Author

run buildall

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 30.00% (3/10) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.81% (18282/34621)
Line Coverage 38.16% (166184/435441)
Region Coverage 33.17% (129237/389586)
Branch Coverage 33.89% (55430/163578)

@dataroaring
Copy link
Contributor

Pls add a test to avoid duplicated bug in the future.

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 70.00% (7/10) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.53% (24334/34021)
Line Coverage 58.00% (252959/436115)
Region Coverage 53.35% (210803/395097)
Branch Coverage 54.67% (90011/164653)

@freemandealer freemandealer changed the title [fix](cloud) reduce tablet cache read in topn query [fix](cloud) avoid broadcast file cache read in topn query Nov 15, 2025
@freemandealer freemandealer changed the title [fix](cloud) avoid broadcast file cache read in topn query [fix](cloud) avoid broadcast remote read in topn query Nov 15, 2025
gavinchou
gavinchou previously approved these changes Nov 15, 2025
@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Nov 15, 2025
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@deardeng deardeng left a comment

Choose a reason for hiding this comment

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

LGTM

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17589	5219	5063	5063
q2	2078	311	218	218
q3	10243	1377	740	740
q4	10250	952	366	366
q5	8144	2442	2328	2328
q6	220	166	134	134
q7	930	768	614	614
q8	9349	1393	1065	1065
q9	7061	5149	5157	5149
q10	6904	2252	1807	1807
q11	492	302	293	293
q12	374	367	237	237
q13	17768	3668	3034	3034
q14	231	234	218	218
q15	573	511	498	498
q16	1009	1003	950	950
q17	584	885	379	379
q18	8008	7102	7194	7102
q19	1105	936	566	566
q20	349	339	243	243
q21	4033	2578	2276	2276
q22	1075	1039	984	984
Total cold run time: 108369 ms
Total hot run time: 34264 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5208	5160	5176	5160
q2	251	331	230	230
q3	2176	2736	2333	2333
q4	1330	1783	1340	1340
q5	4206	4565	4434	4434
q6	220	171	138	138
q7	2015	2045	1859	1859
q8	2641	2643	2588	2588
q9	7399	7342	7360	7342
q10	3043	3291	2804	2804
q11	597	539	505	505
q12	725	788	621	621
q13	3573	3928	3258	3258
q14	295	320	275	275
q15	555	501	500	500
q16	1084	1102	1045	1045
q17	1248	1578	1486	1486
q18	8051	7547	7674	7547
q19	831	884	914	884
q20	2002	2023	1887	1887
q21	4849	4334	4340	4334
q22	1052	1059	1032	1032
Total cold run time: 53351 ms
Total hot run time: 51602 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 188559 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 25b4af0f87565580e44524dbca88beeb79f4996e, data reload: false

query1	1029	393	399	393
query2	6544	1733	1719	1719
query3	6772	247	247	247
query4	26632	23345	22996	22996
query5	4365	655	517	517
query6	359	258	243	243
query7	4659	502	300	300
query8	326	262	270	262
query9	8682	2952	2903	2903
query10	513	351	309	309
query11	16184	15061	14757	14757
query12	179	130	118	118
query13	1686	572	460	460
query14	10865	9327	9321	9321
query15	206	192	174	174
query16	7330	722	492	492
query17	1227	752	625	625
query18	1989	411	329	329
query19	217	202	180	180
query20	141	131	134	131
query21	212	131	110	110
query22	3932	4122	4180	4122
query23	34002	33086	32815	32815
query24	8165	2349	2381	2349
query25	617	531	465	465
query26	1247	274	165	165
query27	2739	508	357	357
query28	4378	2244	2220	2220
query29	830	612	508	508
query30	299	227	204	204
query31	919	814	720	720
query32	96	82	78	78
query33	622	387	350	350
query34	790	851	533	533
query35	804	860	745	745
query36	954	989	911	911
query37	133	119	103	103
query38	3507	3493	3485	3485
query39	1483	1457	1406	1406
query40	234	135	120	120
query41	69	60	59	59
query42	132	118	114	114
query43	483	484	468	468
query44	1241	779	770	770
query45	184	184	175	175
query46	884	980	639	639
query47	1750	1788	1715	1715
query48	391	435	325	325
query49	776	504	413	413
query50	646	673	404	404
query51	3901	3847	3862	3847
query52	118	120	113	113
query53	254	262	205	205
query54	332	323	305	305
query55	100	96	92	92
query56	340	346	347	346
query57	1170	1174	1128	1128
query58	309	318	288	288
query59	2569	2617	2523	2523
query60	389	364	347	347
query61	162	160	160	160
query62	775	720	662	662
query63	233	199	193	193
query64	4489	1165	895	895
query65	4067	3929	3948	3929
query66	1180	444	350	350
query67	15067	14980	15136	14980
query68	5902	931	601	601
query69	515	339	309	309
query70	1303	1226	1254	1226
query71	436	362	340	340
query72	5814	5092	5067	5067
query73	655	573	367	367
query74	8964	9129	8895	8895
query75	3289	3278	2840	2840
query76	3220	1134	740	740
query77	525	421	353	353
query78	9519	9792	8934	8934
query79	2498	802	599	599
query80	717	588	535	535
query81	518	257	232	232
query82	221	160	141	141
query83	267	268	246	246
query84	258	112	92	92
query85	889	500	452	452
query86	381	314	315	314
query87	3667	3727	3629	3629
query88	2929	2271	2247	2247
query89	382	334	295	295
query90	1979	232	223	223
query91	171	164	135	135
query92	90	74	75	74
query93	2250	1010	648	648
query94	712	424	325	325
query95	428	355	340	340
query96	493	581	284	284
query97	2859	2966	2903	2903
query98	250	218	221	218
query99	1313	1412	1268	1268
Total cold run time: 271293 ms
Total hot run time: 188559 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.10	0.05	0.05
query3	0.27	0.08	0.08
query4	1.60	0.11	0.10
query5	0.28	0.25	0.25
query6	1.16	0.65	0.64
query7	0.03	0.02	0.03
query8	0.06	0.04	0.04
query9	0.57	0.52	0.51
query10	0.57	0.58	0.57
query11	0.15	0.12	0.11
query12	0.16	0.12	0.12
query13	0.61	0.60	0.60
query14	1.00	0.98	0.99
query15	0.84	0.82	0.84
query16	0.40	0.38	0.39
query17	1.04	0.99	1.04
query18	0.22	0.20	0.20
query19	1.82	1.75	1.77
query20	0.02	0.02	0.02
query21	15.48	0.21	0.12
query22	5.08	0.07	0.04
query23	15.68	0.27	0.10
query24	3.26	1.04	0.74
query25	0.08	0.06	0.07
query26	0.15	0.13	0.14
query27	0.06	0.05	0.05
query28	5.56	1.18	0.97
query29	12.61	3.84	3.22
query30	0.27	0.13	0.12
query31	2.82	0.59	0.39
query32	3.22	0.54	0.47
query33	3.06	3.06	3.06
query34	15.67	5.14	4.48
query35	4.59	4.58	4.59
query36	0.66	0.52	0.49
query37	0.10	0.06	0.07
query38	0.06	0.03	0.04
query39	0.03	0.03	0.03
query40	0.18	0.14	0.14
query41	0.08	0.04	0.03
query42	0.04	0.03	0.03
query43	0.04	0.04	0.03
Total cold run time: 99.74 s
Total hot run time: 27.65 s

Topn lazy read only read the cache in cloud mode to reduce tablet cache read.
fix apache#50803 failed to pass force_use_only_cached to tablet_mgr

Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
@freemandealer
Copy link
Contributor Author

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Nov 18, 2025
eldenmoon
eldenmoon previously approved these changes Nov 18, 2025
Copy link
Member

@eldenmoon eldenmoon left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
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 Nov 18, 2025
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17620	5006	4908	4908
q2	2004	305	201	201
q3	10287	1270	703	703
q4	10245	969	367	367
q5	7486	2386	2346	2346
q6	194	175	136	136
q7	937	806	616	616
q8	9354	1331	1128	1128
q9	7246	5095	5131	5095
q10	6900	2224	1788	1788
q11	510	304	290	290
q12	352	366	236	236
q13	17792	3618	3057	3057
q14	229	229	214	214
q15	591	505	500	500
q16	1033	993	943	943
q17	594	864	347	347
q18	7958	7494	7610	7494
q19	1337	1128	570	570
q20	375	355	227	227
q21	4461	3401	2574	2574
q22	1139	1129	1032	1032
Total cold run time: 108644 ms
Total hot run time: 34772 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5189	5230	5188	5188
q2	232	344	222	222
q3	2338	2921	2568	2568
q4	1464	1878	1407	1407
q5	4497	4557	4285	4285
q6	210	169	122	122
q7	2004	1939	1822	1822
q8	2637	2691	2567	2567
q9	7389	7138	7120	7120
q10	2881	3072	2689	2689
q11	563	503	489	489
q12	640	722	562	562
q13	3241	3638	3062	3062
q14	272	297	262	262
q15	526	506	492	492
q16	1029	1043	993	993
q17	1100	1498	1326	1326
q18	7364	7207	7119	7119
q19	730	740	816	740
q20	1907	1943	1777	1777
q21	4675	4330	4274	4274
q22	1090	1034	1003	1003
Total cold run time: 51978 ms
Total hot run time: 50089 ms

@freemandealer
Copy link
Contributor Author

run buildall

HappenLee
HappenLee previously approved these changes Nov 18, 2025
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

Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
@freemandealer freemandealer dismissed stale reviews from HappenLee and eldenmoon via e89d0c1 November 18, 2025 13:43
@freemandealer freemandealer force-pushed the fix-get-tablet-download-cache branch from 0ea8708 to e89d0c1 Compare November 18, 2025 13:43
@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Nov 18, 2025
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17610	5063	4938	4938
q2	2141	311	207	207
q3	10201	1319	728	728
q4	10225	874	367	367
q5	7459	2474	2288	2288
q6	188	172	139	139
q7	929	756	636	636
q8	9350	1447	1195	1195
q9	7109	5072	5073	5072
q10	6892	2208	1821	1821
q11	505	301	281	281
q12	375	361	232	232
q13	17799	3691	3061	3061
q14	230	243	223	223
q15	583	498	525	498
q16	1031	988	955	955
q17	594	865	369	369
q18	7429	7236	7087	7087
q19	1084	966	537	537
q20	377	360	231	231
q21	3854	2524	2269	2269
q22	1036	1027	964	964
Total cold run time: 107001 ms
Total hot run time: 34098 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4959	4962	4941	4941
q2	243	332	238	238
q3	2184	2713	2324	2324
q4	1393	1787	1330	1330
q5	4207	4314	4462	4314
q6	220	177	128	128
q7	2068	1967	1789	1789
q8	2721	2541	2572	2541
q9	7395	7267	7217	7217
q10	3071	3235	2805	2805
q11	596	538	523	523
q12	668	813	598	598
q13	3529	3922	3357	3357
q14	307	310	296	296
q15	555	511	623	511
q16	1168	1143	1041	1041
q17	1190	1512	1389	1389
q18	7883	7636	7626	7626
q19	845	820	842	820
q20	2179	2041	1916	1916
q21	4900	4351	4275	4275
q22	1068	1023	987	987
Total cold run time: 53349 ms
Total hot run time: 50966 ms

@freemandealer
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17631	5179	4945	4945
q2	2049	320	209	209
q3	10256	1322	713	713
q4	10248	998	376	376
q5	7516	2485	2320	2320
q6	188	169	135	135
q7	934	768	619	619
q8	9349	1356	1189	1189
q9	7153	5144	5217	5144
q10	6901	2257	1810	1810
q11	500	297	283	283
q12	359	390	238	238
q13	17786	3715	3067	3067
q14	230	242	220	220
q15	615	524	518	518
q16	999	1001	941	941
q17	588	875	375	375
q18	7496	7171	7094	7094
q19	1078	966	561	561
q20	356	349	235	235
q21	3681	3193	2277	2277
q22	1064	1038	965	965
Total cold run time: 106977 ms
Total hot run time: 34234 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4913	4957	4961	4957
q2	255	316	233	233
q3	2206	2714	2347	2347
q4	1323	1747	1317	1317
q5	4222	4142	4164	4142
q6	202	167	126	126
q7	1930	1854	1694	1694
q8	2528	2487	2517	2487
q9	6827	6765	6730	6730
q10	2931	3095	2649	2649
q11	583	513	492	492
q12	659	738	557	557
q13	3303	3693	3055	3055
q14	271	292	268	268
q15	550	508	494	494
q16	1030	1052	1006	1006
q17	1107	1483	1347	1347
q18	7240	7100	7062	7062
q19	767	780	784	780
q20	1943	1974	1814	1814
q21	4798	4326	4246	4246
q22	1049	1037	1004	1004
Total cold run time: 50637 ms
Total hot run time: 48807 ms

@doris-robot
Copy link

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

query1	874	458	396	396
query2	6151	1713	1705	1705
query3	4845	225	222	222
query4	25796	23565	23095	23095
query5	4374	684	524	524
query6	297	247	230	230
query7	460	539	326	326
query8	278	257	253	253
query9	3272	2944	2946	2944
query10	385	359	309	309
query11	15027	15127	14885	14885
query12	204	125	123	123
query13	2509	586	433	433
query14	10839	9237	9281	9237
query15	199	196	178	178
query16	7277	658	477	477
query17	1438	774	615	615
query18	1997	422	357	357
query19	217	202	182	182
query20	133	126	122	122
query21	214	131	113	113
query22	4023	4050	3984	3984
query23	34057	33178	32995	32995
query24	7805	2355	2390	2355
query25	591	531	465	465
query26	1232	275	164	164
query27	2751	493	359	359
query28	4452	2251	2227	2227
query29	787	669	517	517
query30	307	222	199	199
query31	886	786	747	747
query32	95	85	80	80
query33	609	392	352	352
query34	808	885	525	525
query35	840	868	762	762
query36	922	994	898	898
query37	133	121	107	107
query38	3552	3515	3517	3515
query39	1476	1419	1433	1419
query40	237	144	127	127
query41	68	67	62	62
query42	130	123	121	121
query43	489	485	477	477
query44	1272	825	808	808
query45	188	185	178	178
query46	876	989	639	639
query47	1765	1854	1705	1705
query48	404	422	327	327
query49	753	510	425	425
query50	653	691	410	410
query51	3889	3867	3951	3867
query52	122	122	119	119
query53	251	282	209	209
query54	335	326	309	309
query55	97	104	95	95
query56	378	382	368	368
query57	1165	1191	1140	1140
query58	316	312	310	310
query59	2505	2630	2487	2487
query60	407	397	371	371
query61	199	196	188	188
query62	780	715	653	653
query63	241	205	203	203
query64	4579	1313	1025	1025
query65	4091	3909	4000	3909
query66	1159	459	363	363
query67	15370	15106	14892	14892
query68	8455	969	643	643
query69	510	361	309	309
query70	1345	1230	1303	1230
query71	498	357	341	341
query72	5876	4993	4911	4911
query73	652	581	372	372
query74	9388	9109	8676	8676
query75	3270	3304	2786	2786
query76	3146	1122	768	768
query77	478	416	354	354
query78	9472	9653	8942	8942
query79	2594	837	607	607
query80	650	594	536	536
query81	512	266	243	243
query82	218	164	152	152
query83	273	267	250	250
query84	259	115	100	100
query85	888	497	453	453
query86	378	319	317	317
query87	3744	3693	3610	3610
query88	3880	2224	2234	2224
query89	409	330	301	301
query90	2097	238	228	228
query91	165	166	140	140
query92	91	77	73	73
query93	1969	1000	681	681
query94	710	439	339	339
query95	431	354	341	341
query96	489	584	282	282
query97	2909	2973	2859	2859
query98	246	226	220	220
query99	1286	1397	1302	1302
Total cold run time: 262119 ms
Total hot run time: 188773 ms

@doris-robot
Copy link

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

query1	0.06	0.05	0.05
query2	0.09	0.06	0.05
query3	0.25	0.08	0.08
query4	1.60	0.11	0.11
query5	0.27	0.26	0.25
query6	1.16	0.65	0.64
query7	0.03	0.03	0.03
query8	0.06	0.04	0.04
query9	0.58	0.53	0.51
query10	0.57	0.57	0.58
query11	0.16	0.11	0.11
query12	0.15	0.12	0.12
query13	0.61	0.62	0.59
query14	1.01	1.00	1.01
query15	0.86	0.83	0.85
query16	0.40	0.37	0.39
query17	1.00	1.03	1.01
query18	0.21	0.21	0.19
query19	1.86	1.84	1.82
query20	0.01	0.01	0.01
query21	15.44	0.19	0.14
query22	5.05	0.07	0.05
query23	15.67	0.27	0.10
query24	3.26	0.56	0.46
query25	0.07	0.07	0.07
query26	0.14	0.13	0.13
query27	0.07	0.05	0.06
query28	4.66	1.17	0.97
query29	12.55	3.87	3.20
query30	0.29	0.14	0.12
query31	2.82	0.60	0.39
query32	3.24	0.55	0.47
query33	3.06	3.03	3.14
query34	15.65	5.17	4.58
query35	4.60	4.53	4.60
query36	0.68	0.51	0.49
query37	0.10	0.07	0.07
query38	0.06	0.04	0.03
query39	0.04	0.03	0.03
query40	0.17	0.15	0.13
query41	0.08	0.02	0.03
query42	0.04	0.03	0.03
query43	0.04	0.03	0.04
Total cold run time: 98.72 s
Total hot run time: 27.5 s

@freemandealer
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17608	5007	4941	4941
q2	2614	320	195	195
q3	10303	1307	740	740
q4	10231	908	364	364
q5	7504	2409	2318	2318
q6	178	165	133	133
q7	907	760	620	620
q8	9350	1316	1134	1134
q9	6824	5051	5265	5051
q10	6863	2234	1790	1790
q11	493	302	285	285
q12	330	362	230	230
q13	17769	3633	3056	3056
q14	221	233	211	211
q15	581	498	502	498
q16	1025	994	955	955
q17	588	888	374	374
q18	7483	7149	7084	7084
q19	1112	953	536	536
q20	342	345	224	224
q21	3632	2465	2290	2290
q22	1035	1022	992	992
Total cold run time: 106993 ms
Total hot run time: 34021 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4911	4943	4887	4887
q2	241	329	229	229
q3	2127	2636	2251	2251
q4	1321	1759	1318	1318
q5	4162	4135	4453	4135
q6	207	171	135	135
q7	2014	1926	1869	1869
q8	2596	2501	2479	2479
q9	7191	7245	7293	7245
q10	3100	3303	2820	2820
q11	606	535	516	516
q12	692	824	656	656
q13	3441	3858	3318	3318
q14	276	295	275	275
q15	537	500	496	496
q16	1070	1101	1219	1101
q17	1192	1556	1408	1408
q18	7783	7748	7573	7573
q19	788	757	801	757
q20	2009	2064	1912	1912
q21	4666	4301	4331	4301
q22	1078	1038	995	995
Total cold run time: 52008 ms
Total hot run time: 50676 ms

@doris-robot
Copy link

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

query1	1010	415	435	415
query2	6562	1682	1653	1653
query3	6767	225	228	225
query4	25943	23122	22860	22860
query5	4457	645	512	512
query6	360	246	243	243
query7	4645	487	298	298
query8	308	271	268	268
query9	8685	2941	2916	2916
query10	499	353	320	320
query11	15514	15137	14887	14887
query12	183	128	122	122
query13	1685	575	477	477
query14	10302	9132	9112	9112
query15	220	190	172	172
query16	7492	663	512	512
query17	1275	786	635	635
query18	2008	434	351	351
query19	219	217	195	195
query20	137	127	126	126
query21	218	142	116	116
query22	3911	4455	4051	4051
query23	33850	32998	33107	32998
query24	8203	2418	2414	2414
query25	640	583	493	493
query26	1245	285	173	173
query27	2734	497	383	383
query28	4519	2227	2213	2213
query29	838	620	513	513
query30	304	227	193	193
query31	875	774	735	735
query32	93	77	81	77
query33	602	389	342	342
query34	797	835	536	536
query35	844	844	769	769
query36	971	960	893	893
query37	126	125	98	98
query38	3549	3614	3432	3432
query39	1487	1402	1431	1402
query40	236	136	128	128
query41	65	60	59	59
query42	143	121	124	121
query43	452	475	487	475
query44	1256	795	795	795
query45	189	181	170	170
query46	886	982	643	643
query47	1801	1786	1700	1700
query48	409	441	325	325
query49	754	516	405	405
query50	652	684	406	406
query51	3847	3999	3842	3842
query52	117	127	109	109
query53	250	285	222	222
query54	347	322	353	322
query55	99	94	92	92
query56	341	352	348	348
query57	1167	1183	1112	1112
query58	307	300	283	283
query59	2556	2615	2514	2514
query60	355	359	347	347
query61	181	155	157	155
query62	771	730	669	669
query63	232	194	198	194
query64	4490	1158	871	871
query65	4018	3951	3988	3951
query66	1191	449	346	346
query67	15102	14880	15039	14880
query68	8204	956	638	638
query69	513	341	303	303
query70	1356	1305	1276	1276
query71	463	356	330	330
query72	5873	4892	4888	4888
query73	653	577	365	365
query74	9059	9055	9043	9043
query75	3576	3260	2783	2783
query76	3345	1151	782	782
query77	738	410	341	341
query78	9530	9879	8888	8888
query79	1634	818	610	610
query80	684	599	527	527
query81	510	263	229	229
query82	218	167	140	140
query83	270	269	248	248
query84	254	114	103	103
query85	895	488	448	448
query86	395	329	297	297
query87	3653	3724	3614	3614
query88	2848	2279	2239	2239
query89	389	336	293	293
query90	1978	230	228	228
query91	171	172	137	137
query92	99	82	76	76
query93	1450	1034	684	684
query94	716	441	330	330
query95	431	352	350	350
query96	481	592	288	288
query97	2897	2928	2868	2868
query98	260	223	216	216
query99	1329	1389	1251	1251
Total cold run time: 271163 ms
Total hot run time: 188427 ms

@doris-robot
Copy link

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

query1	0.05	0.05	0.05
query2	0.09	0.06	0.05
query3	0.25	0.09	0.08
query4	1.60	0.12	0.11
query5	0.29	0.26	0.24
query6	1.16	0.64	0.63
query7	0.03	0.03	0.02
query8	0.05	0.04	0.04
query9	0.57	0.52	0.51
query10	0.58	0.57	0.57
query11	0.15	0.11	0.11
query12	0.15	0.12	0.12
query13	0.62	0.59	0.61
query14	1.02	0.99	0.98
query15	0.84	0.81	0.84
query16	0.39	0.40	0.40
query17	1.06	1.01	1.00
query18	0.21	0.19	0.20
query19	1.85	1.82	1.87
query20	0.02	0.01	0.01
query21	15.46	0.21	0.13
query22	4.99	0.07	0.05
query23	15.68	0.27	0.10
query24	2.37	0.72	0.73
query25	0.08	0.06	0.05
query26	0.14	0.13	0.12
query27	0.06	0.05	0.06
query28	4.66	1.16	0.97
query29	12.71	3.93	3.24
query30	0.28	0.14	0.12
query31	2.81	0.56	0.38
query32	3.24	0.55	0.47
query33	3.03	3.17	3.14
query34	15.74	5.17	4.49
query35	4.60	4.59	4.59
query36	0.68	0.50	0.49
query37	0.11	0.06	0.06
query38	0.07	0.04	0.04
query39	0.04	0.04	0.03
query40	0.17	0.15	0.14
query41	0.09	0.03	0.03
query42	0.05	0.03	0.03
query43	0.04	0.03	0.04
Total cold run time: 98.08 s
Total hot run time: 27.8 s

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 30.00% (3/10) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.74% (18273/34650)
Line Coverage 38.10% (166021/435719)
Region Coverage 33.05% (129119/390710)
Branch Coverage 33.81% (55390/163811)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 70.00% (7/10) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.46% (24332/34050)
Line Coverage 57.94% (252843/436388)
Region Coverage 53.19% (210766/396286)
Branch Coverage 54.54% (89933/164890)

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Nov 19, 2025
@github-actions
Copy link
Contributor

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

@dataroaring dataroaring merged commit bdc6e38 into apache:master Nov 19, 2025
25 of 26 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 19, 2025
Topn lazy read only read the cache in cloud mode to reduce tablet cache
read. fix #50803 failed to pass force_use_only_cached to tablet_mgr


Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
github-actions bot pushed a commit that referenced this pull request Nov 19, 2025
Topn lazy read only read the cache in cloud mode to reduce tablet cache
read. fix #50803 failed to pass force_use_only_cached to tablet_mgr


Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
yiguolei pushed a commit that referenced this pull request Nov 20, 2025
…8044 (#58156)

Cherry-picked from #58044

Signed-off-by: zhengyu <zhangzhengyu@selectdb.com>
Co-authored-by: zhengyu <zhangzhengyu@selectdb.com>
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/3.1.x dev/4.0.2-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants