Hello DHIS2 Community,
I’ve been working on enhancing performance in our DHIS2 instance by leveraging materialized views. These views are great for optimizing queries, but they require periodic refreshing to stay up-to-date. Currently, DHIS2 allows us to manually refresh materialized views or use the API (e.g., api/29/sqlViews/{view}/refresh) to trigger the refresh.
However, I noticed that the Scheduler app does not include an option to automate the refresh of materialized views. I believe having this functionality integrated would significantly improve workflows by eliminating the need for manual API calls.
Before submitting a formal feature request, I wanted to reach out to the community to gather feedback. Has anyone faced a similar situation, or implemented a solution to automate materialized view refreshes? I’d love to hear your thoughts and suggestions.
Thank you in advance for your input!
Best regards,
Tafsir
3 posts - 2 participants