The DBCP pool-test-on-borrow parameter should explicitly be set to false on the dbconfig.xml file

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 7.1.4
    • Component/s: None

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      The pool-test-on-borrow parameter should be set to false by default on the JIRA Configuration Tool and on the JIRA Setup Wizard.
      As highlighted on JRA-38750, the default value for this parameter on Apache DBCP is true.

      Impact:
      Every time a DB connection is borrowed from the pool the validation query will be executed, unless this parameter is explicitly set to false.
      For customers running large instances this might impact their database performance as they might have hundreds of requests to the pool per second, and the validation query will be executed before every one of them.

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

            Assignee:
            Unassigned
            Reporter:
            Danilo Conrad
            Votes:
            4 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: