In some failure modes, testing dead connections can impose long delays in reestablishing connectivity. You may be able to improve performance by tuning how a data source tests connections. For more information, see Configuring JDBC Data Sources.
To tune connection testing: