CREATING ADAPTIVE, DEFERRED, INCREMENTAL INDEXES
First Claim
Patent Images
1. A method for creating an index for a database comprising:
- (a) receiving a query to the database having indexes;
(b) formulating a query index for the database wherein the query index is a function of the received query;
(c) searching the indexes of the database for an index that matches the formulated query index;
(d) in the event that an index of the database that matches the formulated query index is not found; and
(i) saving the formulated query index;
(ii) executing the query without the formulated query index; and
(iii) creating the saved formulated query index;
(d) in the event that an index of the database that matches the formulated query index is found, executing the query with the formulated query index.
2 Assignments
0 Petitions
Accused Products
Abstract
A request logging component formulates an index that could have been utilized by a query to a database, if the index had existed. The request logging component stores the formulated query as an unsatisfied request. The index creation component creates the index of the database from the unsatisfied request.
46 Citations
20 Claims
-
1. A method for creating an index for a database comprising:
-
(a) receiving a query to the database having indexes; (b) formulating a query index for the database wherein the query index is a function of the received query; (c) searching the indexes of the database for an index that matches the formulated query index; (d) in the event that an index of the database that matches the formulated query index is not found; and (i) saving the formulated query index; (ii) executing the query without the formulated query index; and (iii) creating the saved formulated query index; (d) in the event that an index of the database that matches the formulated query index is found, executing the query with the formulated query index. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable medium having stored thereon a data structure for an unsatisfied requests associated with a database comprising:
-
a request time indicating the time the unsatisfied request to the database was received; an index definition for defining an index of the database, said index definition as a function of the unsatisfied request. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer-readable medium having computer-executable components comprising:
-
(a) a data structure for an unsatisfied request comprising; (i) a request time indicating the time the unsatisfied request to a database was received; (ii) an index definition for defining the index within the database, said index definition based on the unsatisfied request. (b) an request logging component for; and (i) receiving a request to query the database; (ii) formulating a query index for the database as a function of the received query; (iii) searching the database for an index that matches the formulated query index; and (iv) in the event that the formulated query does not match an index of the database, creating an unsatisfied request, wherein the request time is equal to the time the query request was received and the index definition is equal to the formulated query index; (c) an index creation component for creating an index of the database as a function of the index definition for each created unsatisfied request. - View Dependent Claims (17, 18, 19, 20)
-
Specification