Dual overlay query processing
First Claim
1. A method of processing a query at a plurality of storage devices, comprising:
- receiving a dual query from a client;
executing the dual query at a first storage device and a second storage device;
receiving a result set of the dual query, wherein the result set includes a first set of database records from the first storage device and a second set of database records from the second storage device;
identifying a first set of database records that has not been used above a first threshold number of times within a first time period;
copying the first set stored in the first storage device to a second storage device;
removing the copied database records of the first set from the first storage device;
identifying a second set of database records that has been used above a second threshold number of times within a second time period, wherein the second set is stored in the second storage device;
copying the second set stored in the second storage device to the first storage device; and
removing the copied database records of the second set from the second storage device.
1 Assignment
0 Petitions
Accused Products
Abstract
An example method of processing a query at a plurality of storage devices includes receiving a dual query from a client and generating a synchronous query and an asynchronous query based on the dual query. The dual query includes a set of conditions for selecting data from a set of database tables. The method further includes sending the synchronous query to a first storage device, sending the asynchronous query to a second storage device, and receiving a result set of the synchronous query. The result set of the synchronous query includes data selected from a set of database records in a set of primary database tables, which is stored in the first storage device and is a subset of the set of database tables. The method further includes marking a database record. A marked database record indicates usage of the data selected from the database record within a time period.
-
Citations
20 Claims
-
1. A method of processing a query at a plurality of storage devices, comprising:
-
receiving a dual query from a client; executing the dual query at a first storage device and a second storage device; receiving a result set of the dual query, wherein the result set includes a first set of database records from the first storage device and a second set of database records from the second storage device; identifying a first set of database records that has not been used above a first threshold number of times within a first time period; copying the first set stored in the first storage device to a second storage device; removing the copied database records of the first set from the first storage device; identifying a second set of database records that has been used above a second threshold number of times within a second time period, wherein the second set is stored in the second storage device; copying the second set stored in the second storage device to the first storage device; and removing the copied database records of the second set from the second storage device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for processing a query at a plurality of storage devices, comprising:
-
a query proxy that receives a dual query from a client, executes the dual query at a first storage device and a second storage device, and receives a result set of the dual query, wherein the result set includes a first set of database records from the first storage device and a second set of database records from the second storage device, wherein the query proxy that identifies a first set of database records that has not been used above a first threshold number of times within a first time period, copies the first set stored in the first storage device to a second storage device, and removes the copied database records of the first set from the first storage device, and wherein the query proxy identifies a second set of database records that has been used above a second threshold number of times within a second time period, copies the second set stored in the second storage device to the first storage device, and removes the copied database records of the second set from the second storage device. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A machine-readable medium comprising a plurality of machine-readable instructions that when executed by one or more processors is adapted to cause the one or more processors to perform a method comprising:
-
receiving a dual query from a client; executing the dual query at a first storage device and a second storage device; receiving a result set of the dual query, wherein the result set includes a first set of database records from the first storage device and a second set of database records from the second storage device; identifying a first set of database records that has not been used above a first threshold number of times within a first time period, wherein the first set is stored in a first storage device; copying the first set stored in the first storage device to a second storage device; removing the copied database records of the first set from the first storage device; identifying a second set of database records that has been used above a second threshold number of times within a second time period, wherein the second set is stored in the second storage device; copying the second set stored in the second storage device to the first storage device; and removing the copied database records of the second set from the second storage device. - View Dependent Claims (20)
-
Specification