Unlock instant, AI-driven research and patent intelligence for your innovation.

Data query method and data query system

A technology for querying data and data query, which is applied in the computing field and can solve problems such as slow query response, invalid data transmission, and increased equipment load

Inactive Publication Date: 2018-04-03
HUAWEI TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In this process, when Hbase cross-datacenters performs association queries between multiple tables for users, it will cause a large amount of invalid data transmission, which increases the load on the devices in the cluster, and HbaseClient needs to interact with different clusters of Hbase multiple times In order to get the final query results, resulting in slow query response

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0032] Various embodiments of the present invention are applicable to data query systems with distributed data storage clusters, and are especially applicable to Hbase. The data query system in the embodiment of the present invention may include multiple data storage clusters, wherein each data storage cluster is specifically implemented by at least one data storage device.

[0033] In each embodiment of the present invention, X in the Xth intermediate...

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 provides a data query method and a data query system. The data query system comprises a Client module and multiple Agent modules, wherein each Agent module in the Agent modules corresponds to a data storage cluster. The method comprises the steps that the Client module obtains a serialized query instruction set, wherein the serialized query instruction set comprises at least two query instructions; the first Agent module queries data in a database of the first data storage cluster according to the serialized query instruction set to obtain a first query result; and the first Agent module returns the first query result to the Client module. According to the data query method, the transmission of invalid data in a system can be reduced; the bandwidth utilization rate among thedata storage clusters is increased; the frequency of interaction between the Client module and the data storage clusters can be reduced; and the query response speed can be increased.

Description

technical field [0001] The present application relates to the computing field, and more specifically, relates to a data query method and a data query system. Background technique [0002] Large enterprises or large organizations usually deploy multiple data centers (DataCenter, DC) in different geographical locations. For example, Hbase is a common distributed data storage cluster in big data scenarios, and different clusters will be deployed in multiple geographically dispersed data centers. Different clusters of Hbase usually store different data, and the data is stored in a key-value (key-value) manner. [0003] When users use Hbase, it usually involves querying data in databases in multiple data centers. Currently, when users communicate with Hbase, they mainly rely on HbaseClient. One HbaseClient can only connect to one Hbase cluster at a time. If users need to access the data of multiple clusters, they can only use HbaseClient to communicate with one or more specif...

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
CPCG06F16/2471G06F16/25G06F16/27
Inventor 党李飞崔鑫
Owner HUAWEI TECH CO LTD