Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

slowness jira

Hello Community,

Who had a problem with this request and how you resolved the issue please!

SELECT CG.ID, CG.issueid, CG.AUTHOR, CG.CREATED, CI.ID, CI.groupid, CI.FIELDTYPE, CI.FIELD, CI.OLDVALUE, CI.OLDSTRING, CI.NEWVALUE, CI.NEWSTRING FROM dbo.changegroup CG INNER JOIN dbo.changeitem CI ON CG.ID = CI.groupid WHERE CG.issueid=@P0 AND CI.FIELD=@P1 ORDER BY CG.CREATED ASC, CI.ID ASC

 

Best regrads,

Eya

1 answer

0 votes

What problem are you having here?

Why are you using SQL to report?

Hello @Nic Brough _Adaptavist_ 

There is sluggishness on Jira, glancing at "Foglight" to see if there is a request that is disturbing the server, It seems to have been caused by the following request:

SELECT CG.ID, CG.issueid, CG.AUTHOR, CG.CREATED, CI.ID, CI.groupid, CI.FIELDTYPE, CI.FIELD, CI.OLDVALUE, CI.OLDSTRING, CI.NEWVALUE, CI.NEWSTRING FROM dbo .changegroup CG INNER JOIN dbo.changeitem CI ON CG.ID = CI.groupid WHERE CG.issueid=@P0 AND CI.FIELD=@P1 ORDER BY CG.CREATED ASC, CI.ID ASCLenteur jira.PNG

Ok, but could you explain what the actual problem you are trying to solve is?

What do you think is the problem experienced by the end users here?  Why have you decided to look at the database connections?

it's been several times that JIRA slowed down for all users and every time we have this request coming out as the most consuming request according to the DBAs through the Foglight tool
We are on Jira version 8.13 and SQL Server (2016)
And our only workaround at the moment is to restart the JIRA service.

thank you in advance

If you're having to restart the service to get it to work again, it's not a database problem.  The database query activity is a symptom, like slowness for the users, it is not the cause of the problem.

You will need to start looking at what the service is doing overall why it is being slow.  What are the users triggering that leads to the slowness?  Or automated services, or external access over REST APIs? 

Run through https://confluence.atlassian.com/jirakb/troubleshoot-performance-issues-in-jira-server-336169888.html to get started on where to look.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,073 views 8 28
Join discussion

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