0

I am using IBM DB2. I want to introduce jamon to track sql performance. My connection url is:

jdbc:db2://localhost:50005/MyDB:currentSchema=CMSDB;

When I use Jamon, I am not sure what changes I should make to the url. I found an example for Sybase but unfortunately none for DB2.

Kindly help me out.

Morag Hughson
  • 7,255
  • 15
  • 44
Sripaul
  • 2,227
  • 9
  • 36
  • 60

1 Answers1

0

To track SQL using Jamon jdbc proxy, use connection URL as shown below:

jdbc:jamon:db2://host:port/dbname:jamonrealdriver=com.ibm.db2.jcc.DB2Driver

As per the URL you mentioned, it should be

jdbc:jamon:db2://localhost:50005/CMSDB:jamonrealdriver=com.ibm.db2.jcc.DB2Driver
Peter Lang
  • 54,264
  • 27
  • 148
  • 161
Sylvester Daniel
  • 98
  • 1
  • 1
  • 5