Identifying database request sources in multi-database systems
First Claim
1. A method for recovering from a failure of a soon-to-fail database system among a plurality of database systems in a multi-database system in processing a request submitted to the multi-database system through a multi-database system session, the method comprising:
- creating a query band for the request, the query band being defined to be an identifier that uniquely identifies the session and the request among the plurality of sessions and plurality of requests being processed by the multi-database system at the time that the request was submitted;
attaching the query band to a transaction issued by the multi-database system to the soon-to-fail database system to execute the request;
reporting a status concerning execution of the transaction by the soon-to-fail database system, the status including the query band;
logging the status;
detecting the failure of the soon-to-fail database system;
reconstructing a state of the soon-to-fail database system from the logged status as the state related to the processing of the transaction using the query band;
using the reconstructed state to continue processing of the transaction by an alternative database system, the alternative database system being one of the plurality of database systems in the multi-database system;
processing the request to produce a result; and
storing the result.
1 Assignment
0 Petitions
Accused Products
Abstract
Recovering from a failure of a soon-to-fail database system among a plurality of database systems in a multi-database system in processing a request submitted to the multi-database system through a multi-database system session is accomplished. A query band is created for the request. The query band is defined to be an identifier that uniquely identifies the session and the request among the plurality of sessions and plurality of requests being processed by the multi-database system at the time that the request was submitted. The query band is attached to a transaction issued by the multi-database system to the soon-to-fail database system to execute the query. The status concerning execution of the transaction is reported by the soon-to-fail database system. The status includes the query band. The status is logged. The failure of the soon-to-fail database system is detected. The state of the soon-to-fail database system is reconstructed from the logged status as the state related to the processing of the transaction using the query band. The reconstructed state is used to continue processing of the transaction by an alternative database system. The alternative database system is one of the plurality of database systems in the multi-database system. The request is processed to produce a result and the result is stored.
38 Citations
21 Claims
-
1. A method for recovering from a failure of a soon-to-fail database system among a plurality of database systems in a multi-database system in processing a request submitted to the multi-database system through a multi-database system session, the method comprising:
-
creating a query band for the request, the query band being defined to be an identifier that uniquely identifies the session and the request among the plurality of sessions and plurality of requests being processed by the multi-database system at the time that the request was submitted; attaching the query band to a transaction issued by the multi-database system to the soon-to-fail database system to execute the request; reporting a status concerning execution of the transaction by the soon-to-fail database system, the status including the query band; logging the status; detecting the failure of the soon-to-fail database system; reconstructing a state of the soon-to-fail database system from the logged status as the state related to the processing of the transaction using the query band; using the reconstructed state to continue processing of the transaction by an alternative database system, the alternative database system being one of the plurality of database systems in the multi-database system; processing the request to produce a result; and storing the result. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A database system, the system comprising:
-
one or more nodes; a plurality of CPUs, each of the one or more nodes providing access to one or more CPUs; a plurality of virtual processes, each of the one or more CPUs providing access to one or more virtual processes; each virtual process configured to manage data, including rows from the set of database table rows, stored in one of a plurality of data-storage facilities; a process for recovering from a failure of a soon-to-fail database system among a plurality of database systems in a multi-database system in processing a request submitted to the multi-database system through a multi-database system session by; creating a query band for the request, the query band being defined to be an identifier that uniquely identifies the session and the request among the plurality of sessions and plurality of requests being processed by the multi-database system at the time that the request was submitted; attaching the query band to a transaction issued by the multi-database system to the soon-to-fail database system to execute the request; reporting a status concerning execution of the transaction by the soon-to-fail database system, the status including the query band; logging the status; detecting the failure of the soon-to-fail database system; reconstructing a state of the soon-to-fail database system from the logged status as the state related to the processing of the transaction using the query band; using the reconstructed state to continue processing of the transaction by an alternative database system, the alternative database system being one of the plurality of database systems in the multi-database system; processing the request to produce a result; and storing the result. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium, for recovering from a failure of a soon-to-fail database system among a plurality of database systems in a multi-database system in processing a request submitted to the multi-database system through a multi-database system session, the program comprising executable instructions that cause a computer to:
-
create a query band for the request, the query band being defined to be an identifier that uniquely identifies the session and the request among the plurality of sessions and plurality of requests being processed by the multi-database system at the time that the request was submitted; attach the query band to a transaction issued by the multi-database system to the soon-to-fail database system to execute the request; report a status concerning execution of the transaction by the soon-to-fail database system, the status including the query band; log the status; detect the failure of the soon-to-fail database system; reconstruct a state of the soon-to-fail database system from the logged status as the state related to the processing of the transaction using the query band; use the reconstructed state to continue processing of the transaction by an alternative database system, the alternative database system being one of the plurality of database systems in the multi-database system; process the request to produce a result; and store the result. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification