LOG DATA QUERY METHOD AND APPARATUS, AND DEVICE AND MEDIUM
The present application relates to a log data query method. The method comprises: determining, from a log query time tree, a target node matching a query time range, wherein each node in the log query time tree records a log query time range, and a time range recorded in the target node intersects t...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present application relates to a log data query method. The method comprises: determining, from a log query time tree, a target node matching a query time range, wherein each node in the log query time tree records a log query time range, and a time range recorded in the target node intersects the query time range (202); determining a target sub-tree from sub-trees under the target node (204); starting from an edge leaf node of the target sub-tree, performing leaf node traversal processing, and stopping traversal after a target leaf node is traversed, wherein a time value within a target time range recorded in the target leaf node has corresponding log data in a disk (206); determining a minimum time value and a maximum time value which are recorded in the target leaf node, correspondingly has log data, so as to obtain two boundary time values corresponding to the query time range (208); and according to the boundary time value, acquiring, from the disk, log data matching the query time range (210). |
---|