Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Database self-learning optimization method and device based on traffic mirroring

An optimization method and technology of an optimization device, applied in the field of database configuration, can solve the problems of invariable traffic, no support for online optimization, single scene, etc., and achieve the effect of shortening the optimization time and accelerating the speed.

Active Publication Date: 2021-05-25
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] (1) In the face of hundreds of performance parameters, the DBA needs to analyze the load of the database, provide parameter configurations based on the type of database access SQL and personal experience, and conduct test observations, which requires a lot of time and labor costs
[0009] (2) For the scenario of expected traffic growth, DBA lacks estimated model verification, and usually needs to use experience to estimate. The effect of parameter setting is not only dependent on DBA's experience, but it is difficult to follow the rules of the attempted configuration. Difficult to achieve the best
[0010] (3) In addition, there are disadvantages such as single scene, immutable traffic, dependence on training data, serialization of training, and no support for online optimization.

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
  • Database self-learning optimization method and device based on traffic mirroring
  • Database self-learning optimization method and device based on traffic mirroring
  • Database self-learning optimization method and device based on traffic mirroring

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0061] In the embodiments of the present invention, unless stated otherwise, the used orientation words such as "up, down, top, bottom" are usually for the directions shown in the drawings or for vertical, vertical or The term used to describe the mutual positional relationship of each component in terms of the direction of gravity.

[0062] The optional embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above-mentioned embodiments. Within the technical concept of the embodiments of the present inve...

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 present invention provides a database self-learning optimization method based on traffic mirroring, comprising: obtaining the latest database configuration parameters of the database to be optimized through an adaptive learning method, sending the latest database configuration parameters to the training database; establishing a database model of the database to be optimized Consistent database mirroring model, and send the database mirroring model to the training database; establish a traffic mirroring model consistent with the traffic model received by the database to be optimized, and send the traffic mirroring model to the training database; obtain training results fed back from the training database ; Update the database configuration parameters of the database to be optimized according to the training results of the training database; repeat the above steps R times, obtain the latest database configuration parameters when the TPS throughput of the training database in the R times of training results is the maximum value, as the final configuration parameters of the database Configured for the database to be optimized. For real traffic scenarios, it can effectively improve the performance of the database.

Description

technical field [0001] The invention relates to the field of database configuration, in particular to a traffic mirroring-based database self-learning optimization method and a traffic mirroring-based database self-learning optimization device. Background technique [0002] Multi-databases usually have many parameters. For example, MySQL and PostgreSQL have hundreds of parameters, while Oracle has thousands of parameters. These parameters will affect the running process of the database, thus affecting the overall throughput and response time of the database. big impact. For a database application scenario, proper parameter selection can improve performance several times. In order to improve the performance of the database, the company usually needs to hire a professional DBA to tune the database parameters. However, for different application scenarios, different loads, different hardware and operating systems, the optimal parameters required are often different. DBAs usual...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/21G06F16/25
CPCG06F16/21G06F16/25
Inventor 周坤龙
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products