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

Data query method and cluster database system

A data query and database technology, applied in the field of data processing, can solve problems such as being unsuitable for application scenarios, unable to solve complex query processing, unable to make full use of multi-node parallel computing capabilities, etc., to achieve the effect of improving data query speed

Inactive Publication Date: 2013-05-29
DAWNING INFORMATION IND BEIJING
View PDF4 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) If the amount of data is large enough, the extracted data cannot be stored in a single data node
Therefore, this method of extracting first and then querying and calculating is not suitable for application scenarios with a huge amount of data
[0006] (2) For global statistics and sorting queries, the two-stage query processing method is adopted, and the parallel computing capabilities between multiple nodes cannot be fully utilized when the results are merged and calculated in the second stage
[0007] (3) The two-stage query processing method cannot solve complex query processing, such as the associated query of large tables distributed on multiple database nodes and the nested query of large tables

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
  • Data query method and cluster database system
  • Data query method and cluster database system
  • Data query method and cluster database system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0026] figure 1 is a schematic flowchart of a data query method according to an embodiment of the present invention. Such as figure 1 As shown, the data query method includes the following steps:

[0027] S101. The query parser parses the received query request, decomposes it into a query task flow, and generates an execution rule of the query task flow.

[0028] S102. The query parser allocates one or more query tasks in the query task flow to corresponding database nodes according to the execution rules of the query task flow.

[0029] S103, after receiving the assigned query task, the database node executes the corresponding query task in parallel with other associated database nodes according to the execution rules of the query task flow, so as to obtain corresponding query data.

[0030] S104. The database node combines the query data obtained by exe...

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 cluster database system. The cluster database system comprises a query analyzer and a plurality of database nodes. The query analyzer is used for analyzing a received query request, resolving the received query request into a query task stream and generating an execution rule; and meanwhile, the query analyzer is used for distributing one or more than one query task in the query task stream for corresponding database nodes according to the execution rule. The database nodes are used for executing corresponding query tasks together with other relevant database nodes according to the execution rule after the distributed query tasks are received; and besides, the database nodes are used for combining query data obtained through execution of a certain task and query data obtained through execution of the same query task by the other relevant database nodes so as to obtain query result data, and the data is the final query result data corresponding to the query request or the data is used as input data for the next query task and therefore the plurality of database nodes can carry out the query task stream according to the execution rule to obtain the final query result data conveniently.

Description

technical field [0001] The present invention relates to the technical field of data processing, and more specifically, to a data query method, a cluster database system and a database node. Background technique [0002] Message Passing Interface (MPI) is a programming model for message passing, a standard and specification for parallel programming, and is widely used in high-performance computing and parallel computing. MPI has high communication performance, good program portability and powerful functions. At present, the implementation of MPI mainly includes MPICH (jointly developed by Argonne National Laboratory and Mississippi State University), OpenMP (proposed by the OpenMP Architecture Review Board) and LAM (Local Area Multicomputer, developed by Ohio State University for heterogeneous computing. MPI package), etc. Using MPI to run parallel programs can facilitate inter-process communication and synchronous control without having to care about the details of communi...

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): G06F17/30
Inventor 宋怀明狄静舒王勇苗艳超刘新春邵宗有
Owner DAWNING INFORMATION IND BEIJING
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