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

[Branch-2.0](materialized-view) forbid create mv on row store table (#35360) #47013

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

Conversation

eldenmoon
Copy link
Member

cherry-pick from #35360

…e#35360)

forbid create mv on row store table
@Thearas
Copy link
Contributor

Thearas commented Jan 15, 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?

@eldenmoon
Copy link
Member Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17912	4420	4359	4359
q2	2078	158	156	156
q3	10325	1887	1931	1887
q4	10106	1325	1360	1325
q5	8486	3964	3913	3913
q6	243	129	127	127
q7	2047	1595	1586	1586
q8	9292	2773	2765	2765
q9	10614	10031	10157	10031
q10	8676	3550	3546	3546
q11	421	248	261	248
q12	473	308	302	302
q13	18356	4009	4033	4009
q14	373	335	340	335
q15	513	458	457	457
q16	564	472	453	453
q17	1162	981	951	951
q18	7230	6953	7039	6953
q19	1716	1568	1592	1568
q20	549	303	293	293
q21	4564	4246	4136	4136
q22	495	381	405	381
Total cold run time: 116195 ms
Total hot run time: 49781 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4359	4321	4329	4321
q2	326	221	220	220
q3	4210	4220	4126	4126
q4	2797	2784	2765	2765
q5	7205	7164	7136	7136
q6	247	128	125	125
q7	3299	2889	2866	2866
q8	4356	4503	4457	4457
q9	14367	13946	14107	13946
q10	4261	4260	4307	4260
q11	748	704	714	704
q12	1032	840	845	840
q13	7007	3761	3759	3759
q14	452	424	423	423
q15	499	468	462	462
q16	637	604	612	604
q17	3883	3928	3990	3928
q18	8870	8698	8796	8698
q19	1744	1725	1681	1681
q20	2412	2114	2078	2078
q21	8588	8653	8518	8518
q22	1010	966	907	907
Total cold run time: 82309 ms
Total hot run time: 76824 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 213828 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 9cb51da34a51b71f91fdc0136cdaa544a889d550, data reload: false

query1	943	431	381	381
query2	6559	2193	2188	2188
query3	7190	199	203	199
query4	23407	21688	21996	21688
query5	19742	6523	6535	6523
query6	283	223	238	223
query7	4161	326	311	311
query8	266	268	232	232
query9	3136	2697	2618	2618
query10	424	307	301	301
query11	15669	15074	15011	15011
query12	125	75	83	75
query13	1040	454	431	431
query14	17135	13459	13285	13285
query15	380	216	229	216
query16	6488	285	262	262
query17	1748	971	917	917
query18	901	319	325	319
query19	218	153	152	152
query20	94	100	106	100
query21	186	100	95	95
query22	5158	4940	4957	4940
query23	34384	33420	33517	33420
query24	7833	6307	6404	6307
query25	525	442	438	438
query26	1269	169	164	164
query27	2501	304	298	298
query28	6070	2284	2274	2274
query29	2912	2838	2803	2803
query30	246	173	164	164
query31	909	743	752	743
query32	75	66	61	61
query33	461	267	270	267
query34	856	494	487	487
query35	1160	918	975	918
query36	1219	1394	1249	1249
query37	178	65	63	63
query38	3104	2936	2902	2902
query39	1384	1337	1337	1337
query40	313	100	97	97
query41	41	38	38	38
query42	85	90	92	90
query43	737	553	617	553
query44	1192	714	726	714
query45	247	232	239	232
query46	1255	1005	971	971
query47	1896	1785	1753	1753
query48	519	418	415	415
query49	650	385	389	385
query50	857	616	598	598
query51	4877	4744	4713	4713
query52	97	86	93	86
query53	235	194	196	194
query54	2699	2483	2519	2483
query55	90	95	88	88
query56	238	205	214	205
query57	1236	1209	1138	1138
query58	222	218	228	218
query59	3494	3389	3377	3377
query60	227	218	213	213
query61	101	99	99	99
query62	731	473	470	470
query63	207	178	182	178
query64	3518	1600	1446	1446
query65	3622	3529	3579	3529
query66	777	409	389	389
query67	16388	17479	15850	15850
query68	9289	655	660	655
query69	512	281	277	277
query70	1501	1372	1337	1337
query71	391	310	310	310
query72	6834	4725	4855	4725
query73	758	312	330	312
query74	6240	5800	5765	5765
query75	4753	3720	3711	3711
query76	4912	1170	1172	1170
query77	684	258	255	255
query78	12718	11754	12190	11754
query79	8041	654	648	648
query80	2418	395	413	395
query81	510	245	241	241
query82	1120	96	97	96
query83	171	137	135	135
query84	262	72	73	72
query85	1217	324	329	324
query86	361	340	293	293
query87	3234	3018	2999	2999
query88	4506	2324	2329	2324
query89	452	298	275	275
query90	1831	227	225	225
query91	169	129	128	128
query92	60	53	54	53
query93	4840	584	552	552
query94	820	213	213	213
query95	2006	1979	2053	1979
query96	646	315	325	315
query97	6605	6382	6416	6382
query98	218	210	216	210
query99	2949	864	814	814
Total cold run time: 317918 ms
Total hot run time: 213828 ms

@doris-robot
Copy link

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

query1	0.02	0.03	0.02
query2	0.07	0.03	0.03
query3	0.25	0.05	0.04
query4	1.77	0.07	0.06
query5	0.53	0.53	0.52
query6	1.25	0.63	0.63
query7	0.01	0.01	0.01
query8	0.03	0.02	0.02
query9	0.52	0.49	0.47
query10	0.53	0.53	0.54
query11	0.12	0.09	0.09
query12	0.12	0.09	0.09
query13	0.63	0.61	0.61
query14	0.77	0.80	0.78
query15	0.77	0.76	0.76
query16	0.37	0.39	0.36
query17	1.01	1.03	1.03
query18	0.23	0.26	0.25
query19	1.84	1.86	1.85
query20	0.02	0.01	0.00
query21	15.47	0.57	0.54
query22	2.04	1.77	1.99
query23	17.13	1.15	0.99
query24	6.61	0.56	1.06
query25	0.36	0.12	0.05
query26	0.60	0.15	0.16
query27	0.05	0.05	0.03
query28	6.93	0.75	0.80
query29	12.64	2.39	2.23
query30	0.54	0.52	0.52
query31	2.79	0.39	0.37
query32	3.38	0.49	0.49
query33	3.08	3.08	3.07
query34	15.26	4.80	4.78
query35	4.89	4.87	4.86
query36	1.07	1.03	1.02
query37	0.06	0.05	0.04
query38	0.03	0.03	0.02
query39	0.02	0.02	0.01
query40	0.16	0.14	0.13
query41	0.07	0.02	0.01
query42	0.03	0.01	0.01
query43	0.02	0.02	0.02
Total cold run time: 104.09 s
Total hot run time: 30.57 s

@doris-robot
Copy link

Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'

Load test result on commit 9cb51da34a51b71f91fdc0136cdaa544a889d550 with default session variables
Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       22.0 seconds inserted 10000000 Rows, about 454K ops/s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants