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](nereids)support create index and policy command in nereids #46105

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

Conversation

starocean999
Copy link
Contributor

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 Dec 27, 2024

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?

@starocean999
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18684	6237	6161	6161
q2	2039	312	171	171
q3	12170	1234	770	770
q4	10247	877	439	439
q5	8317	2204	2039	2039
q6	219	188	159	159
q7	905	771	611	611
q8	9327	1352	1189	1189
q9	5549	4959	5085	4959
q10	6884	2359	1942	1942
q11	481	291	279	279
q12	362	371	237	237
q13	18843	3821	3141	3141
q14	254	252	237	237
q15	573	522	503	503
q16	637	632	600	600
q17	732	852	328	328
q18	8447	6508	6702	6508
q19	3284	974	559	559
q20	314	323	195	195
q21	2985	2333	2070	2070
q22	372	351	312	312
Total cold run time: 111625 ms
Total hot run time: 33409 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6417	6187	6256	6187
q2	240	332	243	243
q3	2288	2708	2367	2367
q4	1394	1826	1370	1370
q5	4528	5004	4935	4935
q6	184	179	149	149
q7	2097	1970	1808	1808
q8	2602	2800	2697	2697
q9	7442	7307	7229	7229
q10	3059	3371	2870	2870
q11	581	521	501	501
q12	666	763	623	623
q13	3373	3715	3125	3125
q14	310	315	275	275
q15	564	518	499	499
q16	649	703	678	678
q17	1216	1730	1249	1249
q18	7758	7472	7378	7378
q19	878	1227	1111	1111
q20	2036	2005	1967	1967
q21	5658	5385	5018	5018
q22	624	625	570	570
Total cold run time: 54564 ms
Total hot run time: 52849 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 196913 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 33a3a6e7f82ea678db9d8c4b2e8db54bc5499dd8, data reload: false

query1	1286	990	912	912
query2	7032	2448	2362	2362
query3	11072	4735	4875	4735
query4	32852	23579	23219	23219
query5	3703	615	465	465
query6	284	197	183	183
query7	3997	498	300	300
query8	317	253	245	245
query9	9504	2744	2724	2724
query10	481	311	253	253
query11	17932	15641	15138	15138
query12	168	109	102	102
query13	1676	537	421	421
query14	10686	6947	7936	6947
query15	230	204	193	193
query16	7753	641	470	470
query17	1561	783	612	612
query18	1937	419	384	384
query19	209	184	170	170
query20	125	114	112	112
query21	210	139	103	103
query22	4649	4826	4496	4496
query23	34614	33872	33719	33719
query24	6317	2370	2352	2352
query25	469	468	391	391
query26	820	293	155	155
query27	2197	458	335	335
query28	5229	2487	2483	2483
query29	576	569	419	419
query30	213	187	151	151
query31	1072	920	910	910
query32	72	60	58	58
query33	472	358	291	291
query34	801	852	516	516
query35	833	841	760	760
query36	1022	1043	947	947
query37	115	97	76	76
query38	4225	4327	4127	4127
query39	1510	1513	1659	1513
query40	207	114	101	101
query41	44	47	44	44
query42	117	109	112	109
query43	534	527	500	500
query44	1361	861	840	840
query45	181	172	170	170
query46	907	1081	669	669
query47	2033	2038	1977	1977
query48	407	429	324	324
query49	704	484	407	407
query50	640	669	402	402
query51	7378	7344	7157	7157
query52	106	107	95	95
query53	234	258	187	187
query54	507	493	407	407
query55	85	79	83	79
query56	277	255	250	250
query57	1262	1277	1157	1157
query58	238	226	223	223
query59	3118	3298	3077	3077
query60	278	309	286	286
query61	112	109	108	108
query62	861	827	783	783
query63	241	192	200	192
query64	3311	1068	659	659
query65	3293	3312	3263	3263
query66	859	412	308	308
query67	16636	15911	15651	15651
query68	9798	753	513	513
query69	465	303	285	285
query70	1226	1144	1096	1096
query71	421	288	258	258
query72	5945	3904	3844	3844
query73	657	763	359	359
query74	9930	9400	8964	8964
query75	4561	3166	2700	2700
query76	5221	1191	770	770
query77	942	354	289	289
query78	10161	10291	9544	9544
query79	3553	922	578	578
query80	730	522	426	426
query81	488	275	232	232
query82	313	151	121	121
query83	190	236	141	141
query84	280	91	69	69
query85	763	367	312	312
query86	347	326	307	307
query87	4661	4594	4419	4419
query88	3278	2248	2202	2202
query89	424	334	298	298
query90	2144	188	188	188
query91	137	138	104	104
query92	70	57	52	52
query93	1990	903	523	523
query94	658	390	285	285
query95	342	287	258	258
query96	491	622	277	277
query97	2697	2832	2677	2677
query98	219	204	193	193
query99	1665	1542	1455	1455
Total cold run time: 298919 ms
Total hot run time: 196913 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.04
query2	0.06	0.04	0.03
query3	0.25	0.06	0.07
query4	1.62	0.10	0.11
query5	0.42	0.42	0.40
query6	1.15	0.66	0.64
query7	0.03	0.02	0.01
query8	0.03	0.04	0.03
query9	0.58	0.51	0.52
query10	0.56	0.56	0.55
query11	0.14	0.11	0.11
query12	0.13	0.12	0.12
query13	0.62	0.61	0.60
query14	2.73	2.81	2.74
query15	0.89	0.83	0.82
query16	0.36	0.38	0.37
query17	1.07	1.06	1.02
query18	0.22	0.21	0.21
query19	1.91	1.88	1.95
query20	0.02	0.01	0.02
query21	15.37	0.93	0.59
query22	0.75	0.86	0.67
query23	15.21	1.45	0.50
query24	2.52	1.75	1.65
query25	0.13	0.09	0.11
query26	0.32	0.14	0.14
query27	0.06	0.09	0.04
query28	14.22	1.52	1.05
query29	12.57	3.93	3.21
query30	0.25	0.10	0.07
query31	2.83	0.58	0.39
query32	3.24	0.56	0.46
query33	3.07	3.14	3.03
query34	16.81	5.17	4.56
query35	4.55	4.54	4.54
query36	0.65	0.48	0.50
query37	0.09	0.06	0.06
query38	0.05	0.04	0.03
query39	0.03	0.02	0.02
query40	0.16	0.14	0.13
query41	0.07	0.02	0.03
query42	0.04	0.02	0.03
query43	0.03	0.03	0.03
Total cold run time: 105.85 s
Total hot run time: 32.02 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.

3 participants