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

Multi-copy storage method and multi-copy storage system for distributed database system

A multi-copy and database technology, applied in the computer field, can solve problems such as missing errors, unavailability, server downtime, power outage and downtime data, etc., and achieve the effect of improving disaster recovery capabilities

Inactive Publication Date: 2013-09-11
CHENGDU ONGOING INFORMATION TECH
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When storing data in a database, you will encounter various problems: such as disk damage; system crashes caused by disasters, power outages, etc., which make data inevitably encounter problems such as missing errors and unavailability
[0003] Although the current mainstream databases provide methods such as regular backup and selecting an appropriate version recovery according to needs, when the above problems occur, the service must be shut down for maintenance, which will affect data users, and some of the impacts will be fatal.
Based on this, we invented a multi-copy storage method and system for a distributed database system to solve the problem of server downtime and disk damage leading to unavailable data on the server

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
  • Multi-copy storage method and multi-copy storage system for distributed database system
  • Multi-copy storage method and multi-copy storage system for distributed database system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Further illustrate the technical scheme of the present invention below in conjunction with accompanying drawing, but the protected content of the present invention is not limited to the following description:

[0022] Such as figure 1 As shown, the multi-copy storage fault-tolerant method is used to store data in distributed databases. In order to achieve high data availability and ensure that data storage nodes are unavailable due to power outages and downtimes, there are still available data for users in real time. The system It consists of a group of Master units, multiple storage nodes and an internal network connecting them. The data is stored in fragments, using a storage model of one master and two copies. The user operates the data of the master version, and the system synchronizes the data update in real time.

[0023] A fault-tolerant method for multi-copy storage, which includes the following steps:

[0024] S1: Data is stored in fragments. For each dat...

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 multi-copy storage method and a multi-copy storage system for a distributed database system, and belongs to the field of computer software. The multi-copy storage system comprises a main Master node, a standby Master node, a plurality of storage nodes and a connection network. The multi-copy storage method includes steps of 1, storing data in different data pieces; 2, only allowing a user to operate the data in a primary version, and enabling the multi-copy storage system to synchronize change of the data to various copies in real time and guarantee the atomicity; 3, enabling the multi-copy storage system to detect survival conditions of the nodes via synchronous heartbeat detection, and enabling a main Master host to instantly select an available copy to replace the primary version when a certain storage node of the data in the primary version dies; 4, enabling the multi-copy storage system to carry out detection and repair operation for the storage copies regularly, and migrating the data pieces with excessively low quantities of copies to other available storage nodes by means of local storage migration. A main storage model and a standby storage model are adopted for each data piece, and the copies are of completely identical logical structures and are distributed on different physical storage nodes. The multi-copy storage method and the multi-copy storage system have the advantages that the integrity and the availability of the data are protected against the death of optional nodes of the system.

Description

technical field [0001] The invention relates to a multi-copy storage method and system for a distributed database system, belonging to the technical field of computers. Background technique [0002] When storing data in a database, you will encounter various problems: such as disk damage; disasters leading to system crashes, power outages, etc., which make data inevitably encounter problems such as missing errors and unavailability. [0003] Although the current mainstream databases provide methods such as regular backup and selecting appropriate version recovery according to needs, when the above problems occur, the service must be shut down for maintenance, which will affect data users, and some of the impact will be fatal. Based on this, we invented a multi-copy storage method and system for a distributed database system to solve the problem of server downtime and disk damage leading to unavailable data on the server. [0004] Myfox's distributed MySQL cluster middleware...

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
Inventor 况忠强马正红
Owner CHENGDU ONGOING INFORMATION 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