Interpretable early warning of statistics induced query plan regression in real-time analytical workloads
Analytical databases under continuous ingest accumulate a divergence between the data distribution assumed by the query optimiser and the data actually stored, and plans degrade silently when that divergence crosses a plan-selection boundary. This paper asks whether such regressions can be predicted before execution and attributed to a repairable cause. Three PostgreSQL databases receive identical drifting data under different statistics policies, so regression is measured as a latency ratio against a fresh-statistics reference rather than assumed. Across 1,620 query instances the optimiser’s own cost estimate predicts nothing, whereas a two-predicate rule reading the catalogue and the unexecuted plan matches a gradient-boosted model, identifying all thirty held-out regressions without false positives. Repairing the attributed column resolves every regression, while repairing a second drifted column resolves none.
Authors
- Maithili Deshmukh
- Sohel Bhura
Institutions
- Rashtrasant Tukadoji Maharaj Nagpur University (IN)
Publication Details
- Journal
- International Journal on Information Technologies and Security
- Published
- 2026-12-01
- DOI
- https://doi.org/10.59035/vjzk9124
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00