Skip to content

branch-3.0: [fix](audit) update audit table schema do not work as expected #51363#52436

Merged
dataroaring merged 1 commit intoapache:branch-3.0from
morrySnow:3.0_51363
Jul 2, 2025
Merged

branch-3.0: [fix](audit) update audit table schema do not work as expected #51363#52436
dataroaring merged 1 commit intoapache:branch-3.0from
morrySnow:3.0_51363

Conversation

@morrySnow
Copy link
Copy Markdown
Contributor

pick park from #51363

@morrySnow morrySnow requested a review from dataroaring as a code owner June 27, 2025 08:45
@hello-stephen
Copy link
Copy Markdown
Contributor

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?

@morrySnow
Copy link
Copy Markdown
Contributor Author

run buildall

@doris-robot
Copy link
Copy Markdown

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

------ Round 1 ----------------------------------
q1	17582	6874	6725	6725
q2	2056	164	177	164
q3	10607	1226	1228	1226
q4	10630	750	816	750
q5	8541	2957	2824	2824
q6	223	140	146	140
q7	1014	630	644	630
q8	9646	2026	2057	2026
q9	7075	6451	6422	6422
q10	7062	2279	2286	2279
q11	471	264	268	264
q12	403	218	224	218
q13	17777	2983	3021	2983
q14	242	212	215	212
q15	513	471	475	471
q16	491	386	391	386
q17	985	596	534	534
q18	7273	6641	6678	6641
q19	1401	1151	1018	1018
q20	487	203	204	203
q21	4007	3167	3194	3167
q22	1076	984	1000	984
Total cold run time: 109562 ms
Total hot run time: 40267 ms

----- Round 2, with runtime_filter_mode=off -----
q1	6707	6656	6654	6654
q2	336	233	232	232
q3	2908	2864	3028	2864
q4	2073	1888	1848	1848
q5	5673	5721	5805	5721
q6	208	127	129	127
q7	2217	1837	1819	1819
q8	3345	3534	3591	3534
q9	8924	8942	8945	8942
q10	3614	3548	3546	3546
q11	594	498	493	493
q12	831	633	594	594
q13	6002	3186	3175	3175
q14	291	282	265	265
q15	515	470	472	470
q16	496	450	440	440
q17	1839	1627	1597	1597
q18	8208	7779	7804	7779
q19	1732	1563	1641	1563
q20	2117	1855	1890	1855
q21	5231	4876	4891	4876
q22	1068	998	1013	998
Total cold run time: 64929 ms
Total hot run time: 59392 ms

@doris-robot
Copy link
Copy Markdown

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

