You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Jibing-Li (via GitHub)" <gi...@apache.org> on 2023/12/23 06:06:17 UTC

[PR] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

Jibing-Li opened a new pull request, #28916:
URL: https://github.com/apache/doris/pull/28916

   Fix partition name NPE and sample for all table during auto analyze.
   Sample for all tables because getData may have latency, which may cause full analyze a huge table and use too much resource. Sample for all tables to avoid this. Will improve the strategy later.
   
   <!--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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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


-- 
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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 389c80c8461afd01ca28ea07b375c076a404b855, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4724	4439	4480	4439
   q2	378	185	167	167
   q3	1467	1271	1249	1249
   q4	1124	907	920	907
   q5	3182	3146	3164	3146
   q6	248	129	130	129
   q7	994	487	493	487
   q8	2206	2222	2174	2174
   q9	6688	6628	6659	6628
   q10	3220	3280	3244	3244
   q11	312	194	196	194
   q12	358	218	212	212
   q13	4564	3831	3801	3801
   q14	243	210	213	210
   q15	574	528	528	528
   q16	439	387	388	387
   q17	1005	559	509	509
   q18	7059	6758	6783	6758
   q19	1511	1440	1455	1440
   q20	537	300	337	300
   q21	3087	2653	2667	2653
   q22	351	278	287	278
   Total cold run time: 44271 ms
   Total hot run time: 39840 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4389	4376	4387	4376
   q2	268	165	173	165
   q3	3502	3498	3508	3498
   q4	2397	2371	2366	2366
   q5	5715	5719	5718	5718
   q6	240	126	124	124
   q7	2360	1837	1886	1837
   q8	3525	3522	3506	3506
   q9	9087	9004	8963	8963
   q10	3915	3970	4005	3970
   q11	487	357	375	357
   q12	769	607	606	606
   q13	4289	3540	3561	3540
   q14	288	250	255	250
   q15	576	530	526	526
   q16	503	455	455	455
   q17	1888	1847	1834	1834
   q18	8438	8067	8013	8013
   q19	1754	1774	1750	1750
   q20	2241	1957	1920	1920
   q21	6494	6141	6097	6097
   q22	514	423	444	423
   Total cold run time: 63639 ms
   Total hot run time: 60294 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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   
   TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Tpch sf100 test result on commit 065f55bbbebfcc44de1f1cff16531f4d18c2324a, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4702	4386	4405	4386
   q2	365	153	157	153
   q3	1468	1266	1249	1249
   q4	1110	929	971	929
   q5	3194	3193	3199	3193
   q6	246	127	127	127
   q7	999	495	483	483
   q8	2197	2218	2160	2160
   q9	6680	6638	6660	6638
   q10	3207	3268	3289	3268
   q11	302	186	186	186
   q12	355	214	213	213
   q13	4547	3825	3774	3774
   q14	245	211	214	211
   q15	578	524	525	524
   q16	433	384	386	384
   q17	1024	583	473	473
   q18	7117	6843	6781	6781
   q19	1536	1406	1501	1406
   q20	537	326	286	286
   q21	3090	2684	2669	2669
   q22	345	284	283	283
   Total cold run time: 44277 ms
   Total hot run time: 39776 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4334	4367	4337	4337
   q2	267	166	171	166
   q3	3505	3501	3519	3501
   q4	2413	2378	2372	2372
   q5	5705	5704	5705	5704
   q6	237	119	120	119
   q7	2363	1824	1832	1824
   q8	3524	3532	3523	3523
   q9	9027	8979	9020	8979
   q10	3907	4018	3999	3999
   q11	481	378	377	377
   q12	775	597	591	591
   q13	4286	3586	3541	3541
   q14	293	257	247	247
   q15	577	517	523	517
   q16	494	444	453	444
   q17	1869	1871	1848	1848
   q18	8564	8029	8115	8029
   q19	1713	1783	1759	1759
   q20	2251	1948	1929	1929
   q21	6519	6173	6116	6116
   q22	499	421	443	421
   Total cold run time: 63603 ms
   Total hot run time: 60343 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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.25 seconds
    stream load tsv:          569 seconds loaded 74807831229 Bytes, about 125 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:          28.6 seconds inserted 10000000 Rows, about 349K ops/s
    storage size: 17183873556 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] [Fix](statistics) Fix partition name NPE and sample for all table during auto analyze. [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 44.77 seconds
    stream load tsv:          568 seconds loaded 74807831229 Bytes, about 125 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:          33 seconds loaded 861443392 Bytes, about 24 MB/s
    insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
    storage size: 17184573743 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