LOG DATA QUERY METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM

A log data query method includes determining a target node matching a query time range from a log query time tree, a node in the log query time tree being configured to record a time range for a log query; determining a target subtree from subtrees under the target node and configured to search for...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIN, Zhaoxiang, WU, Xianbin, MA, Wenshuang, ZHOU, Runyun, WANG, Jian
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A log data query method includes determining a target node matching a query time range from a log query time tree, a node in the log query time tree being configured to record a time range for a log query; determining a target subtree from subtrees under the target node and configured to search for a boundary time value corresponding to the query time range; performing leaf node traversal from an edge leaf node of the target subtree, and stopping the leaf node traversal after a target leaf node is traversed, a time value, within a target time range recorded in the target leaf node, having corresponding log data in a disk; determining a time value recorded in the target leaf node having corresponding log data and in a critical state, for obtaining the boundary time value; and obtaining log data matching the query time range from the disk.