期刊文献+

动态分片在线聚集

Dynamic Data-Partitioned Online Aggregation
下载PDF
导出
摘要 传统的在线聚集方法为了避免执行中随机I/O导致的性能下降,假设数据本身近似随机分布于数据文件中,用顺序I/O来代替随机I/O.数据随机分布于数据文件的假设在很多实际的应用场景中是难以成立的,从而导致查询结果产生很大误差.提出了动态数据分片在线聚集算法DDPOA(dynamicdata-partitioned online aggregation),将整个数据集分片,对各个子数据集独立计算,线性组合子集结果进而得到全集最终结果,一方面降低了在线聚集对整体数据集随机分布的要求,提高了准确性,另一方面动态调整分片数量以改善I/O性能,缩短完成时间.真实系统负载上的实验表明:DDPOA与传统在线聚集相比,在完成时间相差不大的情况下准确性有了大幅提高. To avoid the performance degradation due to random IO,traditional online aggregation algorithms assume that the source data are already randomized in the data file,so sequential access approximately equals to random sampling over the data.But this assumption doesn't hold in many real scenes which leads to obvious error when running the algorithms.The authors propose a new method: dynamic data-partitioned online aggregation(DDPOA).DDPOA logically splits the data into non-conjunctive partitions,each of which consists of consecutive data items in the data file,computes estimates based on individual partition,and then uses specific linear combination of these values to estimate the final result.DDPOA weakens the randomization requirement over the whole dataset and makes the estimates more accurate.Accessing partitioned data could cause lower performance due to random disk IO.To handle IO performance issue,DDPOA dynamically adjusts the partitions during execution.Adjacent partitions that are similar enough will be judged and merged into one which improves the IO performance without losing the accuracy.Experiment on real dataset from network security monitor system DBroker shows that DDPOA is much better than traditional algorithms in terms of accuracy with little performance overhead.When it comes to the dataset satisfying the randomization assumption,DDPOA is as good as the traditional algorithms.
出处 《计算机研究与发展》 EI CSCD 北大核心 2010年第11期1928-1935,共8页 Journal of Computer Research and Development
基金 国家"八六三"高技术研究发展计划基金项目(2006AA01A102)~~
关键词 数据库 近似查询 在线聚集 采样 动态分片 database approximate query online aggregation sampling dynamic partition
  • 相关文献

参考文献12

  • 1Garofalakis M N, Gibbons P B, Approximate query processing: Taming the TeraBytes! A Tutorial [C] //Proc of the 27th Int Conf on Very Large Data Bases. San Francisco, CA: Morgan Kaufmann, 2001.
  • 2Hellerstein J M, Haas P J, Wang H J. Online aggregation [C] //Proc of the 16th ACM SIGMOD Conf on Management of Data. New York: ACM, 1997: 171-182.
  • 3刘莹,王启荣,孙凝晖.基于SN结构的事件流并行数据库加载均衡策略研究[J].计算机研究与发展,2009,46(1):159-166. 被引量:1
  • 4Haas P J, Hellerstein J M. Ripple joins for online aggregation [C] //Proc of the 18th ACM SIGMOD Conf on Management of Data. New York: ACM, 1999:287-298.
  • 5Dittrich J P, Seeger B, Taylor D S, et al. Progressive merge join: A generic and non-blocking sort based join algorithm [C]//Proc of the 28th lnt Conf on Very Large Data Bases. San Francisco, CA: Morgan Kaufmann, 2002:299- 310.
  • 6Luo G, Ellmann C J, Haas P J, et al. A scalable hash ripple join algorithm [C] //Proc of the 21st ACM SIGMOD Conf on Management of Data. New York: ACM, 2002:252-262.
  • 7Dittrich J P, Sccger B, Taylor D S, et al. On producing join results early[C]//Procofthe22th ACM/PODS. New York: ACM, 2003:134-142.
  • 8Jermaine C, Dobra A, Arumugam S, et al A disk based join with probabilistic guarantees[C] //Proc of the 24th ACM SIGMOD Conf on Management of Data. New York: ACM, 2005, 563-574.
  • 9Jermaine C, Arumugam S, Pol A, et al. Scalable approximate query processing with the DBO engine [C] // Proc of the 26th ACM SIGMOD Conf on Management of Data. New York: ACM, 2007:725-736.
  • 10Raman V, Raman B, Hellerstein J M. Online dynamic reordering for interactive data processing [C] //Proc of the 25th Int Conf on Very Large Data Bases. San Francisco, CA:Morgan Kaufmann, 1999: 709-720.

二级参考文献13

  • 1Carney D, Cetintemel U, Cherniack M, et al. Monitoring streams: A new class of data management applications [C] // Proc of the 28th Int Conf on Very Large Data Bases. San Francisco, CA: Morgan Kaufmann, 2002:215-226
  • 2Cranor C, Johnson T, Spataschek O, et al. Gigascope: A stream database for network applications [C] //Proc of the 22nd ACM SIGMOD Conf on Management of Data. New York: ACM, 2003:647-651
  • 3Sullivan M, Heybey A. Tribeca: A system for managing large databases of network traffic [C] //Proc of the USENIX Annual Technical Conference. Berkeley, CA: USENIX Association, 1998:2-12
  • 4Babcock B, Babu S, Datar M, et al. Models and issues in data stream systems[C] //Proc of the 21st ACM SIGMOD/ PODS. New York: ACM, 2002:1-16
  • 5DeWitt D J, Gray J. Parallel database systems: The future of database processing or a passing Fad [J]. ACM SIGMOD Record, 1990, 19(4): 104-112
  • 6Boral H, Alexander W, Clay L, et al. Prototyping Bubba, a highly parallel database system [J]. IEEE Trans on Knowledge and Data Engineering, 1990, 2( 1 ) : 4-24
  • 7Walton C B, Dale A G, Jenevein R M. A taxonomy and performance model of data skew effects in parallel joins [C]// Proc of the 7th Int Conf on Very I.arge Data Bases. San Francisco, CA: Morgan Kaufmann, 1991: 537-548
  • 8Copeland G P, Alexander W, Boughter E E, et al. Data placement in Bubba [J]. ACM SIGMOD Record, 1988, 17 (3): 99-108
  • 9Rahm E, Marek R. Analysis of dynamic load balancing strategies for parallel shared nothing database systems [C] // Proc of the 19th Int Conf on Very Large Data Bases. San Francisco, CA: MorganKaufmann, 1993:182-193
  • 10Wang J, Tsutaya Y, Segawa N, et al. Approaches to balancing data load of shared-nothing clusters and their performance comparison [C] //Proc of the 9th Int Conf on Parallel and Distributed Systems. Los Alamitos, CA: IEEE Computer Society, 2002:293-301

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部