View custom fields admin page very slow to load

We are in the process of upgrading from 4.4.5 to 5.1 of Jira.

We have a "large-ish" instance, about 200k issues, 9000 users, and about 700 custom fields.

In the 5.1 upgraded instance, most screens are pretty snappy. In the admin section, looking at workflows, screens etc is fine.

When trying to look at the Fields section, the page load is from 5-10 minutes! There is no appreciable load on the Jira server.

We are running 2 cores, and 4GB ram on the server.

The 4.4.5 instance loads this page pretty much immediately.

Any suggestions welcomed...

2 answers

0 votes
adam_p_wells August 7, 2012

Jira 5.1 make a *lot* of db queries when loading the custom fields page.

With 750 custom fields, it runs about 480,000 select queries!

With a remote database, the time is about 7 minutes, but the local db drops this to about 3 minutes.

It is now a Jira bug:

https://jira.atlassian.com/browse/JRA-29259

0 votes

There are a couple of custom field type plugins that work for 4.4.5, but not 5.1. I suspect that Jira might be looking for those missing ones when loading the page, and timing out before finally showing the page.

Suggest an answer

Log in or Sign up to answer