Extreme high load after opgrading to 8.17.1

Normann P_ Nielsen _Netic_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2021

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

0 votes
Answer accepted
Normann P_ Nielsen _Netic_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2021

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

0 votes
Normann P_ Nielsen _Netic_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2021

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

Normann P_ Nielsen _Netic_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2021

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

Normann P_ Nielsen _Netic_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2021

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
AUG Leaders

Atlassian Community Events