SQL performance analysis method, system and device based on tracking technology and medium
An analysis method and analysis system technology, applied in program control design, special data processing applications, instruments, etc., can solve the problems of high cost and low efficiency of manual detection database, and achieve low cost, high performance efficiency, and easy detection process. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] The SQL performance analysis method based on the tracking technology of the present embodiment, such as figure 1 shown, including the following steps:
[0050] S101. Obtain the original SQL statement and corresponding parameters run by the application program through the tracking plug-in;
[0051] S102. Match and assemble the original SQL statement with parameters to obtain the SQL statement to be analyzed;
[0052] S103. Perform performance analysis on the SQL statement to be analyzed according to the execution plan to obtain a SQL performance analysis result.
[0053] The SQL performance analysis method based on the tracking technology in this embodiment uses the tracking plug-in to obtain the original SQL statement and parameters that the application runs, and performs performance analysis on the SQL statement through the execution plan after parameter matching and assembly, so that the performance of the SQL can be found before going online Risks, timely resolutio...
Embodiment 2
[0055] On the basis of Embodiment 1, this embodiment provides a SQL performance analysis method based on tracing technology, such as figure 2 as shown,
[0056] Specifically, step S101 specifically includes:
[0057] S1011, using a dynamic tracking tool Btrace (a tracking tool) to set a buried point in the application program to obtain the original SQL statement and corresponding parameters run by the application program.
[0058]The SQL performance analysis method based on the trace technology of this embodiment uses a safe JVM (Java Virtual Machine) dynamic trace tool Btrace to obtain the original SQL statement and corresponding parameters run by the application program. By executing the written SQLJava (an object-oriented programming language) script and compiling it into a bytecode file, using the Attach API (a Java application programming interface) to dynamically attach the agent package to the JVM to be monitored, through the agent The package parses SQL Java scripts...
Embodiment 3
[0084] The SQL performance analysis system based on the tracking technology of the present embodiment, such as Figure 5 As shown, including: data tracking module 1 and data analysis module 2;
[0085] The data tracking module 1 is communicatively connected with the data analysis module 2;
[0086] The data tracking module 1 is used to obtain the original SQL statement and the corresponding parameters of the application program through the tracking plug-in, and match the original SQL statement with the parameters to obtain the matching SQL statement, and send it to the data analysis module 2;
[0087] The data analysis module 2 is used to obtain and assemble matching SQL statements to obtain SQL statements to be analyzed, and perform performance analysis on the SQL statements to be analyzed according to the execution plan to obtain SQL performance analysis results.
[0088] The SQL performance analysis system based on the tracking technology in this embodiment uses the tracki...
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