Optimized query interface for database management systems
First Claim
1. A method for optimizing the access of information stored in a database file, the method comprising:
- (a) entering a query condition; and
(b) accessing information satisfying said query condition by any one of;
(1) if a pre-existing index satisfies the query condition, accessing the information by using the preexisting index;
(2) if an index defining a range of records exists, accessing the information by using the index defining a range of records and the condition;
(3) if at least one pre-existing index is available and if the query condition specifies a range of information, accessing the information by using a second index based on said pre-existing index and said range;
(4) if the database file is below a pre-selected size, accessing the information by filtering records not meeting the condition as they are accessed;
(5) if an index satisfying the query condition can be created, accessing the information by creating and referencing the index;
(6) if the query condition specifies a range of information and if an index defining the range can be created, accessing the information by creating and referencing the index defining the range; and
(7) if (1)-(6) are not possible, accessing the information by filtering records not meeting the condition as they are accessed.
7 Assignments
0 Petitions
Accused Products
Abstract
A database management system of the present invention includes a computer having a memory and a processor, a database for storing information in the memory as field values in a record, an indexing component for referencing a plurality of records by a value of the field(s), an input device for selecting desired records by entering a range of values corresponding to the field(s) (indexed on), and a component for accessing the desired records as an order set, where only records having a value within said range are included within the set. System and methods are also described for optimizing the access of information from the database management system.
96 Citations
6 Claims
-
1. A method for optimizing the access of information stored in a database file, the method comprising:
-
(a) entering a query condition; and (b) accessing information satisfying said query condition by any one of; (1) if a pre-existing index satisfies the query condition, accessing the information by using the preexisting index; (2) if an index defining a range of records exists, accessing the information by using the index defining a range of records and the condition; (3) if at least one pre-existing index is available and if the query condition specifies a range of information, accessing the information by using a second index based on said pre-existing index and said range; (4) if the database file is below a pre-selected size, accessing the information by filtering records not meeting the condition as they are accessed; (5) if an index satisfying the query condition can be created, accessing the information by creating and referencing the index; (6) if the query condition specifies a range of information and if an index defining the range can be created, accessing the information by creating and referencing the index defining the range; and (7) if (1)-(6) are not possible, accessing the information by filtering records not meeting the condition as they are accessed. - View Dependent Claims (2, 3)
-
-
4. A method for optimizing the access of information stored in a database file, the method comprising:
-
(a) entering a query condition; and (b) accessing the specified information by any one of; (1) referencing an index if one satisfying the query condition exists or can be created; (2) referencing an index if one defining a range of records exists or can be created; and (3) filtering records not meeting the condition as they are accessed if (1) and (2) are not possible, or if the database file is below a pre-selected size. - View Dependent Claims (5, 6)
-
Specification