The Sort-Merge-Shrink join

Christopher Jermaine,Alin Dobra,Subramanian Arumugam,Shantanu Joshi,Abhijit Pol
DOI: https://doi.org/10.1145/1189769.1189775
IF: 1.6289
2006-12-01
ACM Transactions on Database Systems
Abstract:One of the most common operations in analytic query processing is the application of an aggregate function to the result of a relational join. We describe an algorithm called the Sort-Merge-Shrink (SMS) Join for computing the answer to such a query over large, disk-based input tables. The key innovation of the SMS join is that if the input data are clustered in a statistically random fashion on disk, then at all times, the join provides an online, statistical estimator for the eventual answer to the query as well as probabilistic confidence bounds. Thus, a user can monitor the progress of the join throughout its execution and stop the join when satisfied with the estimate's accuracy or run the algorithm to completion with a total time requirement that is not much longer than that of other common join algorithms. This contrasts with other online join algorithms, which either do not offer such statistical guarantees or can only offer guarantees so long as the input data can fit into main memory.
computer science, information systems, software engineering
What problem does this paper attempt to address?