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

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

Extreme high load after opgrading to 8.17.1 Edited

After upgrading to 8.17.1 the load on the ubuntu server spikes at +12 (normal around 2-5)

 

Automation took forever (50) min - https://confluence.atlassian.com/automation/upgrading-to-automation-for-jira-7-3-1055951956.html

 

We did not delete data first.

 

Also running Big Picture - opgrade tog +20 minutes for a "DB" upgrade.

 

Before and after:

image.png

 

Screenshot 2021-07-14 at 07.42.13.png

2 answers

1 accepted

Stop Jira

Take backup

Execute on the Database:

 

TRUNCATE AO_589059_AUTOMATION_QUEUE;
TRUNCATE AO_589059_AUDIT_ITEM_PROJECT;
TRUNCATE AO_589059_AUDIT_ITEM_ASC_ITEM;
TRUNCATE AO_589059_AUDIT_ITEM_CGE_ITEM;
TRUNCATE AO_589059_AUDIT_ITEM_COMP_CGE;
TRUNCATE AO_589059_AUDIT_ITEM;
TRUNCATE AO_589059_RULE_STAT;
TRUNCATE AO_589059_RULE_STAT_ROLLUP_DAY;
TRUNCATE AO_589059_RULE_STAT_ROLLUP_HR;
TRUNCATE AO_589059_RULE_STAT_ROLLUP_MIN;

 

Start Jira.

 

Load stabilised on 1.X

And we have set Audit logm expiry to 4 weeks

Disabling Jira Automation took load from +12 to 0-2 in 4-5 minutes

Screenshot 2021-07-14 at 08.22.11.png

 

 Screenshot 2021-07-14 at 08.18.04.png

This is problkably why:

Screenshot 2021-07-14 at 08.46.57.png

 

jira=# select count(*) from "AO_589059_AUTOMATION_QUEUE";

 count 

-------

   129

(1 row)

 

jira=# select count(*) from "AO_589059_AUDIT_ITEM_PROJECT";

 

  count   

----------

 18307910

(1 row)

 

jira=# select count(*) from "AO_589059_AUDIT_ITEM_ASC_ITEM";

  count  

---------

 5571251

(1 row)

 

jira=# select count(*) from "AO_589059_AUDIT_ITEM_CGE_ITEM";

  count   

----------

 54987603

(1 row)

 

jira=# select count(*) from "AO_589059_AUDIT_ITEM_COMP_CGE";

  count   

----------

 57835510

(1 row)

 

jira=# select count(*) from "AO_589059_AUDIT_ITEM";

  count   

----------

 29693626

(1 row)

 

jira=# 

jira=# select count(*) from "AO_589059_RULE_STAT";

 count 

-------

 32077

(1 row)

 

jira=# select count(*) from "AO_589059_RULE_STAT_ROLLUP_DAY";

 count  

--------

 897587

(1 row)

 

jira=# select count(*) from "AO_589059_RULE_STAT_ROLLUP_HR";

 count  

--------

 216760

(1 row)

 

jira=# select count(*) from "AO_589059_RULE_STAT_ROLLUP_MIN";

 count 

-------

 32015

(1 row)

 

----

 

29 millions rows. Thats a lot. Unclear regarding these are index correctly

Well, actually 54 millions in one table

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.17.1
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

139 views 2 12
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