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

Quick node replacement method for large-scale cluster database

A database and large-scale technology, applied in database design/maintenance, electronic digital data processing, structured data retrieval, etc., can solve problems such as long business pause time and time-consuming data nodes, and achieve short synchronization time and reduce writing Operating time, quick change effect

Inactive Publication Date: 2017-02-22
TIANJIN NANKAI UNIV GENERAL DATA TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. It is necessary to stop the current cluster and interrupt the user's business operations to wait for the administrator to perform the replacement operation
[0005] Second, when the amount of data is huge, it takes a lot of time to replace data nodes, and the user's business pause time will also be very long, which is unbearable for some users with high real-time requirements

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] A fast node replacement method for a large-scale cluster database, comprising the following steps:

[0015] 1) Set the unavailable state of the node, shield the operation of the database on the damaged node, and reduce the invalid operation performed by the database.

[0016] 2) Replacement installation simplifies the installation process of the replacement node, and automatically configures it so that the new node is compatible with the cluster, and does not need to be manually performed by the user.

[0017] 3) Before node replacement and metadata synchronization, first set the cluster mode to read-only, prevent all subsequent write operations of the cluster, and wait for the current write operation to complete. When it is confirmed that there is no write operation in the cluster, the metadata of the database will be synchronized. After the synchronization is completed, the synchronization data flag will be set for the user's data. After the setting is completed, 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 provides a quick node replacement method for a large-scale cluster database. The method comprises the following steps of setting an unavailable state of a node; installing an installation program of a new node replacing the node, and performing new node and cluster configuration; setting a cluster mode to be read-only, and judging whether the execution of write operation is finished or not; after the execution of the write operation is finished, synchronizing metadata; and after the metadata synchronization is finished, recovering the cluster mode to be normal, setting a synchronous data flag for user data, and performing user data synchronization according to the synchronous data flag. According to the quick node replacement method for the large-scale cluster database, the data node replacement process is divided into two steps of metadata synchronization and user data synchronization; a user is prohibited to perform the write operation on the database during the metadata synchronization period, and the user is allowed to perform all database operations during the user data synchronization period; and the data volume of database metadata is not large in general, and the synchronization time is short, so that the time in which the user cannot perform the write operation on the database can be shortened to the maximum extent.

Description

technical field [0001] The invention relates to the field of database node replacement, in particular to a fast node replacement method for a large-scale cluster database. Background technique [0002] As the scale of the cluster database expands, the number of cluster nodes continues to increase, and damage to cluster nodes will become a common phenomenon. At the same time, as the amount of data increases, the computing power and storage capacity of a single node will also become a bottleneck. In both cases, it is necessary to replace and upgrade the cluster nodes so that the cluster can work normally, which is a typical application scenario of the present invention. [0003] Cluster data nodes can also be replaced by manual methods. The problem with this operation is: [0004] First, it is necessary to stop the current cluster and interrupt the user's business operations to wait for the administrator to perform the replacement operation. [0005] Second, when the amount...

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/30
CPCG06F16/21G06F16/273
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