Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-32882

MySQL's dbconfig.xml testOnBorrow does not default to false; need to set explicity

    XMLWordPrintable

Details

    Description

      While doing some DB tests, I noticed in the mysql logs that "select 1" validation queries were still being fired on each query, contrary to the documentation on Tuning Database Connections.

      I didn't go away until I explicitly declared it false like so:

      <pool-test-on-borrow>false</pool-test-on-borrow>
      <pool-test-on-return>false</pool-test-on-return>
      

      Other References:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              a38518e05741 David Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: