Invention Grant
- Patent Title: Method for constructing a histogram
- Patent Title (中): 构造直方图的方法
-
Application No.: US12912688Application Date: 2010-10-26
-
Publication No.: US08458547B2Publication Date: 2013-06-04
- Inventor: Krishnamurthy Viswanathan , Ram Swaminathan
- Applicant: Krishnamurthy Viswanathan , Ram Swaminathan
- Applicant Address: US TX Houston
- Assignee: Hewlett-Packard Development Company, L.P.
- Current Assignee: Hewlett-Packard Development Company, L.P.
- Current Assignee Address: US TX Houston
- Main IPC: G06F11/00
- IPC: G06F11/00

Abstract:
A method for constructing a histogram can include sampling attributes in a column of a database on a server and determining a bucket set for the histogram based on a number of buckets that represents a distribution of the attributes with minimum error. A bucket in the bucket set includes boundaries and an approximation of a count of attributes falling within the boundaries. The method further includes determining a precision for encoding the approximation, such that the histogram having the bucket set fits within a storage limit on a tangible computer-readable medium. The histogram can then be stored for the database on a tangible computer-readable medium by encoding the approximation with the precision.
Public/Granted literature
- US20120102377A1 METHOD FOR CONSTRUCTING A HISTOGRAM Public/Granted day:2012-04-26
Information query