SQL optimization system and automatic SQL optimization method
An optimization method, a technology to demonstrate the system
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Such as figure 1 As shown, an automatic SQL optimization system mainly includes an XML scanning module, a database index adding module and an optimizing SQL statement module.
[0026] Among them, the XML scanning module mainly scans the XML file of SQL to check out SQL performance defects. The adding database indexing module mainly adds indexes to the database to optimize query speed, and the optimizing SQL statement module mainly modifies non-standard SQL statements so that all indexes can be performed normally. .
[0027] Specifically, during work, the XML scanning module first imports the XML file of SQL into the XML scanning module, and the XML scanning module scans all SQL statements; the XML scanning module performs a performance test on each SQL statement, and records the performance time.
[0028] In this embodiment, the qualified performance time standard is pre-stored in the XML scanning module, and when the XML scanning module tests the time performance of S...
Embodiment 2
[0032] An automatic SQL optimization method, based on the above-mentioned automatic SQL optimization system, mainly utilizes the XML scanning method to automatically optimize SQL, and its implementation method includes the following steps:
[0033] Step 1. The XML scanning module automatically scans all SQL, and tests the running performance of SQL, and extracts the SQL with poor performance;
[0034] Step 2. Add a database index module to optimize the index of the SQL extracted in step 1, add an index to its table and test the SQL performance, and extract the SQL with poor performance;
[0035] Step 3, optimize the SQL statement module to modify the SQL statement extracted in step 2, and modify the statement that makes the index effective, thereby improving SQL performance;
[0036] Step 4: Optimize the SQL statement module to display system optimization information, specifically display the number of modified SQL statements and the number of added indexes, and display the pe...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com