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

Expansion method for supporting non-halt of multi-hash map database cluster system

A cluster system and database technology, applied in the field of expansion that supports multi-hash map database cluster systems without stopping, can solve problems such as not allowing users to perform DML and DDL operations, and achieve the effect of improving operational performance

Active Publication Date: 2015-04-01
TIANJIN NANKAI UNIV GENERAL DATA TECH
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] What the invention creates is to solve the problem that the expansion process does not allow users to perform DML and DDL operations

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
  • Expansion method for supporting non-halt of multi-hash map database cluster system
  • Expansion method for supporting non-halt of multi-hash map database cluster system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] A method for expanding the capacity of a multi-hash map database cluster system without stopping, comprising the following steps:

[0028] S1. The original tables in the cluster are all bound to the existing hash map, and the existing hash map is named old hash map;

[0029] S2. When performing cluster expansion, execute the command to generate a new hash map, the cluster generates a new hash map, and set the hash map as the current hash map;

[0030] S3. After the cluster is expanded, the newly created table is automatically bound to the current hash map;

[0031] S4. Any operation on the original table will use the old hash map, and data operations will be performed on the original node. Any operation on the new table will use the current hash map, and data operations will be performed on all nodes. Any operation on the original table and the new table will use the current hash map as the hash map of the current operation. The original hash characteristics of the ol...

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 provides an expansion method for supporting non-halt of a multi-hash map database cluster system. The expansion method comprises the following steps: S1, binding all original tables in a cluster onto an existing hash map which is named old hash map; S2, during cluster expansion, executing a command for generating a new hash map, generating the new hash map through a cluster, and setting the hash map as a current hash map; S3, automatically binding tables which are newly created after cluster expansion onto the current hash map; S4, participating into operation with new tables after performing dynamic data redistribution according to the current hash map, wherein in any operation on the original tables and the new tables, the current hash map is taken as a hash map of current operation, and the original hash characteristics of old tables based on an old hash map are lost; S5, migrating a part of data onto a new node, and binding the tables onto the current hash map after the completion of migration. Through the design, performance attenuation is avoided, and natural data transition is realized.

Description

technical field [0001] The invention relates to the field of distributed databases, in particular to a capacity expansion method that supports multi-hash map database cluster systems without stopping. Background technique [0002] In the customer's business scenario, when the current cluster cannot meet the user's business needs and needs to be expanded, the expansion of the cluster needs to be completed within a given time window. The main technology of cluster expansion in the traditional sense is data migration, and the expansion process is completed by redistributing part of the data on the original cluster nodes to the newly added nodes. Depending on the size of the data, data redistribution takes hours to days, and during the expansion process, the cluster does not allow DML and DDL operations, only query operations are allowed, which brings great inconvenience to cluster users. In particular, real-time system users do not allow prolonged cluster downtime. Contents ...

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
CPCG06F16/214G06F16/2255
Inventor 张绍勇孔德生武新崔维力
Owner TIANJIN NANKAI UNIV GENERAL DATA TECH
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