Federated pagination management
First Claim
Patent Images
1. A method of processing a plurality of instances in a federated database, the method comprising:
- receiving a first transaction request to retrieve data, the request specifying retrieving the data stored according to a range of indices of the federated database, and wherein the federated database comprises a local instance and one or more remote instances;
processing the local instance to identify whether data responsive to the request is stored in the local instance;
processing each of the remote instances in a predetermined order to retrieve the requested data, wherein the local instance is processed prior to the one or more remote instances, and wherein the processing includes, for each remote instance;
comparing a total number of records in a current remote instance being processed to a lower limit and an upper limit of the range of indices,retrieving data from the current remote instance when the lower limit is less than the total number of records in the instances that have been processed, wherein the data is retrieved from the current remote instance using a range of indices specified by the lower limit and a lesser one of the upper limit and the total number of records in the remote instance, andprior to processing a subsequent remote instance identified according to the predetermined order, decrease values of the upper and lower limits when the upper limit is greater than the total number of records in the current remote instance, wherein the decreased values specify an expected range of indices associated with data in the subsequently processed remote instance; and
calculating a total number of records in the federated database.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of processing a plurality of instances in a federated deployment of SOA applications can include the steps of receiving a transaction request to retrieve data, the request specifying retrieving the data stored according to range of indices of the federated deployment, processing each of the instances in a predetermined order to retrieve the data; and calculating a total number of records in the federated deployment.
-
Citations
12 Claims
-
1. A method of processing a plurality of instances in a federated database, the method comprising:
-
receiving a first transaction request to retrieve data, the request specifying retrieving the data stored according to a range of indices of the federated database, and wherein the federated database comprises a local instance and one or more remote instances; processing the local instance to identify whether data responsive to the request is stored in the local instance; processing each of the remote instances in a predetermined order to retrieve the requested data, wherein the local instance is processed prior to the one or more remote instances, and wherein the processing includes, for each remote instance; comparing a total number of records in a current remote instance being processed to a lower limit and an upper limit of the range of indices, retrieving data from the current remote instance when the lower limit is less than the total number of records in the instances that have been processed, wherein the data is retrieved from the current remote instance using a range of indices specified by the lower limit and a lesser one of the upper limit and the total number of records in the remote instance, and prior to processing a subsequent remote instance identified according to the predetermined order, decrease values of the upper and lower limits when the upper limit is greater than the total number of records in the current remote instance, wherein the decreased values specify an expected range of indices associated with data in the subsequently processed remote instance; and calculating a total number of records in the federated database. - View Dependent Claims (2, 3, 4)
-
-
5. A system for managing data, comprising
a plurality of storage elements, the storage elements comprising instances of a federated database; - and
a processing element configured to; receive a first transaction request to retrieve data from the federated database, wherein the request specifies retrieving the data stored according to a range of indices for the federated database, and wherein the federated database comprises a local instance and one or more remote instances, process the local instance to identify whether data responsive to the request is stored in the local instance, process each of the remote instances in a predetermined order to retrieve the requested data, wherein the local instance is processed prior to the one or more remote instances, and wherein the processing includes, for each remote instance; compare a total number of records in a current remote instance being processed to a lower limit and an upper limit of the range of indices; retrieve data from the current remote instance when the lower limit is less than the total number of records in the instances that have been processed, wherein the data is retrieved from the instance using a range of indices specified by the lower limit and a lesser one of the upper limit and the total number of records in the remote instance; and prior to processing a subsequent remote instance identified according to the predetermined order, decrease values of the upper and lower limits when the upper limit is greater than the total number of records in the current remote instance, wherein the decreased values specify an expected range of indices associated with data in the subsequently processed remote instance; and calculate a total number of records in the federated database. - View Dependent Claims (6, 7, 8)
- and
-
9. A computer-readable storage medium, having stored thereon a computer program for searching a plurality of instances in a federated database, the computer program comprising a plurality of code sections executable by a computer for causing the computer to perform the steps of:
-
receiving a first transaction request to retrieve data, the request specifying retrieving the data stored according to range of indices of the federated database, and wherein the federated database comprises a local instance and one or more remote instances; processing the local instance to identify whether data responsive to the request is stored in the local instance; processing of the remote instances in a predetermined order to retrieve the requested data, wherein the local instance is processed prior to the one or more remote instances, and wherein the processing includes, for each remote instance; comparing a total number of records in a current remote instance being processed to a lower limit and an upper limit of the range of indices, retrieving data from the current remote instance when the lower limit is less than the total number of records in the instances that have been processed, wherein the data is retrieved from the current remote instance using a range of indices specified by the lower limit and a lesser one of the upper limit and the total number of records in the remote instance, and prior to processing a subsequent remote instance identified according to the predetermined order, decreasing values of the upper and lower limits when the upper limit is greater than the total number of records in the current remote instance, wherein the decreased values specify an expected range of indices associated with data in the subsequently processed instance; and
calculating a total number of records in the federated database. - View Dependent Claims (10, 11, 12)
-
Specification