Method and device for identifying slow SQL statement, electronic device and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INDUSTRIAL AND COMMERCIAL BANK OF CHINA
- Filing Date
- 2023-05-22
- Publication Date
- 2026-07-07
AI Technical Summary
In existing technologies, manual identification of slow SQL statements is inefficient and inaccurate, leading to resource waste and potential failure risks.
By preprocessing the SQL statements to be identified, calculating the unordered tree edit distance with historical slow SQL statements, and normalizing the process, slow SQL statements are identified, including removing comments and blank lines, normalizing the process, and generating processing work orders for adjustment using feature vectors and syntax tree edit distance algorithms.
It improves the efficiency and accuracy of slow SQL statement identification, reduces the cost of manual intervention, and lowers the risk of system failure.
Smart Images

Figure CN116644322B_ABST