Method and device for data distribution of shared-nothing distributed database

A data distribution and database technology, applied in the field of communication, can solve problems such as reducing database performance

Active Publication Date: 2013-10-09
HUAWEI TECH CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for data distribution of a shared-nothing distributed database, which solves the problem that most of the data needs to be migrated between shards after the database is expanded, which reduces the performance of the database

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 data distribution of shared-nothing distributed database
  • Method and device for data distribution of shared-nothing distributed database
  • Method and device for data distribution of shared-nothing distributed database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] 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 creative efforts fall within the protection scope of the present invention.

[0072] The database management system provides data management services for upper-layer applications. With the rapid growth of data volume, single-node databases can no longer support it.

[0073] A distributed database is a logically unified database composed of multiple physically dispersed database units connected by a computer network. Each connected database unit is called a node. Distributed databases are managed by a unified database management system, whic...

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 device for data distribution of a shared-nothing distributed database, and relates to the technical field of communication. The problem that the performance of the database is reduced due to the fact that most data need to be migrated between shards after the database is expanded is solved. The method specifically comprises the steps of configurating first shard identifications for the shards contained in the database, storing the data to be stored in the corresponding shards according to the first shard identifications, configurating second shard identifications for newly-added shards according to the shard with the largest data size after the database is expanded, and migrating the partial data stored in the shard with the largest data size to the shards corresponding to the second shard identifications for storage. The method and device for the data distribution of the shared-nothing distributed database can be applied to management of the distributed database.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for data distribution of a shared-nothing distributed database. Background technique [0002] The idea of ​​a shared-nothing distributed database is to distribute data to multiple data shards (shards), each shard has its own CPU (Central Processing Unit, central processing unit) and memory, manages its own storage space, and does not share between shards For data, the application finds the correct shard through shard management (that is, the storage method of data) to read and write data. [0003] In the prior art, the data to be stored can be stored in corresponding shards by means of interval division. [0004] Specifically, the data to be stored can be divided according to the value of MSISDN (Mobile Station International ISDN <Integrated Services Digital Network> number), the number of divided areas is the same as the number of shards, and 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30H04L29/08
Inventor 郭伍得
Owner HUAWEI 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