query1	953	373	365	365
query2	6508	1900	1881	1881
query3	6706	225	222	222
query4	34178	23899	23533	23533
query5	4279	447	459	447
query6	261	178	199	178
query7	4626	316	311	311
query8	298	217	203	203
query9	9678	2557	2562	2557
query10	480	256	251	251
query11	18264	15204	15662	15204
query12	148	106	101	101
query13	1648	419	437	419
query14	9046	6584	7270	6584
query15	265	170	177	170
query16	8599	446	490	446
query17	1637	581	556	556
query18	2074	316	317	316
query19	236	178	157	157
query20	115	104	107	104
query21	203	104	106	104
query22	4375	4320	4111	4111
query23	34265	33696	34031	33696
query24	11761	2896	2838	2838
query25	714	412	419	412
query26	1872	167	170	167
query27	3092	353	344	344
query28	7981	2130	2128	2128
query29	1071	453	446	446
query30	327	168	160	160
query31	1040	768	803	768
query32	99	59	60	59
query33	787	306	318	306
query34	945	494	532	494
query35	889	737	723	723
query36	1081	946	929	929
query37	284	68	72	68
query38	4016	3809	3847	3809
query39	1505	1427	1455	1427
query40	296	102	104	102
query41	54	51	52	51
query42	111	100	100	100
query43	529	496	478	478
query44	1245	807	799	799
query45	186	171	169	169
query46	1152	703	703	703
query47	1956	1822	1844	1822
query48	473	375	398	375
query49	1334	407	430	407
query50	825	414	426	414
query51	7319	7135	7238	7135
query52	102	92	91	91
query53	258	185	189	185
query54	1287	476	466	466
query55	82	81	80	80
query56	279	263	260	260
query57	1306	1154	1133	1133
query58	245	214	223	214
query59	3119	2842	2853	2842
query60	305	276	268	268
query61	200	171	104	104
query62	876	685	669	669
query63	221	188	189	188
query64	5122	643	614	614
query65	3344	3220	3207	3207
query66	1435	312	316	312
query67	16082	15680	15537	15537
query68	4653	567	564	564
query69	425	263	258	258
query70	1142	1154	1147	1147
query71	341	259	257	257
query72	6343	4229	4027	4027
query73	749	342	347	342
query74	10259	9285	9293	9285
query75	3420	2679	2643	2643
query76	2917	1019	1118	1019
query77	412	283	283	283
query78	10510	9594	9554	9554
query79	1928	595	605	595
query80	1188	426	414	414
query81	554	217	219	217
query82	869	86	93	86
query83	219	148	143	143
query84	238	82	78	78
query85	1370	318	316	316
query86	450	306	297	297
query87	4384	4234	4199	4199
query88	3690	2397	2364	2364
query89	406	298	297	297
query90	2042	197	189	189
query91	181	147	150	147
query92	65	50	54	50
query93	1511	578	565	565
query94	976	296	309	296
query95	351	264	262	262
query96	615	295	301	295
query97	3269	3182	3213	3182
query98	233	199	199	199
query99	1514	1345	1326	1326
Total cold run time: 303273 ms
Total hot run time: 190615 ms

@doris-robot
Copy link
Copy Markdown

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

query1	0.03	0.03	0.03
query2	0.06	0.04	0.03
query3	0.24	0.07	0.07
query4	1.63	0.10	0.11
query5	0.54	0.54	0.51
query6	1.14	0.73	0.73
query7	0.03	0.02	0.02
query8	0.05	0.03	0.04
query9	0.56	0.50	0.49
query10	0.55	0.55	0.55
query11	0.13	0.10	0.10
query12	0.15	0.11	0.10
query13	0.60	0.61	0.59
query14	0.79	0.80	0.80
query15	0.84	0.82	0.82
query16	0.37	0.38	0.38
query17	1.05	1.05	1.00
query18	0.24	0.21	0.22
query19	1.95	1.79	1.74
query20	0.01	0.02	0.01
query21	15.40	0.61	0.60
query22	2.20	1.67	1.94
query23	17.02	0.84	0.96
query24	3.01	0.61	1.66
query25	0.18	0.13	0.05
query26	0.47	0.13	0.14
query27	0.05	0.04	0.05
query28	10.36	0.48	0.47
query29	12.59	3.23	3.20
query30	0.25	0.07	0.06
query31	2.85	0.39	0.38
query32	3.25	0.47	0.46
query33	2.99	3.04	3.05
query34	17.06	4.50	4.49
query35	4.54	4.52	4.50
query36	0.68	0.49	0.47
query37	0.09	0.06	0.06
query38	0.04	0.03	0.04
query39	0.04	0.02	0.03
query40	0.15	0.12	0.13
query41	0.08	0.02	0.02
query42	0.03	0.02	0.02
query43	0.03	0.03	0.03
Total cold run time: 104.32 s
Total hot run time: 29.62 s

Copy link
Copy Markdown
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@dataroaring dataroaring merged commit 9e19b86 into apache:branch-3.0 Jul 2, 2025
23 of 25 checks passed
koarz pushed a commit to koarz/doris that referenced this pull request Jul 3, 2025
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.

4 participants