This community innovation has been accepted at the 2026 DHIS2 Annual Conference as a physical poster.
Accelerating Tracker 2 Aggregate Analysis
Large-scale DHIS2 Tracker implementations often rely on hundreds of Program Indicators for analytics, but as complexity grows, computation can take several hours — creating critical delays for national health programs needing timely data.
IndicatorX addresses this by translating Program Indicator expressions into optimized database-level queries executed directly against existing DHIS2 analytics tables. A key innovation is separating expression translation from execution: indicators are parsed once using ANTLR4, converted into optimized SQL fragments, and stored for reuse. At runtime, these fragments are dynamically combined with org unit and period parameters to generate final queries — enabling parallel execution and dramatically faster results.
Fully compatible with the existing DHIS2 data model, IndicatorX requires no changes to core metadata structures. Initial results show processing time reduced from hours to minutes for environments with hundreds of Program Indicators, unlocking faster decision-making for health program managers across Pakistan and beyond.
Primary Author: ZUBAIR ASGHAR
Keywords:
Tracker, Tracker-to-Aggregate, Analytics Performance, Integration
t2a.pdf (681.9 KB)
