It would be great if dhis2 could create indexes really needed on analytics tables.
Is there a settings to limit to known/expected period types ?
ex “ethiopian” related and other unused period type are generated whatever we use them/analyze on them on large setup with big history its cpu runtime and lost storage.
Interesting question. I will need to triage this one to @dhis2-analytics / @dhis2-backend team. To the best of my knowledge this system setting will only hide the picker.
I will triage the post now; however, I personally have a question hoping if you’d clarify please. You mentioned that unused period type are generated whenever you use them then how are they unused?
unused = we don’t have datasets with these periodicity and won’t produce visualisations based on these period types
ex quarterlyNov, financialYearlyNov, financialYearlyJuly… are really specific, the nov one are really specific to amharic/ethiopian calendar
most of our projects implies monthly, quarterly, yearly, sometimes weekly and/or daily
only ethiopian’s one use quarterlyNov and yearlyNov
I think I had only one using the financialJuly in 8 years.