Distributed query optimization method of equivalent expansion method based on relational algebra

A distributed query and relational algebra technology, applied in the database field, can solve the problems of multiple communication overhead, cumbersome, large amount of data transmission, etc., to reduce communication overhead, scientific and reasonable structure, and improve query efficiency.

Inactive Publication Date: 2020-11-03
JIANGSU ELECTRIC POWER CO +4
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a distributed query optimization method based on the equivalent expansion method of relational algebra, which can effectively solve the problem that the traditional distributed query optimization proposed in the above background technology is based on the SQL language, and the optimization method is considered from the perspective of the global query initiated by the user. The method needs to consider the data distribution of each site asso

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
  • Distributed query optimization method of equivalent expansion method based on relational algebra
  • Distributed query optimization method of equivalent expansion method based on relational algebra
  • Distributed query optimization method of equivalent expansion method based on relational algebra

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0050] Example: such as Figure 1-2 As shown, the present invention provides a technical solution, a distributed query optimization method based on an equivalent expansion method of relational algebra, comprising the following steps:

[0051] S1. Sending a request: the query user makes a query request to the distributed database system, and the request result is a set of tuples satisfying the query request;

[0052] S2. Language conversion: the system converts the query request put forward by the user into an equivalent relational algebra expression, which is represented by relational algebra;

[0053] S3. Building a query tree: optimize the relational algebra expression according to the equivalent change rule, and convert it into a corresponding query tree;

[0054] S4. Fragmentation optimization: for each leaf node, optimize according to the fragmentation relationship;

[0055] S5. Decomposition of the query tree: decompose the query tree into sub-query trees corresponding...

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 distributed query optimization method of an equivalent expansion method based on relational algebra, and the method comprises the steps: sending a request, converting a language, constructing a query tree, optimizing fragments, decomposing the query tree, judging whether connection operation exists or not, calculating benefits and judging whether traversal is completed ornot. The method is scientific and reasonable in structure and safe and convenient to use. According to the method, the traditional SQl language is converted into the relational algebra expression byutilizing the consistency of the SQL language and the relational algebra, so that the efficiency of distributed query is indirectly improved, and the query tree is decomposed in the process of constructing the query tree, so the characteristic of data discrete distribution of a distributed system is better met, the data coupling between queries is reduced, the communication overhead is correspondingly reduced, the connection process is optimized through the MapReduce method, the communication overhead between stations in the connection process is greatly reduced, and the communication time iscorrespondingly shortened, so the query efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a distributed query optimization method based on an equivalent expansion method of relational algebra. Background technique [0002] With the advent of the era of big data, data storage and query of large amounts of data has become a research hotspot for scholars; a distributed database system born out of a centralized database has also emerged as the times require. It is a combination of database management technology and network technology. product; in real life, a company can be geographically separated, with different subsidiaries set up in different regions, and the subsidiaries undertake their own business; however, the resources of different branches also need to be interacted and shared ; This is the embodiment of unity and autonomy; and the distributed database system also stores data in different nodes according to this concept, and interacts and accesses them through...

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/2458G06F16/242
CPCG06F16/2453G06F16/2471G06F16/2433
Inventor 秦小麟刘亮徐兴业
Owner JIANGSU ELECTRIC POWER CO
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products