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

[PR] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   ## Proposed changes
   
   Issue Number: close #27263
   
   refer to https://github.com/alibaba/druid/wiki/%E8%BF%9E%E6%8E%A5%E6%B3%84%E6%BC%8F%E7%9B%91%E6%B5%8B
   
   <!--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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   
   <details>
   <summary>TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'</summary>
   
   ```
   Tpch sf100 test result on commit 078925288a83058bf8517496ce44480bc9c35eec, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4680	4429	4451	4429
   q2	360	164	151	151
   q3	1448	1245	1222	1222
   q4	1115	913	885	885
   q5	3110	3120	3148	3120
   q6	247	125	127	125
   q7	1014	486	467	467
   q8	2205	2237	2179	2179
   q9	6674	6664	6691	6664
   q10	3226	3255	3260	3255
   q11	316	201	204	201
   q12	351	206	202	202
   q13	5690	4418	3816	3816
   q14	245	211	209	209
   q15	564	513	519	513
   q16	438	377	384	377
   q17	1012	565	573	565
   q18	7557	7846	7054	7054
   q19	1528	1392	1406	1392
   q20	1329	303	316	303
   q21	3071	2731	2618	2618
   q22	358	284	287	284
   Total cold run time: 46538 ms
   Total hot run time: 40031 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4410	4406	4365	4365
   q2	267	169	167	167
   q3	3535	3512	3520	3512
   q4	2399	2366	2370	2366
   q5	5723	5731	5739	5731
   q6	240	121	121	121
   q7	2394	1847	1847	1847
   q8	3510	3533	3517	3517
   q9	9016	8967	9023	8967
   q10	3888	3981	3986	3981
   q11	521	394	366	366
   q12	772	612	590	590
   q13	4280	3542	3573	3542
   q14	275	257	255	255
   q15	567	515	519	515
   q16	498	473	460	460
   q17	1871	1831	1838	1831
   q18	8646	8359	8431	8359
   q19	1733	1733	1730	1730
   q20	2266	1947	1929	1929
   q21	6553	6195	6176	6176
   q22	510	437	431	431
   Total cold run time: 63874 ms
   Total hot run time: 60758 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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   #27263


-- 
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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx closed pull request #28148: [bugfix](jdbc catalog)fix catalog connections not released 
URL: https://github.com/apache/doris/pull/28148


-- 
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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.62 seconds
    stream load tsv:          586 seconds loaded 74807831229 Bytes, about 121 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.8 seconds inserted 10000000 Rows, about 347K ops/s
    storage size: 17215760411 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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   
   <details>
   <summary>TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'</summary>
   
   ```
   Tpch sf100 test result on commit 078925288a83058bf8517496ce44480bc9c35eec, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4706	4464	4493	4464
   q2	368	147	159	147
   q3	1456	1226	1253	1226
   q4	1106	895	908	895
   q5	3133	3148	3142	3142
   q6	254	130	130	130
   q7	1012	493	482	482
   q8	2190	2189	2183	2183
   q9	6647	6711	6680	6680
   q10	3220	3272	3305	3272
   q11	325	207	199	199
   q12	356	201	202	201
   q13	4596	3874	3802	3802
   q14	237	212	211	211
   q15	557	554	521	521
   q16	437	386	375	375
   q17	1009	604	527	527
   q18	7495	7296	7689	7296
   q19	1519	1365	1434	1365
   q20	500	333	305	305
   q21	3088	2680	2667	2667
   q22	342	275	285	275
   Total cold run time: 44553 ms
   Total hot run time: 40365 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4442	4435	4402	4402
   q2	266	163	170	163
   q3	3546	3546	3536	3536
   q4	2389	2370	2372	2370
   q5	5752	5739	5740	5739
   q6	242	118	126	118
   q7	2412	1857	1906	1857
   q8	3515	3525	3522	3522
   q9	9076	9042	8994	8994
   q10	3922	3998	4011	3998
   q11	516	385	398	385
   q12	765	599	592	592
   q13	4341	3598	3534	3534
   q14	283	253	246	246
   q15	575	523	522	522
   q16	504	430	457	430
   q17	1873	1866	1856	1856
   q18	8703	8159	8350	8159
   q19	1746	1741	1744	1741
   q20	2277	1948	1935	1935
   q21	6553	6167	6170	6167
   q22	502	418	423	418
   Total cold run time: 64200 ms
   Total hot run time: 60684 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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   #28300


