# US 2010/0161565 A1 · Cluster data management system and method for data restoration using shared redo log in cluster data management system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0161565 A1
- Document ID: US20100161565A1
- Status: Published application
- Kind: A1
- Application number: 12/543,208
- Filed: 2009-08-18
- Published: 2010-06-24
- Earliest claimed: 2008-12-18
- Assignees: Electronics and Telecommunications Research Institute
- Inventors: Hun Soon LEE; Byoung Seob Kim; Mi Young Lee
- Web page: https://patentgrep.com/patent/US20100161565A1

## CPC

- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 11/2025: {using centralised failover control functionality}
- G06F 11/203: {using migration}
- G06F 11/2035: {without idle spare hardware}
- G06F 11/2046: {where the redundant components share persistent storage (G06F11/2043 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are a cluster data management system and a method for data restoration using a shared redo log in the cluster data management system. The data restoration method includes collecting service information of a partition served by a failed partition server, dividing redo log files written by the partition server by columns of a table including the partition, restoring data of the partition on the basis of the collected service information and log records of the divided redo log files, and selecting a new partition server that will serve the data-restored partition, and allocating the partition to the selected partition server.

## Claims

### Claim 1

A method for data restoration using a shared redo log in a cluster data management system, the method comprising:
collecting service information of a partition served by a failed partition server;
dividing redo log files written by the partition server by columns of a table including the partition;
restoring data of the partition on the basis of the collected service information and log records of the divided redo log files; and
selecting a new partition server that will serve the data-restored partition, and allocating the partition to the selected partition server.

### Claim 2 (depends on 1)

The method of claim 1, wherein the service information includes information of the partition served by the failed partition server, information of the columns constituting each partition; and row range information of a table including each partition.

### Claim 3 (depends on 1)

The method of claim 1, wherein the dividing of redo log files comprises:
arranging log information of the redo log files on the basis of preset reference information;
sorting the arranged log information of the redo log files by the columns; and
dividing the redo log files with the sorted log information by the columns.

### Claim 4 (depends on 3)

The method of claim 3, wherein the reference information includes a table including the partition served by the failed partition server, a row key, a cell key, and a time stamp.

### Claim 5 (depends on 1)

The method of claim 1, wherein the restoring of data of the partition comprises:
selecting a partition server that will restore the data of the partition;
transmitting the collected service information and the divided redo log files to the selected partition server;
generating a new data file on the basis of the received service information and the log information of the redo log files; and
recording log records of the redo log files in the generated data file.

### Claim 6 (depends on 5)

The method of claim 5, wherein the recording of log records of the redo log files comprises:
determining whether the record information of the redo log files belongs to the current partition whose data is being restored; and
recording the log records of the redo log files in the generated data file if the record information of the redo log files belongs to the current partition.

### Claim 7 (depends on 6)

The method of claim 6, wherein the recording of the log records of the redo log files comprises:
generating a new data file if the record information of the redo log files does not belong to the current partition; and
recording the log records of the redo log files in the generated data file.

### Claim 8 (depends on 5)

The method of claim 5, wherein the recording of the log information comprises:
generating information to be recorded in a data file, on the basis of other information than log sequence numbers of the log information of the redo log files; and
recording the generated information in the generated data file.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
starting a service for the data-restored partition by the partition server allocated the partition.

### Claim 10

A cluster data management system that restores data using a shared redo log, the cluster data management system comprising:
a partition server managing a service for at least one or more partitions and writing redo log files according to the service for the partition; and
a master server collecting service information of the partitions in the event of a partition server failure, dividing the redo log files by columns of a table including the partition, and selecting the partition server that will restore data of the partition on the basis of the collected service information of the partition and the log information of the redo log files.

### Claim 11 (depends on 10)

The cluster data management system of claim 10, wherein the service information includes information of the partition served by the failed partition server, information of the columns constituting each partition; and row range information of a table including each partition.

### Claim 12 (depends on 10)

The cluster data management system of claim 10, wherein the master server arranges log information of the redo log files on the basis of preset reference information, sorts the arranged log information of the redo log files by the columns, and divides the redo log files by the columns.

### Claim 13 (depends on 12)

The cluster data management system of claim 12, wherein the reference information includes a table including the partition served by the failed partition server, a row key, a cell key, and a time stamp.

### Claim 14 (depends on 10)

The cluster data management system of claim 10, wherein the master server transmits the collected service information and the divided redo log files to the selected partition server.

### Claim 15 (depends on 14)

The cluster data management system of claim 14, wherein the partition server restores data of the partition on the basis of the received service information and the log information of the divided redo log files.

### Claim 16 (depends on 15)

The cluster data management system of claim 15, wherein the partition server generates a data file for data restoration of the partition on the basis of the received service information and the log information of the redo log files, and records the log information of the redo log files in the generated data file of the partition.

### Claim 17 (depends on 16)

The cluster data management system of claim 16, wherein the partition server determines whether the log information of the redo log files belongs to the current partition whose data is being restored, and records the log information in the generated data file if the log information belongs to the current partition.

### Claim 18 (depends on 17)

The cluster data management system of claim 17, wherein the partition server generates a new data file if the log information of the redo log files does not belong to the current partition, and records the log information in the generated data file.

### Claim 19 (depends on 16)

The cluster data management system of claim 16, wherein the partition server generates information to be recorded in the data file, on the basis of other information than log sequence numbers of the log information of the redo log files, and records the generated information in the generated data file.

### Claim 20 (depends on 15)

The cluster data management system of claim 15, wherein the master server selects a new partition server that will serve the data-restored partition, and allocates the partition to the selected partition server.
