Customer Portal

Very slow connection times with DB2

Comments 2

  • Avatar
    robfromalphabay
    0
    Comment actions Permalink
    Geez, I found the root cause. Turns out when we invoke Clover from our build system we're passing in a properties file for the DB2 driver, which is enabling all kinds of logging at the JDBC layer. If I turn off the JDBC logging then the connection times become much faster.

    Doh!
  • Avatar
    avackova
    0
    Comment actions Permalink
    Hi,
    you are right in your first message: each connection is first. If you want to disable this feature use threadSafeConnection=false (see DBConnection)

Please sign in to leave a comment.