Werk #10130: Fixed performance bug in monitoring history cache

Component Core & Setup
Title Fixed performance bug in monitoring history cache
Date Dec 9, 2020
Checkmk Editon Checkmk Enterprise (CEE)
Checkmk Version 2.1.0i1 2.0.0b2 1.6.0p20
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

During startup, the CMC caches information from the monitoring history up to a given horizon in the past. This caching had a performance bug (quadratic complexity), resulting in caching times of several days or even more, depending on the content of the monitoring history. This has been fixed, caching time is now linear in the size of the monitoring history.

To the list of all Werks