You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "morrySnow (via GitHub)" <gi...@apache.org> on 2024/01/15 04:19:22 UTC

[PR] [fix](Nereids) top-n with top project should hit top-n opt [doris]

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

   in PR #29312, we limit top-n opt only enable in simplest cases. in this PR, we let go of some restrictions.
   
   ## 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] [fix](Nereids) top-n with top project should hit top-n opt [doris]

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

   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](Nereids) top-n with top project should hit top-n opt [doris]

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

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit a7893a93882ff724d5b75cedfff4f3dcc6b4fac4 with default session variables
   Stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
   Stream load orc:          58 seconds loaded 1101869774 Bytes, about 18 MB/s
   Stream load parquet:      32 seconds loaded 861443392 Bytes, about 25 MB/s
   Insert into select:       13.5 seconds inserted 10000000 Rows, about 740K ops/s
   ```
   


-- 
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](Nereids) top-n with top project should hit top-n opt [doris]

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

   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](Nereids) top-n with top project should hit top-n opt [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 179478 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 a7893a93882ff724d5b75cedfff4f3dcc6b4fac4, data reload: false
   
   query1	937	335	329	329
   query2	6715	1862	1995	1862
   query3	6707	222	209	209
   query4	35765	22098	22248	22098
   query5	6932	549	595	549
   query6	261	177	180	177
   query7	4617	295	282	282
   query8	231	203	195	195
   query9	9154	2750	2782	2750
   query10	528	240	238	238
   query11	16403	15381	15310	15310
   query12	130	72	71	71
   query13	1692	381	384	381
   query14	11441	7456	7519	7456
   query15	208	180	188	180
   query16	4631	249	248	248
   query17	1011	495	492	492
   query18	1809	269	265	265
   query19	193	151	148	148
   query20	79	81	75	75
   query21	188	132	127	127
   query22	5061	4779	4712	4712
   query23	31997	31160	31087	31087
   query24	12540	2919	2897	2897
   query25	585	331	319	319
   query26	1863	152	152	152
   query27	3250	277	268	268
   query28	7348	1852	1866	1852
   query29	2274	719	682	682
   query30	291	139	146	139
   query31	938	759	770	759
   query32	80	64	62	62
   query33	726	228	247	228
   query34	1188	461	466	461
   query35	902	764	767	764
   query36	1433	1292	1312	1292
   query37	187	71	70	70
   query38	3379	3302	3246	3246
   query39	1337	1273	1267	1267
   query40	344	103	95	95
   query41	42	36	35	35
   query42	111	97	93	93
   query43	585	518	510	510
   query44	1131	710	727	710
   query45	210	196	184	184
   query46	1147	673	624	624
   query47	1652	1624	1598	1598
   query48	403	321	314	314
   query49	1256	321	317	317
   query50	775	325	324	324
   query51	5307	5315	5220	5220
   query52	99	91	96	91
   query53	377	287	287	287
   query54	918	449	466	449
   query55	94	98	90	90
   query56	211	196	190	190
   query57	1051	971	956	956
   query58	220	189	199	189
   query59	3086	2830	2764	2764
   query60	245	231	224	224
   query61	86	82	84	82
   query62	683	431	398	398
   query63	317	284	295	284
   query64	6279	1690	1677	1677
   query65	3378	3271	3271	3271
   query66	1446	339	321	321
   query67	15735	15146	15253	15146
   query68	10402	533	546	533
   query69	667	353	353	353
   query70	1735	1616	1638	1616
   query71	563	226	238	226
   query72	4787	2858	2850	2850
   query73	2097	312	327	312
   query74	7129	6528	6425	6425
   query75	4803	2335	2277	2277
   query76	6254	998	1090	998
   query77	663	261	291	261
   query78	9162	8861	8588	8588
   query79	1122	506	497	497
   query80	580	338	349	338
   query81	450	204	209	204
   query82	220	91	90	90
   query83	149	121	120	120
   query84	278	72	72	72
   query85	1052	330	336	330
   query86	435	377	385	377
   query87	3488	3385	3445	3385
   query88	3654	2220	2213	2213
   query89	473	406	381	381
   query90	2007	205	196	196
   query91	162	123	123	123
   query92	63	57	53	53
   query93	3168	410	414	410
   query94	1237	190	180	180
   query95	530	488	484	484
   query96	687	313	312	312
   query97	4294	4186	4241	4186
   query98	218	207	187	187
   query99	1078	759	768	759
   Total cold run time: 305806 ms
   Total hot run time: 179478 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] [fix](Nereids) top-n with top project should hit top-n opt [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 41004 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 a7893a93882ff724d5b75cedfff4f3dcc6b4fac4, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	18006	6740	6018	6018
   q2	2049	146	132	132
   q3	10869	1176	1215	1176
   q4	10528	821	901	821
   q5	7815	3297	3357	3297
   q6	222	124	124	124
   q7	922	495	483	483
   q8	9258	2200	2223	2200
   q9	7552	6679	6634	6634
   q10	8287	3135	3160	3135
   q11	424	220	200	200
   q12	396	195	195	195
   q13	18119	3412	3399	3399
   q14	243	215	216	215
   q15	565	515	506	506
   q16	450	393	385	385
   q17	995	518	621	518
   q18	7790	6939	6885	6885
   q19	1765	1500	1527	1500
   q20	601	322	307	307
   q21	2974	2558	2784	2558
   q22	377	336	316	316
   Total cold run time: 110207 ms
   Total hot run time: 41004 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	6091	6100	5961	5961
   q2	381	220	222	220
   q3	3523	3264	3224	3224
   q4	2349	2040	2204	2040
   q5	6328	6110	6342	6110
   q6	220	123	119	119
   q7	2492	1987	1895	1895
   q8	3758	4005	3923	3923
   q9	9868	21267	9713	9713
   q10	5066	3909	3937	3909
   q11	609	485	473	473
   q12	1160	668	644	644
   q13	17163	3264	3256	3256
   q14	369	262	283	262
   q15	596	514	510	510
   q16	543	504	478	478
   q17	8892	2070	2032	2032
   q18	9641	9560	14785	9560
   q19	13116	1812	1809	1809
   q20	3767	1965	1922	1922
   q21	13982	5931	5710	5710
   q22	757	602	612	602
   Total cold run time: 110671 ms
   Total hot run time: 64372 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] [fix](Nereids) top-n with top project should hit top-n opt [doris]

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

   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](Nereids) top-n with top project should hit top-n opt [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 46.07 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:          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.1 seconds inserted 10000000 Rows, about 473K ops/s
    storage size: 17183990559 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](Nereids) top-n with top project should hit top-n opt [doris]

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


-- 
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](Nereids) top-n with top project should hit top-n opt [doris]

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

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 31.25 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 a7893a93882ff724d5b75cedfff4f3dcc6b4fac4, data reload: false
   
   query1	0.06	0.06	0.05
   query2	0.07	0.02	0.02
   query3	0.26	0.13	0.12
   query4	1.75	0.13	0.12
   query5	0.54	0.53	0.53
   query6	1.34	0.63	0.66
   query7	0.02	0.01	0.01
   query8	0.04	0.02	0.02
   query9	0.55	0.49	0.51
   query10	0.57	0.56	0.56
   query11	0.13	0.09	0.09
   query12	0.11	0.09	0.09
   query13	0.60	0.60	0.60
   query14	0.78	0.78	0.79
   query15	0.78	0.78	0.77
   query16	0.36	0.39	0.40
   query17	1.02	1.02	1.06
   query18	0.25	0.25	0.26
   query19	1.89	1.81	1.73
   query20	0.01	0.01	0.01
   query21	15.40	0.58	0.55
   query22	2.53	3.31	1.69
   query23	17.39	0.75	0.86
   query24	2.57	1.42	1.37
   query25	0.42	0.33	0.11
   query26	0.47	0.15	0.14
   query27	0.07	0.06	0.05
   query28	10.64	0.81	0.80
   query29	12.56	3.23	3.18
   query30	0.54	0.51	0.54
   query31	2.78	0.35	0.36
   query32	3.35	0.49	0.48
   query33	3.21	3.22	3.23
   query34	15.84	4.30	4.25
   query35	4.22	4.20	4.30
   query36	1.12	1.08	1.08
   query37	0.07	0.05	0.05
   query38	0.04	0.02	0.02
   query39	0.02	0.01	0.01
   query40	0.16	0.12	0.12
   query41	0.08	0.02	0.02
   query42	0.02	0.01	0.02
   query43	0.02	0.02	0.01
   Total cold run time: 104.65 s
   Total hot run time: 31.25 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