Executing expensive queries that can bog down jira

What debug log file can we enable to pinpoint someone running extensive reports, expensive JQL, etc .. that can slow JIRA performance down to a crawl... aside from looking at slow-queries.log

2 answers

0 votes
Tarun Sapra Community Champion Aug 03, 2016

The worst thing you can do to easily bog down a large JIRA instance is to use "WAS" operator in the JQL. But it's just the tip of iceberg, there are other things like low memory, not using SSD drives, slow network, too many issues in rapid-boards, using poorly designed plugin functions in JQL is a major cause of slow JIRA.

Yeah we have a ton of folks who uses agile boards and at a glance, some of the filters(queries) are crazy..times that with other variables, such as plugins, etc and its definitely going to hit at some point.. though  our stack is pretty top notch running on SSDs , dedicated physical DB running MySql, network, ram, etc.. yada yada... 

Would be nice to find a way to search for a crazy filter and/or query folks uses on their dashboards and/or agile/scrum boards, etc without having to go to each 1by1 and also page/alert you when a query takes longer than a minute to execute.

Tarun Sapra Community Champion Aug 04, 2016

You can try this plugin https://marketplace.atlassian.com/plugins/net.bull.javamelody/cloud/overview  and then use "was" operator in JQL and see the kind of reports the plugin generates.

Great tool Tarun, thanks –installed this on our dev environment, service is very light weight, seems to keep data for a very long time too.  Hopefully its light weight on space too smile

Will give this a shot on the dev environment using an aggressive jql with the "was" and see what I can break along the process.



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,755 views 11 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