问下kylin可以用连接池连接jdbc么?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

问下kylin可以用连接池连接jdbc么?

tts2
问下kylin可以用连接池连接jdbc么? 谢谢
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 问下kylin可以用连接池连接jdbc么?

Luke Han
Administrator
Should be ok, connection pool should be done by pool and JDBC driver.

Please have a try and report any issue.

Thanks.


Best Regards!
---------------------

Luke Han

2016-07-04 16:59 GMT+08:00 TTS2沉默天使 <[hidden email]>:

> 问下kylin可以用连接池连接jdbc么? 谢谢
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 问下kylin可以用连接池连接jdbc么?

Yang
Kylin connection is very cheap to construct. In this sense, connection pool
is not required if the concern is good performance.

However, you can pool Kylin connections if you want.

Yang

On Mon, Jul 4, 2016 at 11:14 PM, Luke Han <[hidden email]> wrote:

> Should be ok, connection pool should be done by pool and JDBC driver.
>
> Please have a try and report any issue.
>
> Thanks.
>
>
> Best Regards!
> ---------------------
>
> Luke Han
>
> 2016-07-04 16:59 GMT+08:00 TTS2沉默天使 <[hidden email]>:
>
> > 问下kylin可以用连接池连接jdbc么? 谢谢
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 问下kylin可以用连接池连接jdbc么?

yangchao
This post has NOT been accepted by the mailing list yet.
那并发查询会影响性能吧,如果不是连接池的话 ,每次都新建一个连接,太费性能了,为什么不用连接池来实现呢?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 问下kylin可以用连接池连接jdbc么?

huanghuazhang
This post has NOT been accepted by the mailing list yet.
In reply to this post by Luke Han
Have tested it with c3p0. The difference is the need to set a test url to make it work, if it is not set , the check_on_test_in/out would fail.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 问下kylin可以用连接池连接jdbc么?

lichaojacobs
This post has NOT been accepted by the mailing list yet.
In reply to this post by tts2
可以看一下我这个项目,自己手动封装了一个jdbc pool,使用起来也很方便

https://github.com/lichaojacobs/kylin-jdbc-pool
Loading...