Supercharge Your Innovation With Domain-Expert AI Agents!

SQL semantic extensibility-based performance diagnosis and optimization method

A performance and tuning technology, applied in the computer field, can solve the problems of insufficient rationality of default indexes, lack of data table access methods, and one-sided understanding of operating mechanisms, so as to achieve good promotion and application value, improve response performance and throughput, and apply wide range of effects

Inactive Publication Date: 2017-04-26
JINAN INSPUR HIGH TECH TECH DEV CO LTD
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of social informatization, the business and technical architecture of modern IT systems are becoming more and more complex, and the scale of the system is getting larger and larger. Especially in order to adapt to the flexibility of the business, many functions are implemented through configuration, adaptation, secondary development, etc. In this case, the data distribution of the original system will have a large inclination, and the rationality of the default index will often appear insufficient, and even play a negative role in special scenarios
However, developers of a single module lack a comprehensive understanding of the access method of a certain data table, and have a one-sided understanding of the internal operating mechanism of the database. Faced with stress testing and performance problems in the production environment, they often do not know how to start

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
  • SQL semantic extensibility-based performance diagnosis and optimization method
  • SQL semantic extensibility-based performance diagnosis and optimization method
  • SQL semantic extensibility-based performance diagnosis and optimization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0029] The technical task of the present invention is to provide a more comprehensive and scalable performance diagnosis and tuning method based on SQL semantics, which includes statistical information of SQL response time, execution plan and IO, and data tables for the above-mentioned deficiencies in the prior art , the execution frequency of typical SQL in the data table, SQL script generation syntax tree and corresponding operation analysis and other steps, the captured performance data includes: the total number of rows in the data table, the number of rows that meet the filter conditions, CPU time, and SQL execution Planning, physical and logical IO, selectivity of filter fields, order of index fields, etc.

[0030] Its implementation includes the following steps:

[0031] Get the performance data first;

[0032] as attached figure 1 As...

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 an SQL semantic extensibility-based performance diagnosis and optimization method. The method is implemented by the steps of firstly obtaining performance data; finding out an SQL statement needed to be diagnosed from the obtained data, and analyzing the SQL statement into a syntax tree; analyzing the syntax tree, wherein the analysis of the syntax tree can be extended; and giving out a diagnosis result and optimization suggestions according to an analysis result, namely giving out index creation or adjustment suggestions. Compared with the prior art, the SQL semantic extensibility-based performance diagnosis and optimization method has the advantages that a more comprehensive and systematic index adjustment analysis method is provided; the consumption of physical and logic IO of a system is reduced; the response performance and throughput of the whole system are improved; the response performance of the system can be effectively ensured; the maintenance cost of the system is reduced; and the method is high in practicality and wide in application range, and has very high promotion and application values.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an extensible performance diagnosis and optimization method based on SQL semantics. Background technique [0002] With the development of social informatization, the business and technical architecture of modern IT systems are becoming more and more complex, and the scale of the system is getting larger and larger. Especially in order to adapt to the flexibility of the business, many functions are implemented through configuration, adaptation, secondary development, etc. In this case, the data distribution of the original system will have a large skew, and the rationality of the default index will often appear insufficient, and even play a negative role in special scenarios. However, developers of a single module lack a comprehensive understanding of the access method of a certain data table, have a one-sided understanding of the internal operating mechanism of the database, an...

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): G06F11/36
CPCG06F11/3628
Inventor 王召冠
Owner JINAN INSPUR HIGH TECH TECH DEV 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