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

Accepted Answer
0 votes

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

26 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