Clustered data query method, client side and system

A data query and client-side technology, applied in the database field, can solve problems such as the need for programming workload, poor system scalability, and easy occurrence of bugs, so as to reduce query response delay, reduce programming workload, and avoid code errors.

Active Publication Date: 2013-05-22
SHENZHEN GLOBEBILL TECH CO LTD
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, the centralized database system shows its shortcomings: centralized processing will inevitably cause performance bottlenecks; the application program is concentrated on one computer, and once the computer fails, the entire system will be affected and the reliability is not high; The scale and configuration of the system are not flexible enough due to the traditional processing, and the scalability of the system is poor.
The disadvantage of this method is that it is slower
For example, when the amount of query result data exceeds 500,000, the speed of grouping and summarization will be intolerable, which may exceed 15 seconds
[0007] In addition, if you compile an algorithm to summarize the data selected by Amoeba when performing data query to obtain grouped data, when the amount of data is large, it will exceed the cache size setting allowed by APACHE, resulting in a 504 error on the server.
In addition, because the algorithm needs to be written manually, it requires programming workload and later maintenance, which is prone to bugs

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
  • Clustered data query method, client side and system
  • Clustered data query method, client side and system
  • Clustered data query method, client side and system

Examples

Experimental program
Comparison scheme
Effect test

no. 2 example

[0066] This embodiment mentions. Combine below image 3 The schematic structural diagram of the database cluster data query client according to an embodiment of the present invention is shown to illustrate the database cluster data query client according to this embodiment.

[0067] The database cluster data query client may include:

[0068] A connection establishment module 31, configured to establish a connection with the database proxy device 20;

[0069] A query condition transmitting module 32, configured to transmit the query condition to the database proxy device 20;

[0070] The first receiving module 33 is configured to receive the result obtained by each database server 30 in the database cluster and obtained by each database server 30 based on the query conditions returned from the database proxy device 20 as the first query result ;

[0071] Insert module 34, be used for inserting described first query result into designated Mysql database server 30;

[0072]...

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 clustered data query method, a client side and a system. The clustered data query method includes: connection is established with a data base agent device; query conditions are sent to the data base agent device; results which are respectively obtained on the query conditions by data base servers, obtained through each data base server in a data base cluster and returned from the data base agent device are received as first query results; the first query results are stored in an appointed data base server; query results which are obtained by dividing the first query results into groups according to preset conditions and returned by the appointed data base server based on grouping query conditions and stored data are received. According to the clustered data query method, the client side and the system, collective processing in data query is carried out without adopting MAPREDUCE, and simple operation of inserting data in the appointed data base server and returning to the inserted data again replaces the MAPREDUCE, so that the processing efficiency is high, and query response time delay is reduced.

Description

technical field [0001] The invention relates to a database technology, in particular to a database cluster data query method, client and system. Background technique [0002] With the maturity of traditional database technology, the rapid development of computer network technology and the expansion of application scope, database applications have been generally established on the computer network. At this time, the centralized database system shows its shortcomings: centralized processing will inevitably cause performance bottlenecks; the application program is concentrated on one computer, and once the computer fails, the entire system will be affected and the reliability is not high; The scale and configuration of the system are not flexible enough, and the scalability of the system is poor. In this situation, centralized databases will develop towards distributed databases. [0003] Database clustering is a technology that combines multiple servers to form a cluster to ...

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): G06F17/30
Inventor 茹意罗峰黄苏支李娜
Owner SHENZHEN GLOBEBILL TECH CO LTD
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