search

Home  >  Q&A  >  body text

java - 大家用什么数据库连接池,hikari、druid、c3p0、dbcp、jdbc?

以前常用c3p0,最近搭框架,在选型,希望朋友们给点建议,hikari druid c3p0 dbcp jdbc,大家用过哪个,遇到过什么坑,有什么优劣

怪我咯怪我咯2766 days ago899

reply all(10)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 09:30:06

    druid is not only a data source, but also has SQL interception and other functions. There are also strategies for migrating from c3p0 to druid online. The druid information is complete and druid is recommended.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 09:30:06

    tomcat datasource pool

    reply
    0
  • 黄舟

    黄舟2017-04-18 09:30:06

    hikari, now spring pushes this.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:30:06

    The company uses druid, which is said to have better performance

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 09:30:06

    My company uses c3p0 and there have been no problems.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:30:06

    I have been using druid

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:30:06

    druid, it feels pretty good

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:30:06

    druid, I believe Alibaba’s technology is the best in BAT!

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 09:30:06

    The druid used by the company is very good

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 09:30:06

    Druid, not just connection pooling. Monitoring is also very powerful and easy to optimize

    reply
    0
  • Cancelreply