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

A data migration method and device for distributed database cluster

A database and distributed technology, applied in the field of data processing, can solve problems such as unbalanced, unbalanced data distribution, multiplication of nodes, etc., to achieve the effect of balancing node data access, the best overall performance, and strong versatility

Active Publication Date: 2021-01-15
BEIJING 58 INFORMATION TTECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] 1. When the overall data volume of the cluster increases and needs to be expanded, adding a node only shares the data volume of one node in the original node, and cannot balance the whole; this will cause unbalanced data distribution and introduce access bottlenecks to the entire system. It cannot solve the problem of overall expansion; doubling all nodes brings waste of resources;
[0012] 2. When a single node performs data migration for capacity expansion, it needs to rehash all the data on the original node, and the performance is obviously low;
[0013] 3. It cannot support complete data migration across computer rooms due to computer room upgrades, etc.

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 data migration method and device for distributed database cluster
  • A data migration method and device for distributed database cluster
  • A data migration method and device for distributed database cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] 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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0050] In order to solve the problem of unbalanced data distribution caused by the existing data migration method in the expansion of the distributed storage system, and the problem of not supporting cross-computer room data migration, the embodiment of the present invention provides a data migration method and device for a distributed database cluster . The core idea of ​​the embodiment of the present invention is: setting n fragments, no matter how the nodes...

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 data migration method and device of a distributed database cluster. The cluster comprises m database nodes and n fragments. Each database node is responsible for storing data of one or more fragments. The method includes the steps that according to a set distribution mode, data entering the cluster is distributed to the corresponding fragments; when data migration is needed in the cluster, the database nodes needing data migration are determined; the fragments, needing to be migrated, in the fragments managed by the determined database nodes are selected out; data of the selected fragments is migrated to the specified database nodes from original database nodes. The data migration scheme supports various scenes like single-node expansion data migration and cluster overall expansion data migration, and universality is high.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data migration method and device for a distributed database cluster. Background technique [0002] With the rapid development of Internet technology, users generate more and more data. The reliable storage and use of these massive data has become the key to computer technology. In terms of technology, it is necessary to ensure the storage security of massive data and the availability of these data, so that users of massive data can use data efficiently and transparently. Distributed systems provide solutions for the storage and use of massive data. As a massive data storage in a distributed system, an important problem to be solved is to determine the data distribution strategy in the cluster. A good distribution strategy should be able to evenly distribute data to all nodes, and should also be able to adapt to changes in cluster nodes . It can be seen that data mig...

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/27G06F16/21
CPCG06F16/214G06F16/27
Inventor 黄海
Owner BEIJING 58 INFORMATION TTECH CO LTD
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