3 Replies Latest reply on May 29, 2013 4:38 PM by Jesper Pedersen

    LocalManagedConnectionFactory#matchManagedConnections performance

    Koen Janssens Newbie

      HI,

       

      I'm using jboss 7 with a plain old oracle datasource. (pool of 200 connections, all with the same username/password)

      Profiling shows that a lot of time is spent in the above method. It for instance calls a synchronized method (getConnectionProperties), which is problematic in a parallel environment.

       

      Knowing that my datasource only contains 'matching' connections, i wonder whether there is a way of skipping the properties comparision step.

       

      Any ideas ?

       

      Thanks,

      Koen