Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device of deleting replica database in distributed system

A technology of a distributed system and a deletion method, which is applied in the field of deletion of replica databases, can solve the problems of increasing the risk of accidental deletion of replica databases, failure to recover replica databases, and increased loss of replica databases, so as to reduce risks, avoid losses, and facilitate Recovery effect

Active Publication Date: 2018-06-29
BEIJING QIHOO TECH CO LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, at present, after the copy database is deleted, the copy database cannot be restored, which increases the risk of mistakenly deleting the copy database and increases the losses caused by mistakenly deleting the copy 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 of deleting replica database in distributed system
  • Method and device of deleting replica database in distributed system
  • Method and device of deleting replica database in distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0027] figure 1 A schematic flowchart of a method for deleting a replica database in a distributed system according to an embodiment of the present invention is shown. like figure 1 As shown, the method includes:

[0028] Step S110, pre-configuring the recovery folder in the file system.

[0029] Among them, the file system is an organization responsible for managing and storing file information in the operating system. The pre...

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 of deleting a replica database in a distributed system, wherein the method comprises: pre-configuring a recycle file folder in a file system; when a deletion operation for the replica database is received, acquiring a first catalogue that is in rigid linkage with the replica database, and establishing a second catalogue in the recycle file folder according to the first catalogue; establishing a rigid linkage between the replica database and the second catalogue; deleting the rigid linkage between the replica database and the first catalogue. The method and device have the advantages that after the replica database is deleted, the replica database is easy to restore; the risk of mistakenly deleting the replica database is reduced, and the loss dueto failure of recovery after the replica database is mistakenly deleted in the prior art is avoided.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for deleting a duplicate database in a distributed system. Background technique [0002] Distributed systems are favored by many skilled in the art for their characteristics of high parallelism, high fault tolerance, and high flexibility. Each replica data in a distributed system has its corresponding replica database. When the replica database is migrated or deleted, the table is deleted, etc., the replica database will be deleted. [0003] However, currently, after the copy database is deleted, the copy database cannot be restored, thereby increasing the risk of accidentally deleting the copy database and increasing the losses caused by mistakenly deleting the copy database. Contents of the invention [0004] In view of the above problems, the present invention is proposed to provide a method and device for deleting a replica database in a distributed ...

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/162G06F16/27
Inventor 王康
Owner BEIJING QIHOO TECH CO LTD