Method and system for query sharing of log data stream based on hierarchical multiplexing
A technology for sharing systems and data streams, applied in the field of query sharing of log data streams, can solve problems such as inappropriate data stream query processing, and achieve the effect of effective storage and computing resource sharing
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2019-12-03
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of query and storage of log data streams, in particular to a query sharing method and system based on hierarchically multiplexed log data streams. Background technique
[0002] With the continuous development and wide application of cloud computing and big data technologies, more and more attention is paid to the log data in the cluster. On the one hand, this simple log data in the cluster is the same as the traditional log data, and it needs to be stored accordingly during the operation of the system, so as to facilitate the abnormal operation and maintenance and recovery of the system. On the other hand, the log data in the cluster The data generation method is different from the traditional log form, and is generated in the system in the form of a data flow.
[0003] The processing of log data streams (hereinafter referred to as log streams) is different from traditional data streams. When processing traditional d...
Examples
Embodiment Construction
[0036] In order to make the above-mentioned features and effects of the present invention more clear and understandable, the implementation examples are listed below and described in detail in conjunction with the accompanying drawings.
[0037] The log stream query preprocessing object is based on query operators (predicates). Each tuple in the log stream entering the system must pass through all query operators before outputting query results. Thus, each tuple is stored in the corresponding query operator queue while it is waiting to be processed by the corresponding query operator. In some cases, the number of tuples in these queues is approximately the same. For example, the projection operator only forms a new tuple with the corresponding attributes of the tuple and outputs it to the waiting queue of the next query operator, and the number of tuples does not change. In the usual data flow query processing, these intermediate processing results with the same composition ...