You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "bobhan1 (via GitHub)" <gi...@apache.org> on 2024/07/09 12:00:26 UTC

[PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

bobhan1 opened a new pull request, #37558:
URL: https://github.com/apache/doris/pull/37558

   ## Proposed changes
   
   add logs about update delete bitmap size in cloud compaction for debug for duplicate key in MOW table.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2219772452

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 174115 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 082733f2edc7393db16194e191899ea2e48feabc, data reload: false
   
   query1	913	380	365	365
   query2	6465	2452	2388	2388
   query3	6654	205	222	205
   query4	28651	17550	17475	17475
   query5	4214	503	499	499
   query6	284	182	182	182
   query7	4600	295	295	295
   query8	330	304	306	304
   query9	8538	2403	2389	2389
   query10	433	291	276	276
   query11	11860	10148	10077	10077
   query12	144	88	85	85
   query13	1654	393	386	386
   query14	10209	7014	7878	7014
   query15	276	181	182	181
   query16	8146	322	301	301
   query17	1795	554	527	527
   query18	2109	274	275	274
   query19	288	149	143	143
   query20	89	84	83	83
   query21	208	129	128	128
   query22	4489	4019	4037	4019
   query23	33988	33082	33397	33082
   query24	10739	2854	2852	2852
   query25	616	361	368	361
   query26	1578	151	153	151
   query27	2725	268	273	268
   query28	7366	2048	2056	2048
   query29	951	616	647	616
   query30	285	149	149	149
   query31	943	744	754	744
   query32	94	56	53	53
   query33	756	295	285	285
   query34	960	494	495	494
   query35	680	581	550	550
   query36	1085	900	943	900
   query37	162	81	80	80
   query38	2850	2732	2733	2732
   query39	863	845	827	827
   query40	281	121	122	121
   query41	53	51	55	51
   query42	119	98	104	98
   query43	589	585	566	566
   query44	1173	732	731	731
   query45	194	164	160	160
   query46	1076	745	709	709
   query47	1859	1748	1787	1748
   query48	373	304	339	304
   query49	1173	413	413	413
   query50	778	405	407	405
   query51	6922	6793	6791	6791
   query52	110	97	95	95
   query53	368	301	295	295
   query54	970	451	452	451
   query55	80	74	73	73
   query56	304	263	269	263
   query57	1133	1067	1070	1067
   query58	254	264	255	255
   query59	3417	3174	3349	3174
   query60	307	285	285	285
   query61	127	97	90	90
   query62	823	651	660	651
   query63	332	303	297	297
   query64	10549	2180	7439	2180
   query65	3175	3415	3105	3105
   query66	1396	352	354	352
   query67	15584	15056	15100	15056
   query68	4577	545	532	532
   query69	653	444	334	334
   query70	1216	1146	1153	1146
   query71	409	288	288	288
   query72	7874	5294	5696	5294
   query73	745	330	329	329
   query74	5869	5486	5510	5486
   query75	3448	2739	2711	2711
   query76	2978	947	1010	947
   query77	655	310	302	302
   query78	9422	8938	8833	8833
   query79	2936	528	523	523
   query80	2120	482	485	482
   query81	579	220	218	218
   query82	953	140	136	136
   query83	322	173	170	170
   query84	277	95	91	91
   query85	1891	311	309	309
   query86	486	338	295	295
   query87	3278	3086	3115	3086
   query88	4210	2471	2471	2471
   query89	483	388	385	385
   query90	1890	198	202	198
   query91	221	103	106	103
   query92	65	52	49	49
   query93	3904	515	523	515
   query94	1260	224	216	216
   query95	412	323	329	323
   query96	598	273	271	271
   query97	3222	3053	3035	3035
   query98	234	204	202	202
   query99	1684	1261	1263	1261
   Total cold run time: 291380 ms
   Total hot run time: 174115 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2219710136

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2219752215

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 40976 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 082733f2edc7393db16194e191899ea2e48feabc, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	18455	4472	4342	4342
   q2	2024	196	187	187
   q3	10452	1244	1102	1102
   q4	10195	845	844	844
   q5	7494	2633	2634	2633
   q6	224	143	140	140
   q7	970	610	613	610
   q8	9225	2080	2069	2069
   q9	8640	6506	6492	6492
   q10	8836	3731	3724	3724
   q11	453	250	240	240
   q12	397	239	244	239
   q13	17957	2976	2985	2976
   q14	270	229	228	228
   q15	532	501	485	485
   q16	495	398	370	370
   q17	974	684	745	684
   q18	8116	7512	7455	7455
   q19	2928	1565	1599	1565
   q20	707	332	346	332
   q21	4920	3913	3934	3913
   q22	400	346	353	346
   Total cold run time: 114664 ms
   Total hot run time: 40976 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	4339	4337	4243	4243
   q2	374	264	255	255
   q3	3007	2798	2752	2752
   q4	1899	1594	1577	1577
   q5	5282	5288	5313	5288
   q6	215	134	134	134
   q7	2089	1691	1716	1691
   q8	3199	3386	3331	3331
   q9	8383	8368	8333	8333
   q10	3881	3674	3684	3674
   q11	594	510	495	495
   q12	797	638	603	603
   q13	17514	3007	2999	2999
   q14	307	285	275	275
   q15	516	485	482	482
   q16	472	415	442	415
   q17	1778	1511	1493	1493
   q18	7683	7597	7365	7365
   q19	1692	1687	1555	1555
   q20	2038	1799	1764	1764
   q21	4876	4827	4897	4827
   q22	657	556	567	556
   Total cold run time: 71592 ms
   Total hot run time: 54107 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2219781797

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.56 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 082733f2edc7393db16194e191899ea2e48feabc, data reload: false
   
   query1	0.04	0.03	0.03
   query2	0.08	0.03	0.04
   query3	0.22	0.04	0.04
   query4	1.69	0.07	0.06
   query5	0.49	0.50	0.49
   query6	1.14	0.72	0.72
   query7	0.01	0.01	0.01
   query8	0.05	0.05	0.05
   query9	0.55	0.48	0.50
   query10	0.54	0.54	0.54
   query11	0.15	0.11	0.11
   query12	0.15	0.12	0.12
   query13	0.60	0.58	0.59
   query14	0.75	0.80	0.77
   query15	0.85	0.83	0.81
   query16	0.36	0.38	0.37
   query17	1.01	1.00	1.04
   query18	0.24	0.23	0.24
   query19	1.82	1.74	1.74
   query20	0.01	0.01	0.01
   query21	15.40	0.78	0.67
   query22	3.95	7.33	1.81
   query23	18.24	1.42	1.30
   query24	2.20	0.23	0.23
   query25	0.18	0.09	0.10
   query26	0.30	0.21	0.20
   query27	0.45	0.23	0.24
   query28	13.20	1.03	1.00
   query29	12.61	3.30	3.23
   query30	0.25	0.06	0.06
   query31	2.87	0.39	0.39
   query32	3.28	0.48	0.47
   query33	2.93	2.97	2.90
   query34	16.98	4.36	4.37
   query35	4.42	4.37	4.46
   query36	0.65	0.49	0.48
   query37	0.19	0.15	0.16
   query38	0.16	0.15	0.15
   query39	0.04	0.04	0.04
   query40	0.16	0.12	0.12
   query41	0.09	0.04	0.04
   query42	0.06	0.05	0.05
   query43	0.06	0.03	0.03
   Total cold run time: 109.42 s
   Total hot run time: 30.56 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2217457552

   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
   
   Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
   See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2219432639

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "zhannngchen (via GitHub)" <gi...@apache.org>.
zhannngchen merged PR #37558:
URL: https://github.com/apache/doris/pull/37558


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2217457747

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2217468454

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "zhannngchen (via GitHub)" <gi...@apache.org>.
zhannngchen commented on code in PR #37558:
URL: https://github.com/apache/doris/pull/37558#discussion_r1670528330


##########
be/src/cloud/cloud_base_compaction.cpp:
##########
@@ -297,6 +297,14 @@ Status CloudBaseCompaction::modify_rowsets() {
                 _input_rowsets, _output_rowset, _rowid_conversion, compaction_type(),
                 _stats.merged_rows, initiator, output_rowset_delete_bitmap,
                 _allow_delete_in_cumu_compaction));
