You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "HHoflittlefish777 (via GitHub)" <gi...@apache.org> on 2023/12/25 08:41:15 UTC

[PR] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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] [improve](move-memtbale) enable move memtable in routine load [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 46.46 seconds
    stream load tsv:          563 seconds loaded 74807831229 Bytes, about 126 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          66 seconds loaded 1101869774 Bytes, about 15 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          27.6 seconds inserted 10000000 Rows, about 362K ops/s
    storage size: 17183991862 Bytes


-- 
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] [improve](move-memtbale) enable move memtable in routine load [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 893900ffcdf9f400f0b3bf3d4591cf2d7d792aea, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	5480	5140	5120	5120
   q2	383	164	156	156
   q3	1456	1172	1156	1156
   q4	1076	840	914	840
   q5	3151	3073	2982	2982
   q6	226	136	136	136
   q7	972	532	536	532
   q8	2151	2299	2258	2258
   q9	6701	6670	6692	6670
   q10	3198	3186	3147	3147
   q11	346	230	215	215
   q12	384	235	229	229
   q13	4371	3656	3665	3656
   q14	249	214	223	214
   q15	576	544	535	535
   q16	460	386	416	386
   q17	1043	517	618	517
   q18	7094	6764	6912	6764
   q19	1638	1527	1530	1527
   q20	539	348	343	343
   q21	2964	2445	2468	2445
   q22	398	321	328	321
   Total cold run time: 44856 ms
   Total hot run time: 40149 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	5115	5077	5033	5033
   q2	333	230	234	230
   q3	3363	3325	3332	3325
   q4	2181	2028	2041	2028
   q5	5934	5916	5981	5916
   q6	228	127	129	127
   q7	2416	1945	1976	1945
   q8	3574	3683	3701	3683
   q9	9035	8989	8989	8989
   q10	3859	3923	3912	3912
   q11	571	478	487	478
   q12	797	660	636	636
   q13	3885	3193	3173	3173
   q14	304	272	258	258
   q15	585	520	520	520
   q16	562	537	520	520
   q17	2032	1817	1774	1774
   q18	8763	8406	8329	8329
   q19	1752	1710	1676	1676
   q20	2270	1983	1954	1954
   q21	5715	5370	5389	5370
   q22	592	541	479	479
   Total cold run time: 63866 ms
   Total hot run time: 60355 ms
   ```
   


-- 
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] [improve](move-memtbale) enable move memtable in routine load [doris]

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


-- 
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] [improve](move_memtbale) enable move memtable in routine load [doris]

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


##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -523,9 +523,9 @@ public class Config extends ConfigBase {
             "Default pre-commit timeout for stream load job, in seconds."})
     public static int stream_load_default_precommit_timeout_second = 3600; // 3600s
 
-    @ConfField(mutable = true, masterOnly = true, description = {"Stream Load 是否默认打开 memtable 前移",
-            "Whether to enable memtable on sink node by default in stream load"})
-    public static boolean stream_load_default_memtable_on_sink_node = false;
+    @ConfField(mutable = true, masterOnly = true, description = {"导入是否默认打开 memtable 前移",

Review Comment:
   this config does not affect insert into



-- 
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] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 970beca5f86372fab9309f8d108f280b223ad0b5, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4695	4413	4381	4381
   q2	373	139	161	139
   q3	1457	1268	1182	1182
   q4	1106	887	923	887
   q5	3167	3179	3148	3148
   q6	257	130	131	130
   q7	1008	495	482	482
   q8	2195	2235	2219	2219
   q9	6702	6684	6677	6677
   q10	3226	3295	3264	3264
   q11	306	185	192	185
   q12	353	205	207	205
   q13	4563	3799	3816	3799
   q14	237	211	221	211
   q15	570	522	519	519
   q16	442	386	389	386
   q17	1009	677	581	581
   q18	7065	6697	6759	6697
   q19	1526	1404	1461	1404
   q20	546	306	312	306
   q21	3083	2628	2629	2628
   q22	346	281	285	281
   Total cold run time: 44232 ms
   Total hot run time: 39711 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4366	4317	4345	4317
   q2	276	169	170	169
   q3	3495	3503	3486	3486
   q4	2400	2373	2387	2373
   q5	5763	5718	5715	5715
   q6	239	122	119	119
   q7	2381	1914	1875	1875
   q8	3528	3538	3545	3538
   q9	9024	9001	8942	8942
   q10	3914	4007	4002	4002
   q11	491	362	390	362
   q12	775	604	605	604
   q13	4316	3552	3592	3552
   q14	283	250	260	250
   q15	571	530	517	517
   q16	491	451	482	451
   q17	1895	1861	1861	1861
   q18	8466	8204	8198	8198
   q19	1754	1755	1741	1741
   q20	2257	1971	1959	1959
   q21	6502	6168	6097	6097
   q22	508	431	414	414
   Total cold run time: 63695 ms
   Total hot run time: 60542 ms
   ```
   


-- 
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] [improve](move-memtbale) enable move memtable in routine load [doris]

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

   TeamCity be ut coverage result:
    Function Coverage: 36.63% (8616/23522) 
    Line Coverage: 28.67% (70029/244294)
    Region Coverage: 27.64% (36247/131124)
    Branch Coverage: 24.33% (18508/76080)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/893900ffcdf9f400f0b3bf3d4591cf2d7d792aea_893900ffcdf9f400f0b3bf3d4591cf2d7d792aea/report/index.html


