Database query Timeout in JIRA

Hi

Where do we set the Database Query tiemeout in JIRA?

Thanks

2 answers

1 accepted

Thanks Radu, as suggested by u we did not set any timeouts. Our issue was with the http threads we found out using the java melody plugin and we were finally able to solve it

https://answers.atlassian.com/questions/49675/jira-freezes-with-db-deadlock

Thanks again

Why would you do that ?

You can set query time-outs on DB via properties set on your driver environment or at the database level (max cpu for a query on Oracle) Check your database settings (these are specific) and check your driver release notes.

Anyway, I advice you not to set any query timeout.

For instance, setting this validation query for your pool will do it on postgres (fails after 1 sec):

SET statement_timeout TO 1000

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,878 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot