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

Rule-driven and data-driven combined cross-platform SQL query optimization method

A query optimization, data-driven technology, applied in the field of cross-platform SQL query optimization, can solve problems such as poor scalability, low flexibility, and poor optimization effect, and achieve the effect of improving performance and effect, reducing search time, and improving optimization effect.

Active Publication Date: 2020-07-24
NANJING UNIV
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Purpose of the invention: Aiming at the problems and deficiencies in the above-mentioned prior art, the purpose of the present invention is to provide a cross-platform SQL query optimization method combining rule-driven and data-driven, which solves the problems of poor scalability, Problems such as low flexibility and poor optimization effect

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
  • Rule-driven and data-driven combined cross-platform SQL query optimization method
  • Rule-driven and data-driven combined cross-platform SQL query optimization method
  • Rule-driven and data-driven combined cross-platform SQL query optimization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Below in conjunction with accompanying drawing and specific embodiment, further illustrate the present invention, should be understood that these embodiments are only for illustrating the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various aspects of the present invention Modifications in equivalent forms all fall within the scope defined by the appended claims of this application.

[0023] The invention proposes a rule-driven and data-driven cross-platform SQL query optimization method, which solves the problems of poor scalability, low flexibility and poor optimization effect of the existing cross-platform query optimization method. Such as figure 1 As shown, the complete process of the present invention includes five parts: SQL parsing stage, optimizer scheduling stage, rule-driven query optimization stage, data-driven query optimization stage, an...

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 rule-driven and data-driven combined cross-platform SQL query optimization method. The method comprises the following steps of: 1, analyzing a cross-platform SQL statement into a logic query plan in a system; 2, enabling an optimizer scheduling module to schedule the most suitable optimizer to perform query optimization according to the characteristics of the logic queryplan; 3, enabling the rule-driven optimizer to perform plan search according to the rule, selecting an execution plan according to the cost model and the cardinal number estimation to obtain an optimal physical execution plan, and importing an optimization result into a sample collection module; and 4, converting the sample imported by the sample acquisition module into a training sample through adata adaptation module, performing reinforcement learning model training by using the training sample through a data-driven optimizer, and inputting query into the trained model to obtain an optimalphysical execution plan. The cross-platform SQL query optimization method solves the problems that an existing cross-platform SQL query optimization method is poor in expansibility, low in flexibility, poor in optimization effect and the like.

Description

technical field [0001] The invention relates to the technical field of cross-platform SQL query optimization, in particular to a cross-platform SQL query optimization method combining rule-driven and data-driven methods. Background technique [0002] In recent years, with the increasing demand for big data analysis and processing applications in all walks of life, big data query systems have gradually developed in a diversified direction. These data query systems have their own characteristics in terms of query language, computing model, system architecture, and underlying storage technology, and are suitable for different vertical application scenarios. Therefore, modern enterprises or organizations usually construct a variety of different data query systems in order to handle diversified businesses. system. However, many comprehensive businesses need to be able to conduct convenient and efficient cross-platform data query. For example, the unified data analysis business b...

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 Applications(China)
IPC IPC(8): G06F16/2453G06F16/242G06N3/04G06N3/08
CPCG06F16/2453G06F16/2445G06N3/08G06N3/045Y02D10/00
Inventor 顾荣张仪袁春风黄宜华
Owner NANJING UNIV
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