Query processing method being suitable for large-scale real-time data stream
A processing method and data flow technology, applied in the field of query optimization processing technology, can solve the problem that the data flow cannot be optimized, and achieve the effect of high query efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] According to the FROM clause of the input query task, the query is decomposed into separate queries for each data stream in the FROM clause, and the individual query results of all data streams are combined to form the final query result; take a data stream Stream in the FROM clause as example:
[0023] The individual query of the data stream Stream is realized by the mixed optimization combined query chain of the SELECT clause and the WHERE clause:
[0024] Suppose there are multiple queries as follows:
[0025] Query 1: SELECT A,D FROM Stream WHERE B1,C1,
[0026] Query 2: SELECT A FROM Stream WHERE B3, C2
[0027] Query 3: SELECTA,D FROM Stream WHERE B2,C3,E
[0028] Query 4: SELECT D FROM Stream WHERE F
[0029] Query 5: SELECT D FROM Stream WHERE B4,F
[0030] The above query statements all have the same atomic query SELECT*FROM Stream WHERE*, based on the same data stream, such as figure 1 As shown, therefore, query optimization can be performed on the above five query statem...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 