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

A method and device for realizing data center backup

A data center and backup technology, applied in the field of big data, can solve the problems of scattered data block storage, slow reading speed, discontinuity, etc., and achieve the effect of centralized storage and improved reading speed

Active Publication Date: 2017-04-05
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, when the above method is used for Hbase cross-data center data backup, the characteristics of column family storage cannot be fully utilized, resulting in problems such as scattered and discontinuous storage of data blocks with the same column family name in the target data center, resulting in slower reading speed. slow

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
  • A method and device for realizing data center backup
  • A method and device for realizing data center backup
  • A method and device for realizing data center backup

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings, which cannot be used to limit the protection scope of the present invention.

[0047] see figure 1 , the present invention proposes a method for realizing data center backup, comprising:

[0048] Step 100: Determine the storage range of the data block in the target data center according to the table name and column family name where the data block to be backed up is located.

[0049] In this step, the range of the rack where the data node storing the data block is located can be determined according to the table name; the physical address range of the data node can be determined according to the column family name. in,

[0050] Determine the range of the rack where the data node of the data block storage is located according to the table name includes:

[0051] Calculate the hash value of the table ...

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 method and device for achieving data center backup. The method for achieving data center backup comprises the steps that according to the name of a table where a data block to be backed up is located and the name of a column family where the data block is located, the storage range of the data block in a target data center is determined; the data block is stored in one data node selected from the determined storage range. The method and device for achieving data center backup solve the problem that when Hbase data backup across data centers is conducted, the data blocks with the same column family name are stored in a dispersed mode, so that storage of the data blocks which are backed up to the target data center and have the same column family name is concentrated better, and therefore the reading speed is improved.

Description

technical field [0001] The invention relates to the field of big data, in particular to a backup method and device for an Hbase-based data center. Background technique [0002] Hbase's data storage is usually based on Hadoop's distributed file storage (HDFS, Hadoop Distributed File System). HDFS usually needs to perform backups when storing data in the original data center. By default, there are three backups, of which two backups belong to the same machine. Among the two different data nodes of the rack, the other copy is in a data node belonging to another rack different from the above rack. At the same time, in order to ensure that the data center can still work normally when a failure occurs, the data center needs to be backed up. [0003] Existing approaches to data center backup include: [0004] Obtain the data blocks to be backed up in the original data center; randomly select a data node in the target data center to back up the data blocks in the target data cente...

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 Patents(China)
IPC IPC(8): G06F11/14
Inventor 刘璧怡邓强吴楠邓鹏飞宗栋瑞
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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