OPTIMIZING DATABASE QUERIES
First Claim
1. A database for storing metadata corresponding to ranges, the database comprising:
- a first table comprising a value from each of the ranges and an identifier for each of the ranges that corresponds to the value for each of the ranges, wherein the ranges are not overlapping and continuous by including null values for any empty ranges; and
a second table comprising the identifiers from the first table along with the metadata corresponding to each of the identifiers.
4 Assignments
0 Petitions
Accused Products
Abstract
A system and method for database management and accessing data stored in the database may be optimized based on the database structure. For example, data associated with a range (e.g. owners of IP addresses) may have query requests optimized by utilizing two tables. The first table may include all the ranges, such that the ranges are continuous and not overlapping, and an identifier for each of the ranges. The second table may include the identifiers and the data that is associated with the range corresponding with those identifiers. Query requests for a particular range may be optimized by utilizing specialized database queries for the first table and because the data associated with the range is not part of the first table. Further, the second table size is reduced because an identifier may be associated with multiple ranges.
218 Citations
20 Claims
-
1. A database for storing metadata corresponding to ranges, the database comprising:
-
a first table comprising a value from each of the ranges and an identifier for each of the ranges that corresponds to the value for each of the ranges, wherein the ranges are not overlapping and continuous by including null values for any empty ranges; and a second table comprising the identifiers from the first table along with the metadata corresponding to each of the identifiers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computerized method with a database that optimizes query requests for ranges, the method comprising:
-
generating a first table comprising a list of non-overlapping and continuous ranges and an identifier for each of the ranges, wherein the ranges are not overlapping and continuous by including zero values for any empty ranges; generating a second table comprising the identifiers from the first table along with data to be stored for each of the identifiers; and accessing, in response to one of the query requests, the stored data for a requested range by locating the requested range in the first table and using the requested range'"'"'s identifier to access the stored data corresponding to that identifier.
-
-
12. A computer system comprising:
-
a database storing data that is associated with one or more ranges, the database comprising; a first table comprising the ranges and an identifier corresponding with each of the ranges, wherein the ranges are continuous and not overlapping; and a second table comprising the identifiers and the stored data, wherein the stored data is associated with the identifier that corresponds with the range; a processor coupled with the database for handling query requests relating to stored data and modifying the tables. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification