US6052689A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Computer method, apparatus and programmed medium for more efficient database management using histograms with a bounded error selectivity estimation
Assignee: Nokia of America Corp
•
Filing: 1998-04-20
•
Granted: 2000-04-18
•
Expires: 2018-04-20
Abstract
Abstract A computer method, apparatus and programmed medium for optimizing the number of buckets, and thus minimizing the necessary amount of memory space, needed to construct a histogram of a data distribution contained within a computer database with a cumulative error bounded by a specified threshold. The method according to the present invention allows a user to determine the near-minimal memory space necessary to store an approximation of a database with a maximum error measure at most three times that specified by the user to allow the user to maximize computer resources.
Inventors
- 👤 Shanmugavelayut Muthukrishnan
- 👤 Viswanath Poosala
- 👤 Torsten Suel
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-04 12:57
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/24; G06F16/245; G06F16/2458; G06F16/2462; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99932; Y10S707/99941; Y10S707/99942
Claims Analysis
Total Claims: 36
Claim 1
Independent Claim
152 words
A computer based method for determining a number of regions, said number being a factor of a minimum number of regions, a database data distribution can be partitioned into to create an approximation of said database which is within said factor of a maximum error measure, said method comprising the steps of: storing said maximum error measure; finding an upper limit number, said upper limit number being at most said factor of a maximum number of regions said database can be partitioned into to create an approximation within at most said factor of said stored maximum error measure; determining whether said upper limit number is also said minimum number of regions said database can be partitioned into to create an approximation of said database which is within said factor of said stored maximum error measure; and using said factor of said minimum number of regions to approximate said database for searchable inquiries.
Claim 2
Dependent Claim
152 words
A computer based method for determining a number of regions, said number being a factor of a minimum number of regions, a database data distribution can be partitioned into to create an approximation of said database which is within said factor of a maximum error measure, said method comprising the steps of: storing said maximum error measure; finding an upper limit number, said upper limit number being at most said factor of a maximum number of regions said database can be partitioned into to create an approximation within at most said factor of said stored maximum error measure; determining whether said upper limit number is also said minimum number of regions said database can be partitioned into to create an approximation of said database which is within said factor of said stored maximum error measure; and using said factor of said minimum number of regions to approximate said database for searchable inquiries.
Claim 3
Dependent Claim
102 words
The method according to claim 1, wherein said determining step further comprises: setting a first number value based on said upper limit number, said set first number value being less than said upper limit number; calculating an error measure of approximation when said database is approximated by partitioning said database into b number of regions, said b being between said upper limit number and said set first number value; and determining whether said b is said minimum number of regions said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure.
Claim 4
Dependent Claim
237 words
The method according to claim 2, wherein if said b is not said minimum number of regions said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure, said method further comprises: determining whether said calculated error measure exceeds said stored maximum error measure when said database is partitioned into said b number of regions; replacing said upper limit number by said b number if said calculated error measure does exceed said stored maximum error measure; replacing said set first number value with said b number if said calculated error measure does not exceed said stored maximum error measure; and repeating said calculating an error measure of approximation when said database is approximated by partitioning said database into b number of regions, said b being between said upper limit number and said set first number value step, said determining whether said calculated error measure exceeds said stored maximum error measure when said database is partitioned into said b number of regions step, said replacing said upper limit number step and said replacing said set first number value step until a minimum value for said b number of regions is found, said minimum value b being said factor of said minimum number of regions which said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure.
Claim 5
Dependent Claim
18 words
The method according to claim 3, further comprising the step of: storing said minimum value for said b.
Claim 6
Dependent Claim
38 words
The method according to claim 4, further comprising the step of: outputting an indication of said factor of said minimum number of partitions said database can be partitioned into within said factor of said stored maximum error measure.
Claim 7
Dependent Claim
11 words
The method according to claim 5, wherein said factor is 3.
Claim 8
Dependent Claim
16 words
The method according to claim 1, wherein said maximum error measure is entered by a user.
Claim 9
Dependent Claim
22 words
The method according to claim 1, wherein said step of finding an upper limit number is performed by a binary search method.
Claim 10
Dependent Claim
22 words
The method according to claim 2, wherein said set first number value is equal to one half of said upper limit number.
Claim 11
Dependent Claim
23 words
The method according to claim 2, wherein said b is an average of said upper limit number and said set first number value.
Claim 12
Dependent Claim
31 words
The method according to claim 1, wherein said using step further comprises: constructing an approximation of said database using a histogram technique with said factor of said minimum number of regions.
Claim 13
Dependent Claim
166 words
A computer readable storage medium containing a computer readable code for operating a computer to perform a method for determining a number of regions, said number being a factor of a minimum number of regions, a database data distribution can be partitioned into to create an approximation of said database which is within said factor of a maximum error measure, said method comprising the steps of: storing said maximum error measure; finding an upper limit number, said upper limit number being at most said factor of a maximum number of regions said database can be partitioned into to create an approximation within at most said factor of said stored maximum error measure; determining whether said upper limit number is also said minimum number of regions said database can be partitioned into to create an approximation of said database which is within said factor of said stored maximum error measure; and using said factor of said minimum number of regions to approximate said database for searchable inquiries.
Claim 14
Dependent Claim
166 words
A computer readable storage medium containing a computer readable code for operating a computer to perform a method for determining a number of regions, said number being a factor of a minimum number of regions, a database data distribution can be partitioned into to create an approximation of said database which is within said factor of a maximum error measure, said method comprising the steps of: storing said maximum error measure; finding an upper limit number, said upper limit number being at most said factor of a maximum number of regions said database can be partitioned into to create an approximation within at most said factor of said stored maximum error measure; determining whether said upper limit number is also said minimum number of regions said database can be partitioned into to create an approximation of said database which is within said factor of said stored maximum error measure; and using said factor of said minimum number of regions to approximate said database for searchable inquiries.
Claim 15
Dependent Claim
105 words
The computer readable storage medium according to claim 12, wherein said determining step further comprises: setting a first number value based on said upper limit number, said set first number value being less than said upper limit number; calculating an error measure of approximation when said database is approximated by partitioning said database into b number of regions, said b being between said upper limit number and said set first number value; and determining whether said b is said minimum number of regions said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure.
Claim 16
Dependent Claim
240 words
The computer readable storage medium according to claim 13, wherein if said b is not said minimum number of regions said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure, said method further comprises: determining whether said calculated error measure exceeds said stored maximum error measure when said database is partitioned into said b number of regions; replacing said upper limit number by said b number if said calculated error measure does exceed said stored maximum error measure; replacing said set first number value with said b number if said calculated error measure does not exceed said stored maximum error measure; and repeating said calculating an error measure of approximation when said database is approximated by partitioning said database into b number of regions, said b being between said upper limit number and said set first number value step, said determining whether said calculated error measure exceeds said stored maximum error measure when said database is partitioned into said b number of regions step, said replacing said upper limit number step and said replacing said set first number value step until a minimum value for said b number of regions is found, said minimum value b being said factor of said minimum number of regions which said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure.
Claim 17
Dependent Claim
21 words
The computer readable storage medium according to claim 14, further comprising the step of: storing said minimum value for said b.
Claim 18
Dependent Claim
41 words
The computer readable storage medium according to claim 15, further comprising the step of: outputting an indication of said factor of said minimum number of partitions said database can be partitioned into within said factor of said stored maximum error measure.
Claim 19
Dependent Claim
14 words
The computer readable storage medium according to claim 16, wherein said factor is 3.
Claim 20
Dependent Claim
19 words
The computer readable storage medium according to claim 12, wherein said maximum error measure is entered by a user.
Claim 21
Dependent Claim
25 words
The computer readable storage medium according to claim 12, wherein said step of finding an upper limit number is performed by a binary search method.
Claim 22
Dependent Claim
25 words
The computer readable storage medium according to claim 13, wherein said set first number value is equal to one half of said upper limit number.
Claim 23
Dependent Claim
26 words
The computer readable storage medium according to claim 13, wherein said b is an average of said upper limit number and said set first number value.
Claim 24
Dependent Claim
34 words
The computer readable storage medium according to claim 12, wherein said using step further comprises: constructing an approximation of said database using a histogram technique with said factor of said minimum number of regions.
Claim 25
Independent Claim
162 words
A system comprising a programmed computer and a stored database, wherein said computer is programmed to determine a number of regions, said number being a factor of a minimal number of regions, a data distribution of said stored database can be partitioned into for approximating said database which is within said factor of a maximum error measure by executing the steps of: storing said maximum error measure; finding an upper limit number, said upper limit number being at most said factor of a maximum number of regions said database can be partitioned into to create an approximation within at most said factor of said stored maximum error measure; determining whether said upper limit number is also said minimum number of regions said database can be partitioned into to create an approximation of said database which is within said factor of said stored maximum error measure; and using said factor of said minimum number of regions to approximate said database for searchable inquiries.
Claim 26
Independent Claim
162 words
A system comprising a programmed computer and a stored database, wherein said computer is programmed to determine a number of regions, said number being a factor of a minimal number of regions, a data distribution of said stored database can be partitioned into for approximating said database which is within said factor of a maximum error measure by executing the steps of: storing said maximum error measure; finding an upper limit number, said upper limit number being at most said factor of a maximum number of regions said database can be partitioned into to create an approximation within at most said factor of said stored maximum error measure; determining whether said upper limit number is also said minimum number of regions said database can be partitioned into to create an approximation of said database which is within said factor of said stored maximum error measure; and using said factor of said minimum number of regions to approximate said database for searchable inquiries.
Claim 27
Dependent Claim
110 words
The system comprising a programmed computer and a stored database according to claim 23, wherein said determining step further comprises: setting a first number value based on said upper limit number, said set first number value being less than said upper limit number; calculating an error measure of approximation when said database is approximated by partitioning said database into b number of regions, said b being between said upper limit number and said set first number value; and determining whether said b is said minimum number of regions said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure.
Claim 28
Dependent Claim
245 words
The system comprising a programmed computer and a stored database according to claim 24, wherein if said b is not said minimum number of regions said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure, said method further comprises: determining whether said calculated error measure exceeds said stored maximum error measure when said database is partitioned into said b number of regions; replacing said upper limit number by said b number if said calculated error measure does exceed said stored maximum error measure; replacing said set first number value with said b number if said calculated error measure does not exceed said stored maximum error measure; and repeating said calculating an error measure of approximation when said database is approximated by partitioning said database into b number of regions, said b being between said upper limit number and said set first number value step, said determining whether said calculated error measure exceeds said stored maximum error measure when said database is partitioned into said b number of regions step, said replacing said upper limit number step and said replacing said set first number value step until a minimum value for said b number of regions is found, said minimum value b being said factor of said minimum number of regions which said database can be partitioned into to create an approximation of said database within said factor of said stored maximum error measure.
Claim 29
Dependent Claim
26 words
The system comprising a programmed computer and a stored database according to claim 25, further comprising the step of: storing said minimum value for said b.
Claim 30
Dependent Claim
46 words
The system comprising a programmed computer and a stored database according to claim 26, further comprising the step of: outputting an indication of said factor of said minimum number of partitions said database can be partitioned into within said factor of said stored maximum error measure.
Claim 31
Dependent Claim
19 words
The system comprising a programmed computer and a stored database according to claim 27, wherein said factor is 3.
Claim 32
Dependent Claim
24 words
The system comprising a programmed computer and a stored database according to claim 23, wherein said maximum error measure is entered by a user.
Claim 33
Dependent Claim
29 words
The system comprising a programmed computer and a stored database according to claim 23, wherein said step of finding an upper limit is performed by a binary search method.
Claim 34
Dependent Claim
30 words
The system comprising a programmed computer and a stored database according to claim 24, wherein said set first number value is equal to one half of said upper limit number.
Claim 35
Dependent Claim
30 words
The system comprising a programmed computer and a stored database according to claim 24, wherein said b is an average of said upper limit and said set first number value.
Claim 36
Dependent Claim
39 words
The system comprising a programmed computer and a stored database according to claim 23, wherein said using step further comprises: constructing an approximation of said database using a histogram technique with said factor of said minimum number of regions.
References Cited (Backward Citations)
US4956774A
Cited
US5630120A
Cited
US5717915A
Cited
US5689696A
Cited
US5915250A
Cited
US5950185A
Cited
US5870752A
Cited
US6003029A
Cited
US5987468A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2003-04-18 | 2003-10-18 | 2004-04-18 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2007-04-18 | 2007-10-18 | 2008-04-18 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2011-04-18 | 2011-10-18 | 2012-04-18 | $7700.00 | Window Closed / Lapsed |