+        LOG_INFO("update delete bitmap in CloudBaseCompaction, tablet_id={}, range=[{}-{}]",
+                 _tablet->tablet_id(), _input_rowsets.front()->start_version(),
+                 _input_rowsets.back()->end_version())
+                .tag("job_id", _uuid)
+                .tag("input_rowsets", _input_rowsets.size())
+                .tag("input_rows", _input_row_num)
+                .tag("input_segments", _input_segments)
+                .tag("update_bitmap_size", output_rowset_delete_bitmap->delete_bitmap.size());

Review Comment:
   plz print the lock id for load job's update_delete_bitmap call



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2219436750

   PR approved by at least one committer and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "zhannngchen (via GitHub)" <gi...@apache.org>.
zhannngchen commented on code in PR #37558:
URL: https://github.com/apache/doris/pull/37558#discussion_r1670524380


##########
be/src/cloud/cloud_base_compaction.cpp:
##########
@@ -297,6 +297,14 @@ Status CloudBaseCompaction::modify_rowsets() {
                 _input_rowsets, _output_rowset, _rowid_conversion, compaction_type(),
                 _stats.merged_rows, initiator, output_rowset_delete_bitmap,
                 _allow_delete_in_cumu_compaction));
+        LOG_INFO("update delete bitmap in CloudBaseCompaction, tablet_id={}, range=[{}-{}]",
+                 _tablet->tablet_id(), _input_rowsets.front()->start_version(),
+                 _input_rowsets.back()->end_version())
+                .tag("job_id", _uuid)
+                .tag("input_rowsets", _input_rowsets.size())
+                .tag("input_rows", _input_row_num)
+                .tag("input_segments", _input_segments)
+                .tag("update_bitmap_size", output_rowset_delete_bitmap->delete_bitmap.size());

Review Comment:
   should print the initiator id as well



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 commented on code in PR #37558:
URL: https://github.com/apache/doris/pull/37558#discussion_r1671456064


##########
be/src/cloud/cloud_base_compaction.cpp:
##########
@@ -297,6 +297,14 @@ Status CloudBaseCompaction::modify_rowsets() {
                 _input_rowsets, _output_rowset, _rowid_conversion, compaction_type(),
                 _stats.merged_rows, initiator, output_rowset_delete_bitmap,
                 _allow_delete_in_cumu_compaction));
+        LOG_INFO("update delete bitmap in CloudBaseCompaction, tablet_id={}, range=[{}-{}]",
+                 _tablet->tablet_id(), _input_rowsets.front()->start_version(),
+                 _input_rowsets.back()->end_version())
+                .tag("job_id", _uuid)
+                .tag("input_rowsets", _input_rowsets.size())
+                .tag("input_rows", _input_row_num)
+                .tag("input_segments", _input_segments)
+                .tag("update_bitmap_size", output_rowset_delete_bitmap->delete_bitmap.size());

Review Comment:
   > plz print the lock id for load job's update_delete_bitmap call
   
   lock_id is always -1 for compaction job



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [opt](compaction) Add logs for update delete bitmap info in cloud compaction [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #37558:
URL: https://github.com/apache/doris/pull/37558#issuecomment-2219436834

   PR approved by anyone and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org