Patent ID: 8369207

Claim:
A failure recovery method for a computer system which receives data to which timestamp information is appended in a chronological order and processes the received data by a plurality of queries that are registered in advance, the computer system including a plurality of computers and at least one query group defined therein, the at least one query group including at least one query, wherein a query group is a group of queries executed sequentially, each of the plurality of computers having: an interface for receiving the data; a memory for storing the data received via the interface; and a processor for processing the data stored in the memory, the plurality of computers including: a first computer for outputting results obtained by processing the received data by the plurality of queries; and a second computer for processing the received data in place of the first computer in a case where a failure occurs in the first computer, the plurality of queries being provided with a predefined sequence in which items of the received data are processed, the failure recovery method including the steps of: receiving the data by each of the first computer and the second computer; processing, by the first computer, the items of the received data in order by the plurality of queries in accordance with the predefined sequence; storing, by the first computer, the processing results obtained from the received data on a query basis into the memory of the first computer as intermediate data; transmitting, by the first computer, the intermediate data corresponding to a part of the plurality of queries to the second computer at a predetermined timing on a query group basis; storing, by the second computer, the intermediate data transmitted from the first computer into the memory of the second computer; and restoring, by the second computer, in a case where a failure occurs in the first computer, the data stored in the memory of the first computer into the memory of the second computer by processing the data received by the second computer and the intermediate data transmitted from the first computer.