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

[PR] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

zy-kkk opened a new pull request, #30236:
URL: https://github.com/apache/doris/pull/30236

   ## Proposed changes
   
   Issue Number: close #xxx
   
   Optimize the Close logic of the JDBC client so that the Jdbc Catalog can correctly cancel the running query when the query is cancelled.
   
   ## 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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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

   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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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


-- 
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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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

   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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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

   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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 39356 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 651ab0367f532860f0351b0eb51a87486f5c1f65, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17909	6026	5489	5489
   q2	2140	151	134	134
   q3	11496	1185	1194	1185
   q4	10745	819	793	793
   q5	7840	3265	3192	3192
   q6	194	121	124	121
   q7	880	496	481	481
   q8	9215	1934	1963	1934
   q9	7292	6398	6372	6372
   q10	8256	3066	3072	3066
   q11	425	213	202	202
   q12	356	193	192	192
   q13	17998	3359	3375	3359
   q14	245	209	218	209
   q15	536	525	501	501
   q16	428	402	393	393
   q17	941	524	525	524
   q18	7548	6839	6781	6781
   q19	1554	1377	1377	1377
   q20	581	317	289	289
   q21	2765	2459	2466	2459
   q22	358	323	303	303
   Total cold run time: 109702 ms
   Total hot run time: 39356 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	5608	5378	5251	5251
   q2	327	216	206	206
   q3	3310	3263	3221	3221
   q4	2062	2050	2005	2005
   q5	6066	5913	5891	5891
   q6	193	121	121	121
   q7	2328	1883	1851	1851
   q8	3250	3385	3374	3374
   q9	9017	8903	8747	8747
   q10	3972	3846	3863	3846
   q11	588	456	464	456
   q12	821	635	632	632
   q13	16920	3152	3177	3152
   q14	296	242	291	242
   q15	544	511	510	510
   q16	518	484	466	466
   q17	1873	1811	1826	1811
   q18	9466	15595	9630	9630
   q19	23831	1591	1518	1518
   q20	4582	1911	1919	1911
   q21	14513	5381	5404	5381
   q22	1012	579	559	559
   Total cold run time: 111097 ms
   Total hot run time: 60781 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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 176513 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 651ab0367f532860f0351b0eb51a87486f5c1f65, data reload: false
   
   query1	933	330	332	330
   query2	6559	1999	1901	1901
   query3	6698	203	199	199
   query4	30767	22063	22298	22063
   query5	4451	443	361	361
   query6	249	150	143	143
   query7	4611	279	255	255
   query8	230	172	191	172
   query9	8387	2526	2519	2519
   query10	413	225	236	225
   query11	16248	15512	15495	15495
   query12	118	70	65	65
   query13	1678	379	388	379
   query14	10512	7038	6946	6946
   query15	214	182	187	182
   query16	5799	255	254	254
   query17	942	477	463	463
   query18	1792	251	251	251
   query19	169	134	132	132
   query20	68	72	65	65
   query21	187	125	122	122
   query22	5009	4982	4898	4898
   query23	31619	30628	30912	30628
   query24	12526	2812	2782	2782
   query25	571	306	294	294
   query26	1800	138	138	138
   query27	3244	284	287	284
   query28	7247	1832	1810	1810
   query29	1971	620	643	620
   query30	284	139	141	139
   query31	929	747	763	747
   query32	84	54	48	48
   query33	726	214	209	209
   query34	1455	450	456	450
   query35	901	771	759	759
   query36	1262	1203	1222	1203
   query37	92	59	58	58
   query38	3360	3238	3267	3238
   query39	1322	1267	1265	1265
   query40	347	86	81	81
   query41	37	34	35	34
   query42	86	81	84	81
   query43	516	466	472	466
   query44	1066	690	687	687
   query45	189	173	169	169
   query46	1056	649	630	630
   query47	1682	1581	1573	1573
   query48	393	321	310	310
   query49	1210	292	286	286
   query50	685	315	303	303
   query51	5271	5224	5188	5188
   query52	92	71	74	71
   query53	315	262	245	245
   query54	242	179	189	179
   query55	78	80	75	75
   query56	172	163	162	162
   query57	1036	922	932	922
   query58	181	163	157	157
   query59	2753	2768	2724	2724
   query60	209	187	185	185
   query61	82	81	83	81
   query62	623	378	356	356
   query63	277	262	262	262
   query64	6129	1739	1742	1739
   query65	3333	3259	3255	3255
   query66	1343	317	318	317
   query67	15909	15313	15080	15080
   query68	10487	532	518	518
   query69	602	300	300	300
   query70	1666	1512	1450	1450
   query71	538	210	210	210
   query72	4710	2837	2812	2812
   query73	1878	314	317	314
   query74	7169	6382	6396	6382
   query75	4680	2375	2300	2300
   query76	6703	1073	1011	1011
   query77	627	235	226	226
   query78	9230	9078	8709	8709
   query79	985	507	491	491
   query80	530	327	308	308
   query81	444	205	208	205
   query82	175	83	81	81
   query83	138	119	118	118
   query84	279	69	67	67
   query85	1055	338	312	312
   query86	391	379	384	379
   query87	3486	3366	3347	3347
   query88	2670	2200	2182	2182
   query89	418	349	356	349
   query90	1973	182	187	182
   query91	159	129	132	129
   query92	53	45	45	45
   query93	952	435	455	435
   query94	1146	157	159	157
   query95	490	437	440	437
   query96	616	313	332	313
   query97	4305	4129	4191	4129
   query98	203	195	190	190
   query99	986	741	715	715
   Total cold run time: 290483 ms
   Total hot run time: 176513 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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.34 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 651ab0367f532860f0351b0eb51a87486f5c1f65, data reload: false
   
   query1	0.02	0.03	0.03
   query2	0.07	0.03	0.02
   query3	0.23	0.05	0.04
   query4	1.68	0.06	0.07
   query5	0.53	0.52	0.53
   query6	1.31	0.64	0.64
   query7	0.02	0.02	0.01
   query8	0.04	0.03	0.03
   query9	0.54	0.49	0.51
   query10	0.57	0.56	0.54
   query11	0.12	0.09	0.09
   query12	0.11	0.10	0.09
   query13	0.61	0.61	0.60
   query14	0.78	0.80	0.81
   query15	0.79	0.79	0.77
   query16	0.37	0.39	0.38
   query17	1.02	1.01	1.01
   query18	0.24	0.24	0.25
   query19	1.83	1.79	1.78
   query20	0.02	0.01	0.01
   query21	15.40	0.58	0.57
   query22	2.26	2.79	1.42
   query23	17.45	0.80	0.72
   query24	2.46	1.43	0.98
   query25	0.35	0.29	0.04
   query26	0.57	0.13	0.13
   query27	0.06	0.04	0.05
   query28	10.97	0.75	0.77
   query29	12.50	3.13	3.20
   query30	0.58	0.53	0.45
   query31	2.78	0.34	0.34
   query32	3.39	0.48	0.49
   query33	3.24	3.27	3.23
   query34	16.05	4.33	4.31
   query35	4.34	4.32	4.30
   query36	1.10	1.06	1.07
   query37	0.06	0.04	0.04
   query38	0.04	0.02	0.03
   query39	0.02	0.02	0.01
   query40	0.15	0.13	0.13
   query41	0.07	0.02	0.01
   query42	0.03	0.01	0.01
   query43	0.02	0.02	0.02
   Total cold run time: 104.79 s
   Total hot run time: 30.34 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] [improvement](jdbc catalog) Optimize the Close logic of JDBC client [doris]

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

   
   Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   ```
   Load test result on commit 651ab0367f532860f0351b0eb51a87486f5c1f65 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:       14.1 seconds inserted 10000000 Rows, about 709K 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