-- 
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] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   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] [improve](move-memtbale) enable move memtable in routine load [doris]

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

   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] [improve](move-memtbale) enable move memtable in routine load [doris]

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

   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] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   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] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 82a80031d393f5e5d0dd71a63329c9513410cf78, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4787	4465	4485	4465
   q2	369	156	160	156
   q3	1473	1304	1228	1228
   q4	1153	1025	958	958
   q5	3185	3147	3186	3147
   q6	254	137	135	135
   q7	1042	483	501	483
   q8	2278	2273	2250	2250
   q9	6740	6710	6726	6710
   q10	3216	3318	3327	3318
   q11	331	207	220	207
   q12	371	211	216	211
   q13	4542	3783	3806	3783
   q14	242	212	219	212
   q15	576	528	519	519
   q16	443	387	386	386
   q17	1046	767	621	621
   q18	7070	6741	6989	6741
   q19	1574	1597	1590	1590
   q20	567	319	287	287
   q21	3258	2761	2808	2761
   q22	362	295	304	295
   Total cold run time: 44879 ms
   Total hot run time: 40463 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4429	4404	4397	4397
   q2	273	166	169	166
   q3	3517	3511	3501	3501
   q4	2436	2420	2415	2415
   q5	5749	5736	5716	5716
   q6	250	127	126	126
   q7	2386	1875	1882	1875
   q8	3621	3618	3617	3617
   q9	8990	9026	8983	8983
   q10	3920	3998	4006	3998
   q11	493	367	357	357
   q12	776	614	608	608
   q13	4273	3549	3541	3541
   q14	290	265	266	265
   q15	579	513	528	513
   q16	516	466	458	458
   q17	1982	1958	1947	1947
   q18	8754	8170	8261	8170
   q19	1817	1836	1820	1820
   q20	2266	1977	1949	1949
   q21	6610	6245	6229	6229
   q22	537	471	462	462
   Total cold run time: 64464 ms
   Total hot run time: 61113 ms
   ```
   


-- 
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] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   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


Re: [PR] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 44.81 seconds
    stream load tsv:          561 seconds loaded 74807831229 Bytes, about 127 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          66 seconds loaded 1101869774 Bytes, about 15 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          37.9 seconds inserted 10000000 Rows, about 263K ops/s
    storage size: 17183822656 Bytes


-- 
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] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   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] [improve](move_memtbale) enable move memtable in routine load [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.91 seconds
    stream load tsv:          554 seconds loaded 74807831229 Bytes, about 128 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    insert into select:          21.2 seconds inserted 10000000 Rows, about 471K ops/s
    storage size: 17184567733 Bytes


-- 
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] [improve](move-memtbale) enable move memtable in routine load [doris]

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

   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