SQL workflow processing method and device, electronic equipment and storage medium
A processing method and workflow technology, applied in digital data processing, special data processing applications, database design/maintenance, etc., can solve problems such as wasting service resources, redundant SQL statements, and affecting SQL workflow execution performance, and achieve The effect of improving accuracy and efficiency, reducing waste, and reducing service pressure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 1 It is a flow chart of the SQL workflow processing method in Embodiment 1 of the present invention, and this embodiment is applicable to the situation of determining whether redundant SQL exists in the SQL workflow. The method can be executed by an SQL workflow processing device, which can be implemented in the form of software and / or hardware, and can be configured in an electronic device, for example, the electronic device can be a device with communication and computing capabilities such as a background server. Such as figure 1 As shown, the method specifically includes:
[0035] Step 101, acquiring SQL statement information in the node.
[0036] Wherein, the SQL workflow includes at least two nodes, and each node includes at least one SQL statement. Each node completes a split sub-business logic in the complex business logic. For example, use the workflow scheduling method to split the complex business logic according to the steps, write the corresponding...
Embodiment 2
[0087] image 3 It is a flowchart of the SQL workflow processing method in the second embodiment of the present invention, and the second embodiment is further optimized on the basis of the first embodiment. Such as image 3 As shown, the method includes:
[0088] Step 301, acquiring SQL statement information in a node.
[0089] Step 302, perform parallel extraction processing on the SQL statement in the node and / or the node according to the SQL statement information in the node.
[0090] Among them, the extraction steps of parallel extraction processing are as follows:
[0091] Determine the independent SQL statement according to the SQL statement information in the target node, and establish a new node according to the independent SQL statement; wherein, the dependency of the new node is determined according to the target node;
[0092] According to the SQL statement information in the nodes, it is determined whether there is a submission relationship between the nodes t...
Embodiment 3
[0126] Figure 4 It is a schematic structural diagram of the SQL workflow processing device in Embodiment 3 of the present invention, and this embodiment is applicable to the situation of determining whether redundant SQL exists in the SQL workflow. Such as Figure 4 As shown, the device includes:
[0127] An information acquisition module 410, configured to acquire SQL statement information in the node;
[0128] The first processing module 420 is configured to, if it is determined according to the SQL statement information that the target SQL statement satisfies the preset merging condition, perform merging processing on the target SQL statement to obtain the processed SQL workflow, so as to realize the same Combination of bloodline SQL statements;
[0129] The second processing module 430 is used to determine that the target SQL statement satisfies the preset intermediate table deletion condition according to the SQL statement information, then perform deletion processing...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com