Method and device for identifying repetitive association calculation and computer system
An identification method and identification device technology, applied in the field of data processing, can solve problems such as waste of computing resources and storage resources, affecting the operating efficiency of the data platform, and increasing the operating cost of the data platform
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0066] Corresponding to the above-mentioned embodiments, this application provides a method for identifying repeated correlation calculations, such as image 3 As shown, the method includes:
[0067] 310. Acquire the first SQL statement and the second SQL statement to be identified;
[0068] Preferably, the first SQL statement and the second SQL statement include corresponding data tables to be processed, and the method includes:
[0069] 311. When the corresponding data table to be processed is a temporary table, replace the data table to be processed with a corresponding entity table.
[0070] 320. Parse the first SQL statement, and identify a first associated query included in the first SQL statement, where the associated query includes an associated calculation between data tables required to execute the SQL statement;
[0071] Preferably, the association calculation includes corresponding data tables and association relationship keywords, the association relationship ke...
Embodiment 3
[0089] Corresponding to the above method, this application proposes an identification device for repeated correlation calculation, such as Figure 4 As shown, the device includes:
[0090] An acquisition module 410, configured to acquire the first SQL statement and the second SQL statement to be identified;
[0091] The parsing module 420 is configured to parse the first SQL statement, identify the first associated query included in the first SQL statement, and the associated query includes an associated calculation between data tables that needs to be performed to execute the SQL statement; parse the first SQL statement Two SQL statements, identifying a second associated query included in the second SQL statement;
[0092] The processing module 430 is configured to determine that there is repeated associated calculation between the first SQL statement and the second SQL statement when there is repeated associated calculation in the first associated query and the second assoc...
Embodiment 4
[0099] Corresponding to the above method, device, and system, Embodiment 4 of the present application provides a computer system, including: one or more processors; and a memory associated with the one or more processors, and the memory is used to store program instructions , when the program instructions are read and executed by the one or more processors, perform the following operations:
[0100] Obtaining the first SQL statement and the second SQL statement to be identified;
[0101] Analyzing the first SQL statement, identifying the first associated query included in the first SQL statement, the associated query including the associated calculation between data tables that needs to be performed to execute the SQL statement;
[0102] Parsing the second SQL statement to identify a second associated query included in the second SQL statement;
[0103] When repeated associated calculations exist in the first associated query and the second associated query, it is determined ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


