1996 · 64 citations · 23 references
ComputingComputer ScienceComputer SystemsDatabasesParallel ComputingStatisticsData ParallelismDatabase ManagementLoad BalancingParallel DatabasesQuery ProcessingEfficient EstimationHistogramsJoin AlgorithmsParallel Join AlgorithmsParallel Query ProcessingResult DistributionSelectivity Estimation
Many commercial database systems use some form of statistics, typically histograms, to summarize the contents of relations and permit efficient estimation of required quantities. While there has been considerable work done on identifying good histograms for the estimation of query-result sizes, little attention has been paid to the estimation of the data distribution of the result, which is of importance in query optimization. In this paper, we prove that the optimal histogram for estimating the size of the result of a join operator is optimal for estimating its data distribution as well. We also study the effectiveness of these optimal histograms in the context of an important application that requires estimates for the data distribution of a query result: load-balancing for parallel Hybrid hash joins. We derive a cost formula to capture the effect of data skew in both the input and output relations on the load and use the optimal histograms to estimate this cost most accurately. We h...
23
Random sampling with a reservoir
Jeffrey Scott Vitter · ACM Transactions on Mathematical Software · 1985 · 1.8K citations · Full text
Improved histograms for selectivity estimation of range predicates
Viswanath Poosala, Peter J. Haas, Yannis Ioannidis et al. · 1996 · 559 citations
Michael Stonebraker · High Performance Transaction Systems Workshop · 1985 · 449 citations
GAMMA—a high performance dataflow database machine
David J. DeWitt, Goetz Graefe, Krishna B. Kumar et al. · Minds at UW (University of Wisconsin) · 1986 · 367 citations · Full text