Details
-
Performance Improvement
-
Status: Waiting Approval
-
Critical
-
Resolution: Unresolved
-
None
-
None
Description
The reindex time of a Jira instance takes as much time as the amount of data it contains.
Although, the Test Run Status custom field takes approximately 50% of the time spent when indexing Xray entities.
As an example:
 | No. Issues | ~Time* |
---|---|---|
Tests with TestRunStatus calculated | ~500000 | ~1h 20m |
Tests without TestRunStatus calculated | ~10000 | ~20m |
*considering a database query takes ~10ms
A solution should be considered in order to reduce this time. A cache of TestRunStatus should be considered to reduce the number of queries needed to index this value for every test issue.