SQL storage process script optimization method and device
A stored procedure and optimization method technology, applied in the computer field, can solve problems affecting user experience, error reporting, long system response time, etc., to achieve the effect of reducing system response time, reducing execution time, and improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] An embodiment of the present application provides a method for optimizing an SQL stored procedure script, which will be described in detail below with reference to the accompanying drawings. see figure 1 , which is a flow chart of a method for optimizing a SQL stored procedure script provided in an embodiment of the present application, the method comprising the following steps:
[0039] S101. Decompose the SQL stored procedure script to be optimized layer by layer to obtain multiple sub-script modules.
[0040] In the embodiment of this application, the SQL stored procedure script to be optimized may be a SQL stored procedure script that needs to be optimized, which is written by the developer according to the business logic and is used to implement more complex logical operations. Due to the different proficiency of the developer, it may be There are repeated statements, so they can be analyzed as SQL stored procedure scripts to be optimized.
[0041] Specifically, ...
Embodiment 2
[0056] Based on the method for optimizing SQL stored procedure scripts provided in the foregoing embodiments, Embodiment 2 of the present application also provides an optimization device for SQL stored procedure scripts, which will be described in detail below with reference to the accompanying drawings.
[0057] see Figure 4 , which is a schematic diagram of an optimization device for a SQL stored procedure script provided in an embodiment of the present application, and the device may include:
[0058] The script decomposing unit 110 is used to decompose the SQL stored procedure script to be optimized layer by layer to obtain a plurality of sub-script modules; each of the sub-script modules corresponds to at least one function;
[0059] A module determining unit 120, configured to determine repeated subscript modules in the SQL stored procedure script;
[0060] The script optimization unit 130 is used to add the statement that assigns the sub-script module to the correspon...
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