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

[Refactor](admin-stmt) rename some admin-show statestmt (#29492) #32996

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

morningman
Copy link
Contributor

bp #29492

The `ADMIN SHOW` statement can not be executed with high version of mysql 8.x jdbc driver.
So I rename these statement, remove the `ADMIN` keywords.

1. ADMIN SHOW CONFIG -> SHOW CONFIG
2. ADMIN SHOW REPLICA -> SHOW REPLICA
3. ADMIN DIAGNOSE TABLET -> SHOW TABLET DIAGNOSIS
4. ADMIN SHOW TABLET -> SHOW TABLET

for compatibility, the old statements are still supported, but not recommend to use.
They will be removed in later version
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morningman
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added area/planner Issues or PRs related to the query planner kind/docs Categorizes issue or PR as related to documentation. kind/test labels Mar 28, 2024
@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17566	4569	4580	4569
q2	2033	158	147	147
q3	10456	1951	1978	1951
q4	10385	1321	1435	1321
q5	8517	4026	4102	4026
q6	255	122	122	122
q7	2102	1618	1628	1618
q8	9545	2864	2867	2864
q9	14319	11510	10638	10638
q10	8728	3624	3587	3587
q11	413	250	237	237
q12	500	300	313	300
q13	18383	4161	4197	4161
q14	356	327	332	327
q15	512	468	474	468
q16	686	608	588	588
q17	1195	947	982	947
q18	7382	6911	6834	6834
q19	1763	1555	1597	1555
q20	534	321	311	311
q21	4653	4323	4279	4279
q22	527	386	393	386
Total cold run time: 120810 ms
Total hot run time: 51236 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4612	4541	4521	4521
q2	330	233	226	226
q3	4266	4213	4238	4213
q4	2829	2818	2832	2818
q5	7153	7079	7047	7047
q6	265	121	120	120
q7	3194	2815	2849	2815
q8	4305	4412	4439	4412
q9	17220	17044	17115	17044
q10	4331	4368	4320	4320
q11	774	643	690	643
q12	1043	832	855	832
q13	6656	3925	3957	3925
q14	458	417	441	417
q15	503	469	462	462
q16	762	696	695	695
q17	3820	3946	3939	3939
q18	8995	8895	8814	8814
q19	1848	1812	1826	1812
q20	2433	2182	2106	2106
q21	8604	8569	8543	8543
q22	1077	991	933	933
Total cold run time: 85478 ms
Total hot run time: 80657 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 201653 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 3665fb2b39276f64786f1b83eaf9591d2e54dffd, data reload: false

query1	904	391	378	378
query2	6527	2348	1894	1894
query3	6918	206	197	197
query4	20146	17970	17962	17962
query5	19738	6530	6532	6530
query6	292	229	239	229
query7	4156	299	304	299
query8	237	234	260	234
query9	3148	2777	2686	2686
query10	421	299	290	290
query11	11282	10661	10732	10661
query12	118	73	74	73
query13	5579	658	625	625
query14	17486	13151	13648	13151
query15	362	226	242	226
query16	6463	278	255	255
query17	1711	1474	863	863
query18	2322	408	400	400
query19	214	146	148	146
query20	77	78	73	73
query21	187	95	96	95
query22	5268	5036	5124	5036
query23	32446	32037	31997	31997
query24	7013	6562	6505	6505
query25	506	417	415	415
query26	523	167	159	159
query27	1889	294	302	294
query28	6082	2272	2248	2248
query29	2856	2819	2788	2788
query30	240	164	161	161
query31	926	732	726	726
query32	67	60	54	54
query33	405	257	241	241
query34	867	482	471	471
query35	1122	922	915	915
query36	1379	1043	1426	1043
query37	92	63	60	60
query38	3080	2946	2909	2909
query39	1373	1310	1321	1310
query40	201	100	94	94
query41	36	33	38	33
query42	92	91	84	84
query43	586	622	625	622
query44	1133	724	725	724
query45	242	228	232	228
query46	1257	988	971	971
query47	1886	1768	1942	1768
query48	1012	674	668	668
query49	622	382	377	377
query50	862	618	630	618
query51	4802	4690	4675	4675
query52	83	70	81	70
query53	446	318	318	318
query54	2633	2489	2490	2489
query55	85	75	78	75
query56	222	199	193	193
query57	1176	1028	1012	1012
query58	214	209	210	209
query59	3476	3232	3199	3199
query60	211	214	199	199
query61	88	89	86	86
query62	827	463	483	463
query63	479	334	334	334
query64	2475	1503	1350	1350
query65	3608	3539	3590	3539
query66	803	375	367	367
query67	17691	15442	15385	15385
query68	9314	681	670	670
query69	570	366	339	339
query70	1745	1423	1409	1409
query71	384	303	310	303
query72	6530	3426	3466	3426
query73	739	323	321	321
query74	6223	5957	5898	5898
query75	5196	3736	3774	3736
query76	5806	1170	1201	1170
query77	996	252	252	252
query78	12557	12175	11746	11746
query79	10320	644	657	644
query80	732	388	395	388
query81	497	237	233	233
query82	931	98	91	91
query83	157	128	138	128
query84	257	69	71	69
query85	851	285	285	285
query86	345	282	287	282
query87	3199	2987	3019	2987
query88	4454	2336	2321	2321
query89	424	306	310	306
query90	1929	208	203	203
query91	150	122	117	117
query92	57	49	49	49
query93	5423	570	563	563
query94	733	208	198	198
query95	1091	1074	1062	1062
query96	633	330	322	322
query97	6493	6284	6297	6284
query98	194	176	179	176
query99	3094	926	1036	926
Total cold run time: 313694 ms
Total hot run time: 201653 ms

@doris-robot
Copy link

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

query1	0.02	0.02	0.02
query2	0.06	0.03	0.02
query3	0.24	0.06	0.04
query4	1.79	0.06	0.06
query5	0.53	0.53	0.52
query6	1.24	0.62	0.62
query7	0.02	0.01	0.02
query8	0.04	0.02	0.02
query9	0.53	0.48	0.47
query10	0.53	0.54	0.53
query11	0.12	0.08	0.08
query12	0.12	0.10	0.09
query13	0.62	0.61	0.60
query14	0.78	0.79	0.78
query15	0.77	0.77	0.79
query16	0.36	0.36	0.35
query17	1.01	1.02	1.01
query18	0.23	0.23	0.24
query19	1.92	1.83	1.88
query20	0.02	0.01	0.01
query21	15.46	0.54	0.54
query22	1.92	1.90	1.80
query23	17.30	1.07	0.83
query24	5.67	0.45	1.35
query25	0.40	0.11	0.05
query26	0.55	0.15	0.14
query27	0.06	0.05	0.04
query28	7.75	0.75	0.71
query29	12.64	2.40	2.42
query30	0.59	0.52	0.53
query31	2.86	0.41	0.37
query32	3.38	0.49	0.50
query33	3.06	3.05	3.07
query34	15.26	4.80	4.82
query35	4.86	4.85	4.83
query36	1.08	1.01	1.00
query37	0.05	0.04	0.05
query38	0.03	0.02	0.02
query39	0.02	0.02	0.02
query40	0.16	0.15	0.13
query41	0.07	0.01	0.02
query42	0.02	0.01	0.02
query43	0.02	0.02	0.01
Total cold run time: 104.16 s
Total hot run time: 30.32 s

@doris-robot
Copy link

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

Load test result on commit 3665fb2b39276f64786f1b83eaf9591d2e54dffd with default session variables
Stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
Stream load orc:          59 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet:      31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select:       20.9 seconds inserted 10000000 Rows, about 478K ops/s

@morningman morningman merged commit 2988eed into apache:branch-2.0 Mar 29, 2024
25 of 27 checks passed
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/planner Issues or PRs related to the query planner kind/docs Categorizes issue or PR as related to documentation. kind/test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants