Supercharge Your Innovation With Domain-Expert AI Agents!

A database cluster data distribution method and system

A data distribution and database technology, applied in database-related fields, can solve the problem that the sharding mechanism of database clusters cannot meet business needs well, and achieve the effect of uniform distribution, realization of data, and avoidance of impact.

Active Publication Date: 2019-08-30
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a database cluster data allocation method and system for the technical problem that the fragmentation mechanism of the database cluster in the prior art cannot well meet the business needs

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
  • A database cluster data distribution method and system
  • A database cluster data distribution method and system
  • A database cluster data distribution method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0020] Such as figure 1 Shown is a working flow chart of a database cluster data distribution method of the present invention, including:

[0021] Step S101, including: regularly detecting the data storage conditions of all database sets in the database cluster, acquiring the database sets whose data storage capacity exceeds the threshold as the database sets to be divided, and setting the database sets to be divided into the split state;

[0022] Step S102, including: pre-segmenting the database set to be divided according to the preset segmentation rules, obtaining the number of new sets after division, creating a transfer database set with the new set number, and determining a plurality of transfer databases corresponding to the database set to be divided according to the segmentation rule collection, transferring the data in the ...

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 database cluster data distribution method and system. The method comprises: regularly detecting data storage states of all database sets in a database cluster, obtaining the database set with the data storage quantity exceeding a threshold value as a to-be-segmented database set, and setting the to-be-segmented database set to be in a segmentation state; transferring data in the to-be-segmented database set to a transfer database set; in response to a data write-in request of a client, if the current database set is in the segmentation state, obtaining the transfer database set corresponding to the current database set according to a segmentation rule, and writing data written by the client into the current database set and the transfer database set; and after the data in the to-be-segmented database set is transferred to the transfer database set, uninstalling the to-be-segmented database set from the database cluster. According to the database cluster data distribution method and system, the data is uniformly distributed and the influence on the data written by the client in segmentation and transfer processes is avoided at the same time.

Description

technical field [0001] The invention relates to the technical field related to databases, in particular to a database cluster data distribution method and system. Background technique [0002] With the diversification of query conditions and higher query performance requirements, many businesses now use database clusters, such as SolrCloud, as query engines. Solr is an independent enterprise-level search application server, similar to a database, which provides an API interface similar to Web-service. Users can submit XML files in a certain format to the search engine server through http requests to generate indexes; they can also submit search requests through Http Get operations and get returned results in XML format. SolrCloud is a set of cluster deployment solutions for several Solr applications. [0003] However, as the amount of data grows, the data needs to be stored in shards. The sharding mechanism provided by the database cluster cannot well meet business needs. ...

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 Patents(China)
IPC IPC(8): G06F16/83G06F16/953G06F16/22
Inventor 冯军
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More