It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira not available Edited

anshuman bakshi Feb 08, 2019

Hi Everyone, 

Our Jira datacentre(6.2) instance was down yesterday, and after checking our DBA found locks in DB, these are the queries, 

UPDATE jiraissue SET pkey=:1 , issuenum=:2 , PROJECT=:3 , REPORTER=:4 , ASSIGNEE=:5 , CREATOR=:6 , issuetype=:7 , SUMMARY=:8 , DESCRIPTION=:9 , ENVIRONMENT=:10 , PRIORITY=:11 , RESOLUTION=:12 , issuestatus=:13 , CREATED=:14 , UPDATED=:15 , DUEDATE=:16 , RESOLUTIONDATE=:17 , VOTES=:18 , WATCHES=:19 , TIMEORIGINALESTIMATE=:20 , TIMEESTIMATE=:21 , TIMESPENT=:22 , WORKFLOW_ID=:23 , SECURITY=:24 , FIXFOR=:25 , COMPONENT=:26  WHERE ID=:27 

select O_S_PROPERTY_ENTRY.id, O_S_PROPERTY_ENTRY.propertytype from propertyentry O_S_PROPERTY_ENTRY where O_S_PROPERTY_ENTRY.entity_name = :1  and O_S_PROPERTY_ENTRY.entity_id = :2  and O_S_PROPERTY_ENTRY.property_key = :3  order by O_S_PROPERTY_ENTRY.id desc for update

Any idea what it is related to, i found some links which says it is related to Multi-column indexes in Jira tables. 

 https://jira.atlassian.com/browse/JRASERVER-65168?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

 

1 answer

0 votes
Andrew Heinzer Atlassian Team Feb 11, 2019

The suggestion ticket you linked of https://jira.atlassian.com/browse/JRASERVER-65168 certainly does relate to a performance improvement in Jira that has been included in the Jira 8.0.0 release.   That performance issue has found that tables in the Jira database that have multiple indexes are often left to the database to decide which index to use when searching for data that relates to that table.   In some cases that can cause several performance problems with Jira.

In turn the solution that has been used here is the creation of a multi-column index on the database.  

With the information we have so far about your system, I can't say for sure this is the problem you have seen.  It is possible it relates to that, but without knowing more about your environment, your logs, etc, it probably isn't possible for us to clearly determine if this is the case.  

If you see this happen again, it might be better to create a support case with Atlassian on https://support.atlassian.com

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

8,182 views 25 36
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you