A Memory Optimization Method for High Cardinality Based on InfluxDB

The time series databases support various monitoring systems and data analysis systems. However, high cardinality may be causing memory issues. when handling a heavy workload, time series databases consume a lot of memory, resulting in a drop in read and write performance. In order to solve this problem, a memory optimization method for high cardinality based on InfluxDB is proposed. This method first reduces the number of time series data in the buffer, that is, by reducing the number of time series data decompressed by InfluxDB from the disk, thereby reducing the memory overhead required for buffering temporary data. Secondly, it delays the reading of non-essential data during the current query phase. By utilizing the data skewness between timelines, the reading of non-essential data blocks can be postponed, reducing the number of timelines present in memory at any given moment and thereby decreasing memory overhead. Experiments show that in high cardinality scenarios with a concurrency of 100,000, the optimized InfluxDB memory overhead is only 23.9% of the original InfluxDB system.

Authors

Institutions

Publication Details

Published
2024-09-20
DOI
https://doi.org/10.1145/3698300.3698312
Citations
1
Primary Topic
Cloud Computing and Resource Management
Type
article
Field-Weighted Citation Impact
0.78
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Memory Optimization Method for High Cardinality Based on InfluxDB

Y. SONG, Zhuohan Hou, Shuhuan Fan, Xiaowen Nie et al.
1 citations
Cloud Computing and Resource Management
0.78
article

A Memory Optimization Method for High Cardinality Based on InfluxDB

Y. SONG, Zhuohan Hou, Shuhuan Fan, Xiaowen Nie, Qizhi Huang
article en
1 citations

Abstract

The time series databases support various monitoring systems and data analysis systems. However, high cardinality may be causing memory issues. when handling a heavy workload, time series databases consume a lot of memory, resulting in a drop in read and write performance. In order to solve this problem, a memory optimization method for high cardinality based on InfluxDB is proposed. This method first reduces the number of time series data in the buffer, that is, by reducing the number of time series data decompressed by InfluxDB from the disk, thereby reducing the memory overhead required for buffering temporary data. Secondly, it delays the reading of non-essential data during the current query phase. By utilizing the data skewness between timelines, the reading of non-essential data blocks can be postponed, reducing the number of timelines present in memory at any given moment and thereby decreasing memory overhead. Experiments show that in high cardinality scenarios with a concurrency of 100,000, the optimized InfluxDB memory overhead is only 23.9% of the original InfluxDB system.

University of Electronic Science and Technology of China (CN)
Openalex Percentile: Top 18%
Cloud Computing and Resource Management
0.78
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.