2010 · 78 citations · 21 references
ComputingComputer ScienceComputer SystemsData MiningDatabasesDistributed SystemsData AggregationData IntegrationDistributed Data ProcessingQuery OptimizationQuery ProcessingStructured Query LanguageAggregate Query ProcessingAggregationAggregation QueriesData Flow PatternsOnline AggregationPartitioningQuery-aware PartitioningStreaming Aggregation
In this paper, we propose an online aggregation system called COSMOS (Continuous Sampling for Multiple queries in an Online aggregation System), to process multiple aggregate queries efficiently. In COSMOS, a dataset is first scrambled so that sequentially scanning the dataset gives rise to a stream of random samples for all queries. Moreover, COS-MOS organizes queries into a dissemination graph to exploit the dependencies across queries. In this way, aggregates of queries closer to the root (source of data flow) can potentially be used to compute the aggregates of descendent/dependent queries. COSMOS applies some statistical approach to combine answers from ancestor nodes to generate the online aggregates for a node. COSMOS also offers a partitioning strategy to further salvage intermediate answers. We have implemented COSMOS and conducted an extensive experimental study in PostgreSQL. Our results on the TPC-H benchmark show the efficiency and effectiveness of COSMOS.
21
Joseph M. Hellerstein, Peter J. Haas, Helen J. Wang · 1997 · 928 citations · Full text
Adam Jacobs · Communications of the ACM · 2009 · 646 citations · Full text
Efficient and extensible algorithms for multi query optimization
Prasan Roy, S. Seshadri, S. Sudarshan et al. · ACM SIGMOD Record · 2000 · 409 citations
Ripple joins for online aggregation
Peter J. Haas, Joseph M. Hellerstein · ACM SIGMOD Record · 1999 · 367 citations
Handbook of the Normal Distribution
Leo A. Aroian · Technometrics · 1983 · 261 citations