Method for positioning slow sql mapping code position through section technology
A code location and aspect technology, applied in the field of Java application software development, can solve problems such as the lack of threshold configuration and real-time alarm fusion implementation in slow SQL, and achieve the effect of facilitating problem analysis and localization and reducing impact.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Such as Figure 1-2 , the present invention provides a method for locating the location of the slow sql mapping code through the aspect technology, including the following:
[0030] 1. Recognize the section
[0031] In the case of slow SQL applications in Java, the identification of aspect points can be the methods of all classes under the Mapper or Repository package of the persistence layer;
[0032] 2. Realize face-to-face treatment
[0033] Select @Around to intercept the execution of the method, and then provide a data basis for the next analysis work, mark the time before and after the execution of the intercepted method, and calculate the execution time of jointPoint.proceed();
[0034] 3. Identification and monitoring
[0035] Combined with the configuration system capabilities, finely configure the execution warning threshold of each method. If the execution time of the previous step is greater than the threshold, at the same time, get the method name and in...
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