Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to estimate the time needed to perform a Jira re-index?

Rob Horan
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.
April 12, 2020

Assume you are working on a Jira instance that is not your own and you think a re-index is needed.  The client asks you how long it will take.  How can you respond, given that Jira does not provide an estimate?

1 answer

1 vote
Craig Castle-Mead
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.
April 12, 2020

Hey @Rob Horan 

The critical factors I can think of are:

If you can provide some/all of that information, users with similar environments may be able to provide some relative numbers. 

CCM

Rob Horan
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.
April 13, 2020

Thanks - this was more of a theoretical question which may be applied in different scenarios, but for the sake of argument, let me just say that as an outside advisor I will likely not have the ability to get some of those answers in many cases. 

Nic Brough -Adaptavist-
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.
April 13, 2020

There are far too many factors to try to feed into an estimate of re-indexing time.

A Jira with 1,000,000 issues and 5 custom fields might index faster than one with 100,000 issues and 500 fields.  10 times the number of issues implies 10 times the time, but the fields change the overhead.  It's not a simple multiplication 

You'd then need to factor in the complexity of the user base, permissions, history, differences in speed for field types (select lists are quicker to index than text fields for example), calculated fields, and that's before you move on to hardware.

It could be done.  But it will take you a very very long time to get approximate data for it and work out a rough calculation. 

The better option is to get a machine of roughly the same spec as production and try it.  Ideally on a copy of the production system.  If you can't do that, then you can very roughly say "we worked with a data set that's 5% of production, and that took X minutes, so we would expect production to take 20X minutes"  (Pad that a bit though - not everything in the index is issue based)

Like Rob Horan likes this
Rob Horan
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.
April 14, 2020

As a follow up, is there a way to see how long the last reindex took?  The last 5?  Having that info available would be so helpful.

Craig Castle-Mead
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.
April 14, 2020

Reindex times go in to the application logs (there’s a reindex complete - took 1234567 seconds type entry), but full indexes don’t happen by themselves and with log rotation you’re unlikely to have the last 1 reference, let alone the last 5 unless you’re shipping your logs to some longer term storage. 

 

CCM

Rob Horan
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.
April 15, 2020

This would be very useful to have in the GUI, presented on the reindex screen.  Something along the lines of "the last (type) reindex took (length)"

Like Jeramy S likes this
Nic Brough -Adaptavist-
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.
April 15, 2020

I'd love to see that, ideally for any indexing run in the last couple of months.  Foreground, Background and Project-name in the type columns, how many seconds, and and how many issues were covered (and whatever else is in the index - it's not entirely issues).  That would give us the basic numbers to estimate against.

An additional nice-to-have would be to show where the system was started in-between them, in case hardware or system settings may have been changed.

Like # people like this

Suggest an answer

Log in or Sign up to answer