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

[Enhancement] (nereids)implement showIndexStatsCommand in nereids #48835

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xiedeyantu
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #42716

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 Mar 8, 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?

@xiedeyantu
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17600	5298	5058	5058
q2	2054	304	169	169
q3	10399	1323	727	727
q4	10228	1038	550	550
q5	7519	2404	2303	2303
q6	194	171	136	136
q7	923	743	599	599
q8	9296	1283	1029	1029
q9	4858	4879	4696	4696
q10	6816	2330	1884	1884
q11	483	271	261	261
q12	348	347	226	226
q13	17775	3662	3109	3109
q14	235	235	202	202
q15	535	495	477	477
q16	612	615	580	580
q17	585	833	354	354
q18	6941	6495	6314	6314
q19	1225	953	540	540
q20	325	326	188	188
q21	2841	2118	1931	1931
q22	1046	1001	985	985
Total cold run time: 102838 ms
Total hot run time: 32318 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5140	5129	5139	5129
q2	238	338	225	225
q3	2181	2651	2300	2300
q4	1528	1854	1384	1384
q5	4255	4116	4110	4110
q6	205	161	124	124
q7	1899	1915	1768	1768
q8	2611	2740	2627	2627
q9	7289	7136	7154	7136
q10	2968	3240	2808	2808
q11	585	529	487	487
q12	686	820	615	615
q13	3512	3891	3238	3238
q14	289	290	281	281
q15	509	478	473	473
q16	640	678	672	672
q17	1159	1604	1323	1323
q18	7635	7621	7444	7444
q19	837	852	867	852
q20	1932	2013	1872	1872
q21	5464	4904	4859	4859
q22	1101	1087	1031	1031
Total cold run time: 52663 ms
Total hot run time: 50758 ms

@doris-robot
Copy link

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

query1	993	394	387	387
query2	6522	1918	1908	1908
query3	6798	228	216	216
query4	26144	23878	23440	23440
query5	4369	666	505	505
query6	336	215	215	215
query7	4608	507	288	288
query8	287	241	218	218
query9	8550	2524	2527	2524
query10	455	307	261	261
query11	15423	15357	15146	15146
query12	175	111	103	103
query13	1652	515	392	392
query14	9368	6711	6276	6276
query15	220	191	166	166
query16	7182	627	441	441
query17	1210	749	541	541
query18	1949	389	292	292
query19	190	187	153	153
query20	121	112	111	111
query21	219	120	102	102
query22	4131	4106	4087	4087
query23	33862	32986	33025	32986
query24	7653	2381	2432	2381
query25	535	454	392	392
query26	1243	273	161	161
query27	2439	472	334	334
query28	4213	2433	2358	2358
query29	764	552	430	430
query30	287	212	192	192
query31	954	855	808	808
query32	73	71	63	63
query33	570	357	309	309
query34	795	849	516	516
query35	799	825	739	739
query36	955	964	875	875
query37	117	104	84	84
query38	4215	4194	4124	4124
query39	1468	1402	1398	1398
query40	202	113	100	100
query41	56	56	60	56
query42	122	107	100	100
query43	495	510	491	491
query44	1325	789	780	780
query45	186	173	176	173
query46	831	1009	623	623
query47	1748	1753	1710	1710
query48	369	415	300	300
query49	786	511	440	440
query50	687	745	391	391
query51	4217	4267	4118	4118
query52	109	109	101	101
query53	231	262	200	200
query54	508	511	433	433
query55	84	87	84	84
query56	286	272	277	272
query57	1079	1164	1091	1091
query58	270	248	240	240
query59	2467	2686	2600	2600
query60	305	288	275	275
query61	162	121	120	120
query62	783	720	652	652
query63	226	191	191	191
query64	4328	1011	686	686
query65	4435	4342	4346	4342
query66	1186	410	313	313
query67	16008	15348	15542	15348
query68	7797	883	511	511
query69	470	325	264	264
query70	1171	1120	1115	1115
query71	403	299	282	282
query72	5547	3551	3833	3551
query73	724	724	346	346
query74	9151	9382	9049	9049
query75	3192	3185	2730	2730
query76	3224	1177	775	775
query77	469	382	298	298
query78	9887	9960	9277	9277
query79	2031	884	598	598
query80	612	549	449	449
query81	499	262	219	219
query82	190	129	94	94
query83	178	175	156	156
query84	244	96	72	72
query85	828	349	319	319
query86	373	286	299	286
query87	4481	4488	4304	4304
query88	3730	2234	2262	2234
query89	385	320	284	284
query90	1978	214	219	214
query91	142	144	111	111
query92	71	64	60	60
query93	1815	1034	586	586
query94	678	419	318	318
query95	358	271	266	266
query96	484	560	276	276
query97	3303	3412	3285	3285
query98	230	200	208	200
query99	1330	1408	1277	1277
Total cold run time: 271310 ms
Total hot run time: 185958 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.04
query2	0.08	0.03	0.04
query3	0.22	0.06	0.07
query4	1.61	0.11	0.10
query5	0.56	0.55	0.54
query6	1.21	0.74	0.73
query7	0.02	0.02	0.02
query8	0.04	0.04	0.04
query9	0.58	0.53	0.50
query10	0.58	0.59	0.58
query11	0.15	0.10	0.11
query12	0.15	0.12	0.11
query13	0.62	0.60	0.61
query14	2.83	2.71	2.82
query15	0.93	0.86	0.87
query16	0.37	0.38	0.38
query17	1.00	1.06	1.04
query18	0.21	0.19	0.19
query19	1.91	1.86	1.95
query20	0.02	0.01	0.02
query21	15.37	0.92	0.54
query22	0.75	1.20	0.64
query23	14.96	1.40	0.60
query24	6.72	2.09	0.69
query25	0.48	0.27	0.07
query26	0.61	0.17	0.15
query27	0.04	0.05	0.05
query28	9.15	0.91	0.43
query29	12.53	3.98	3.30
query30	0.25	0.09	0.07
query31	2.82	0.59	0.39
query32	3.24	0.55	0.46
query33	3.02	2.99	3.04
query34	15.82	5.07	4.50
query35	4.52	4.47	4.51
query36	0.65	0.50	0.48
query37	0.10	0.07	0.06
query38	0.05	0.04	0.04
query39	0.03	0.02	0.02
query40	0.16	0.13	0.12
query41	0.09	0.03	0.02
query42	0.04	0.02	0.02
query43	0.04	0.03	0.02
Total cold run time: 104.57 s
Total hot run time: 30.63 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.

[Enhancement] (nereids)implement showIndexStatsCommand in nereids
3 participants