Method and device for quickly inquiring and calculating MangoDB cluster

A computing method and computing device technology, applied in computing, special data processing applications, instruments, etc., can solve problems such as slow processing speed and inability to apply distributed database queries, and achieve the effect of increasing speed

Inactive Publication Date: 2013-07-17
BEIJING IZP NETWORK TECH CO LTD
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, there are the following disadvantages: 1. MapReduce supports fragmented database queries, and the processing speed is slow. MapReduce is not suitable for systems that require real-time response; 2. Compared with systems with complete indexes, MapReduce no longer has advantages. Because it needs to match each piece of data and extract

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
  • Method and device for quickly inquiring and calculating MangoDB cluster
  • Method and device for quickly inquiring and calculating MangoDB cluster
  • Method and device for quickly inquiring and calculating MangoDB cluster

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

[0035] exist figure 1 A first embodiment of the invention is shown in .

[0036] figure 1 For the implementation process of the MongoDB cluster fast query method according to the first embodiment of the present invention, the implementation process 100 is described in detail as follows:

[0037] In step 101, query conditions are determined.

[0038] The query condition is used to query the group summary information corresponding to the specified group in the specified data table of all MongoDB shards. One group or multiple...

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 method and a device for quickly inquiring and calculating a MangoDB cluster, which is applied to computers, communication and associated fields. The method comprises the following steps of S1, determining a query condition, wherein the query condition is used for inquiring subgroup summary data of a designated subgroup corresponding to the query condition in a designated data list of all fragments of MongoDB; S2, inquiring the designated data list according to the query condition, and acquiring data in the designated subgroup corresponding to the query condition; S3, storing the data into a first temporary data cache table on a server; and S4, carrying out subgroup query on the data in the first temporary data cache table and calculating a query result. According to the method, an original fragment query way is improved to a query way on one server, so that the query speed is greatly improved on the premise of guaranteeing the accuracy of the query result.

Description

technical field [0001] The invention relates to a database cluster technology for distributed file storage, in particular to a method and device for fast query and calculation of a MongoDB cluster. Background technique [0002] With the further deepening of informatization, in various fields, such as telecommunications, transportation, finance, retail, aerospace, medicine, etc., the magnitude of data is showing a rapid growth trend. How to store, analyze, understand and utilize these large-scale Data has become a critical issue. In order to deal with the problem of large-scale data processing, database cluster technology came into being. Database cluster technology is to connect multiple databases together to form a distributed database cluster, and "divide and conquer" massive data. As a member of the distributed database, MongoDB performs very well. In the MongoDB database cluster, you can use the find statement to query data, and the query results can be returned in th...

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 BEIJING IZP NETWORK 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