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 vote
Davin Studer Community Champion Jul 01, 2015

Yes.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
Join discussion

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