-- 
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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 43.93 seconds
    stream load tsv:          590 seconds loaded 74807831229 Bytes, about 120 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.2 seconds inserted 10000000 Rows, about 354K ops/s
    storage size: 17213780481 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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   
   <details>
   <summary>TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'</summary>
   
   ```
   Tpch sf100 test result on commit bc4ee7027d9c15a1c1589619405028be7586972a, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4631	4471	4454	4454
   q2	368	162	159	159
   q3	1440	1210	1219	1210
   q4	1108	920	888	888
   q5	3119	3098	3126	3098
   q6	248	126	127	126
   q7	969	483	478	478
   q8	2176	2247	2159	2159
   q9	6661	6638	6652	6638
   q10	3192	3249	3234	3234
   q11	313	203	194	194
   q12	348	205	204	204
   q13	4522	3800	3828	3800
   q14	234	215	217	215
   q15	565	528	525	525
   q16	442	378	399	378
   q17	1008	550	595	550
   q18	7613	7294	6947	6947
   q19	1499	1342	1414	1342
   q20	534	758	301	301
   q21	3034	2568	2574	2568
   q22	345	272	284	272
   Total cold run time: 44369 ms
   Total hot run time: 39740 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4376	4347	4369	4347
   q2	264	165	172	165
   q3	3510	3504	3491	3491
   q4	2362	2345	2345	2345
   q5	5719	5701	5702	5701
   q6	238	122	124	122
   q7	2373	1874	1849	1849
   q8	3491	3494	3478	3478
   q9	8969	8958	8939	8939
   q10	3860	3961	3986	3961
   q11	504	389	383	383
   q12	753	603	589	589
   q13	4293	3544	3553	3544
   q14	279	256	256	256
   q15	566	518	516	516
   q16	498	450	448	448
   q17	1831	1830	1837	1830
   q18	8563	8236	8627	8236
   q19	1712	1716	1716	1716
   q20	2242	1942	1947	1942
   q21	6507	6130	6069	6069
   q22	500	421	409	409
   Total cold run time: 63410 ms
   Total hot run time: 60336 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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   
   <details>
   <summary>TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'</summary>
   
   ```
   Tpch sf100 test result on commit bc4ee7027d9c15a1c1589619405028be7586972a, data reload: false
   
   run tpch-sf100 query with default conf and session variables
   q1	4675	4464	4486	4464
   q2	375	178	160	160
   q3	1466	1239	1217	1217
   q4	1102	923	941	923
   q5	3107	3128	3141	3128
   q6	259	129	129	129
   q7	1004	487	471	471
   q8	2198	2251	2199	2199
   q9	6670	6687	6639	6639
   q10	3190	3266	3248	3248
   q11	326	206	208	206
   q12	349	207	207	207
   q13	4645	4658	3799	3799
   q14	238	208	219	208
   q15	564	520	527	520
   q16	451	393	390	390
   q17	1003	560	527	527
   q18	7885	7334	7112	7112
   q19	1509	1297	1478	1297
   q20	522	1829	323	323
   q21	3085	2711	2678	2678
   q22	346	283	293	283
   Total cold run time: 44969 ms
   Total hot run time: 40128 ms
   
   run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
   q1	4397	4375	4385	4375
   q2	265	165	177	165
   q3	3541	3558	3538	3538
   q4	2379	2380	2376	2376
   q5	5750	5741	5736	5736
   q6	239	121	125	121
   q7	2385	1912	1877	1877
   q8	3529	3515	3526	3515
   q9	9065	9066	9002	9002
   q10	3889	3982	4015	3982
   q11	501	391	403	391
   q12	751	603	645	603
   q13	4292	3565	3558	3558
   q14	280	248	250	248
   q15	572	520	528	520
   q16	495	462	499	462
   q17	1883	1853	1851	1851
   q18	8771	8596	8408	8408
   q19	1733	1762	1751	1751
   q20	2256	1954	1945	1945
   q21	6524	6200	6183	6183
   q22	508	425	439	425
   Total cold run time: 64005 ms
   Total hot run time: 61032 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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   > Why adding this, this may impact the performance
   
   Yes, a user wants to set up this test, so the connection pool configuration needs to be provided to the user, should we put the connection pool configuration into the catalog properties?
   
   


-- 
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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 45.27 seconds
    stream load tsv:          578 seconds loaded 74807831229 Bytes, about 123 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          67 seconds loaded 1101869774 Bytes, about 15 MB/s
    stream load parquet:          33 seconds loaded 861443392 Bytes, about 24 MB/s
    insert into select:          28.6 seconds inserted 10000000 Rows, about 349K ops/s
    storage size: 17218258313 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] [bugfix](jdbc catalog)fix catalog connections not released [doris]

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 44.79 seconds
    stream load tsv:          580 seconds loaded 74807831229 Bytes, about 123 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:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
    storage size: 17218055932 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