Force Jira to use nolock

Using Jira 5.2.6 and MS SQL 2008

Our DBA team has reported that we're getting a lot of locked SPIDs. They've requested that we add nolock to our sql calls. We have already added autoCommit=false to our db string and we are still getting a lot of deadlocks and locked SPIDs.

Is there any way to force Jira to use nolock and/or any other suggestions?

1 answer

Generally, we do consider nolock to be a risky mode to operate in, so we always recommend AGAINST using it for Production applications. In fact, most of our products will verify that the database and its tables are in the READ COMMITTED mode prior to starting. That said, JIRA is generally very good at managing its connection pool, and we've only seen problems when a plugin ties up one of the connections and refuses to release it.

For more info, please review this Stack Overflow thread: http://stackoverflow.com/a/1453000/2759475

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

36 views 0 2
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