Too many accesses to JIRA database

We have detected that there are too many accesses (several milions of times per week) to our JIRA database made for the query:

SELECT COUNT(I.ID) 

FROM jiraissue I 
WHERE I.PROJECT=:1 AND I.ASSIGNEE=:2       

We don't have any customfield based on this query, thus we have supposed there is due to any specific gadget in a Dashboard. 

Any idea?

3 answers

1 accepted

Finally it seems that our problem was related with https://jira.atlassian.com/browse/JRA-36699

Hi Begoña! I have a few ideas, most from similar issues I saw in the past. I suggest to you to check the 3 things below.

  1. Your REST calls. We have a documented bug (JRA-34412) about this.
  2. Large number of projects and customfields (JRA-25721)
  3. Check if the problem does not happen only when you are navigating in projects with Issue-level security. I saw a few reports about this kind of query running a lot when a user is navigating in this projects.

 

I hope my ideas help you on finding the root cause of this problem, but if they don't, and this queries start to affect the performance of your JIRA instance, I recommend to you to create a ticket to our support team in support.atlassian.com

Cheers!
Teilor

 

Thanks Teilor! I'll check this 3 points!!!!

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 ...

3,323 views 14 20
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