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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

633 views 3 11
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