-
Improvement
-
Resolution: Fixed
-
Minor
-
3.8.1
-
MOODLE_38_STABLE
-
MOODLE_39_STABLE
-
MDL-67681_master -
Related to MDL-67674,
The coursecattree cache consists of a set of small records each containing 3 numbers (id, parent and visible). This is currently stored using set_many which stores each record against its own key. If you are using a filesystem store for this cache, this results in a large number of tiny files, which exacerbates performance issues when this is rebuilt. Seeing as the overall set of data is not very large, it seems to make more sense to store the whole array against a single key.