Adaptive memory index management strategy of InfluxDB time sequence database

The invention discloses a self-adaptive memory index management strategy of an InfluxDB time sequence database, which comprises the following steps of: counting timelines of a Measurement which may generate timeline expansion and setting a threshold value, and switching a hash structure into a B + t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI HAIYU, ZHU ZHIPENG, YANG AO, SHEN ZHITING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a self-adaptive memory index management strategy of an InfluxDB time sequence database, which comprises the following steps of: counting timelines of a Measurement which may generate timeline expansion and setting a threshold value, and switching a hash structure into a B + tree structure when the number of the timelines exceeds the timeline threshold value, the method has the beneficial effects that a memory index storage structure can be dynamically adjusted according to a threshold value set by a Measurement timeline, a storage structure of Series index information is switched from a Hash map structure to a B + tree for Measurements of which the number of timelines exceeds the threshold value, and the Hash map structure is continuously used for non-expanded timelines; through the strategy, the time line expansion problem of the time sequence database can be solved through small source code transformation, and the reliability and stability of the InfluxDB time sequence database are i