Confluence Pinging SQL Server Mulitple Times per Second

Davin Studer Community Champion Apr 07, 2015

I'm using the SQL for Confluence add-on and I have the below data source in my server.xml file for accessing SQL data from that add-on. I'm running a server side trace on the MS SQL server and I notice that my wiki server is pinging my MS SQL server several times every second. I realize that this probably has nothing to do with the add-on or even anything to do with Confluence but rather Tomcat. Anybody have any idea if there is anything I can do to have Tomcat not be so yappy to my SQL server?

<Resource
name="jdbc/{myprofilename}"
auth="Container"
type="javax.sql.DataSource"
driverClassName="net.sourceforge.jtds.jdbc.Driver"
url="jdbc:jtds:sqlserver://{myserver}:1433/{mydb}"
username="{myuser}"
password="{mypass}"
maxActive="20"
maxIdle="10"
validationQuery="Select 1"
/>

2 answers

Are these 'pings' executing the validationQuery?

0 votes
Davin Studer Community Champion Jul 01, 2015

Yes.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

297 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you