Distinct value estimation for query planning
AssigneeCloudera, Inc.
InventorsAlexander Behm, Mostafa Mokhtar
Life of this patent
Estimating the term…
Loading patent…
AssigneeCloudera, Inc.
InventorsAlexander Behm, Mostafa Mokhtar
Estimating the term…
The problem of distinct value estimation has many applications, but is particularly important in the field of database technology where such information is utilized by query planners to generate and optimize query plans. Introduced is a novel technique for estimating the number of distinct values in a given dataset without scanning all of the values in the dataset. In an example embodiment, the introduced technique includes gathering multiple intermediate probabilistic estimates based on varying samples of the dataset, 2) plotting the multiple intermediate probabilistic estimates against indications of sample size, 3) fitting a function to the plotted data points, and 4) determining an overall distinct value estimate by extrapolating the objective function to an estimated or known total number of values in the dataset.
A method for generating query plans based on statistical information regarding data stored in a distributed computing cluster, the method comprising:
A system for generating query plans based on statistical information regarding data stored in a distributed computing cluster, the system comprising:
A system for performing queries on data stored in a distributed computing cluster, comprising:
Dependencies are inferred from the claim text.