Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for monitoring and managing slow SQL of database

A database and raw data technology, which is used in electrical digital data processing, special data processing applications, digital data information retrieval, etc., can solve problems such as inability to optimize SQL statements, and achieve the effect of reducing costs

Pending Publication Date: 2021-10-01
CCB FINTECH CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there is no database access management method for effectively intercepting slow SQL statements, and it is impossible to quickly optimize slow SQL statements after effective screening. In the development or test environment, slow SQL statements can be detected as early as possible and effectively intercepted, reducing or even avoiding Bringing slow SQL statements to the production environment has become an urgent problem to be solved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for monitoring and managing slow SQL of database
  • Method and device for monitoring and managing slow SQL of database
  • Method and device for monitoring and managing slow SQL of database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0049] According to the first aspect of the embodiments of the present invention, a method for monitoring and managing slow SQL in a database is provided.

[0050] figure 1 It is a schematic diagram of the main flow of a method for monitoring and managing database slow SQL in an embodiment of the present invention. Such as figure 1 As shown, the method mainly includes: ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for monitoring and managing a slow SQL of a database, and relates to the field of automatic programming. A specific embodiment of the method comprises the following steps: analyzing an SQL main body from an SQL request of a first user; encrypting the SQL main body to obtain an identification encryption string, and judging whether the identification encryption string exists in an illegal slow SQL base number library or not; if yes, intercepting the SQL request, and refusing to send the SQL request to a database; otherwise, sending the SQL request to a database. In the method, the SQL main body is analyzed and encrypted, slow SQL statements are effectively intercepted, and manual troubleshooting is replaced by an automatic mode; meanwhile, a set of forced optimization mechanism for the slow SQL statements is established, risk monitoring is moved forward, and measurement and interception can be achieved in development and test environments.

Description

technical field [0001] The invention relates to the technical field of automatic program design, in particular to a method and device for monitoring and managing database slow SQL Background technique [0002] With the rapid development of the Internet, the performance requirements of the software system are becoming more and more stringent. Slow SQL statements will greatly reduce the performance of the software system due to the long execution time. There are many factors that cause the execution time of SQL statements to be too long, including hardware, locks, and problems in writing SQL statements, but the most common problem is writing problems in SQL statements. [0003] At present, there is no database access management method for effectively intercepting slow SQL statements, and it is impossible to quickly optimize slow SQL statements after effective screening. In the development or test environment, slow SQL statements can be detected as early as possible and effecti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/2453G06F16/242
CPCG06F16/2453G06F16/2433
Inventor 申冠豪李卓
Owner CCB FINTECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More