Enhance the memory usage of mark cache and minmax index cache #8050
Labels
affects-6.5
affects-7.1
component/storage
severity/moderate
type/bug
The issue is confirmed as a bug.
Enhancement
Currently, in minmax_index_cache and mark_cache we use the long file name as the key, which occupy much memory, especially when the memory cost of value is small(with a little pack number).
Besides, we statistic memory overhead of mark cache size, but only counted about the memory cost of MarksInCompressedFile, but not consider the memory cost of keys, and the structual cost of LRUCache, which cause a misleading of memory usage.
Thus, we should optimize the memory usage of these caches, and make a better memory statistical for these memory usage of caches.
The text was updated successfully, but these errors were encountered: