期刊文献+

海量数据上的近似连接聚集操作 被引量:3

Approximate Join Aggregate on Massive Data
下载PDF
导出
摘要 连接聚集操作是一种常用并且非常耗时的数据库操作.相对于准确查询,满足用户给定置信区间的近似结果由于其快得多的响应时间,更受用户的欢迎.作者分析发现现有的工作无法以既高效又满足给定的任意置信区间方式来处理近似连接聚集,因此提出了一种新的算法——(p,ε)-近似连接聚集查询(pε-AJA)来有效地返回满足任意置信区间的近似连接聚集结果.文章提出且预计算两个数据结构:连接随机样本(JRS)和连接位置索引对表(JPIPT).利用JRS,pε-AJA向用户返回近似结果的快速响应.如果利用JRS得到的近似结果没有满足给定的置信区间,pε-AJA利用JPIPT获得更多的随机连接元组.文中提出一种采样算法来获得JPIPT给定数量的样本,并且利用获得的JPIPT样本,该文提出的算法可通过对连接表的一遍顺序扫描获得连接元组.该文还提供了JPIPT和JRS有效的构建和维护算法.实验结果表明:pε-AJA可以获得相对于准确查询1~5个数量级的加速,并且可以有效地完成JPIPT和JRS的构建和维护操作. Join aggregate is a commonly used but time-consuming operation in database. Compa- ring to exact queries, approximate results satisfying user-specified confidence intervals are more attractive for their much faster responses. None of the previous work can process approximate join aggregate with both high efficiency and an arbitrarily specified confidence interval. This pa- per proposes a novel algorithm, (p,e) Approximate Join Aggregate (pe-AJA), which is able to return approximate results for arbitrary confidence interval efficiently. Two data structures, join random sample (JRS) and join positional index pair table (JPIPT), are presented and pre-compu- ted in ρε-AJA, ρε-AJA first makes use of JRS to make a quick response of approximate results to users. If the approximate results from JRS do not satisfy the given confidence interval, JPIPT is exploited to obtain more random join tuples. A sampling algorithm is provided to sample JPIPT tuples of specified size. Algorithms are also presented to retrieve join tuples by sampled JPIPT tuples in one pass sequential scan. The construction and maintenance of JPIPT and JRS are pro- vided in this paper. The experimental results show that ρε-AJA obtains approximate results for arbitrary confidence intervals with a speedup by 1 to 5 orders of magnitude compared to exact queries and the update operations for JPIPT and JRS are efficient.
出处 《计算机学报》 EI CSCD 北大核心 2010年第10期1919-1933,共15页 Chinese Journal of Computers
基金 国家"九七三"重点基础研究发展规划项目基金(2006CB303005) 国家自然科学基金(60903016 60533110 60773063) 新世纪优秀人才支持计划(NCET-05-0333) 黑龙江省教育厅科学技术研究项目(11531276) NSFC-RGC of China(60831160525)资助~~
关键词 pε-近似连接聚集 连接位置索引对表 连接随机样本 海量数据 ρε-AJA join positional index pair table join random sample massive data
  • 相关文献

参考文献20

  • 1Acharya Swarup, Gibbons Phillip, Poosala Viswanath, Ra maswamy Sridhar. Join synopses for approximate query an swering//Proceedings of the 1999 ACM SIGMOD Interna tional Conference on Management of Data (SIGMOD' 99) Philadelphia, Pennsylvania, USA, ACM, 1999. 275-286.
  • 2Hass Peter, Hellerstein Joseph. Ripple joins for online ag gregation//Proceedings of the 1999 ACM SIGMOD Interna tional Conference on Management of Data (SIGMOD' 99) Philadelphia, Pennsylvania, USA, ACM, 1999: 287-298.
  • 3Luo Gang, Ellmann Curt, Haas Peter, Naughton Jeffrey. A sealable hash ripple join algorithm//Proceedings of the 2002 ACM SIGMOD International Conference on Management of Data (SIGMOD'02). Madison, Wisconsin, USA, 2002. 252-262.
  • 4Jermaine Christopher, Dobra Alin, Arumugam Subramanian, Joshi Shantanu, Pol Abhijit. A disk-based join with probabilistic guarantees//Proceedings of the 2005 ACM SIGMOD International Conference on Management of Data (SIGMOD'05). Baltimore, Maryland, USA, 2005. 563- 574.
  • 5Stonebraker Mike, Abadi Daniel, Batkin Adam et al. C-Store A column oriented DBMS//Proceedings of the 31st Interna tional Conference on Very Large Data Bases (VLDB' 05) Trondheim, Norway, 2005:553-564.
  • 6Hellerstein Joseph, Hass Peter, Wang Helen. Online aggregation//Proceedings of the 1997 ACM SIGMOD International Conference on Management of Data (SIGMOD' 97). Tucson, Arizona, USA, ACM, 1997: 171-182.
  • 7Cheng Siyao, Li Jianzhong, Ren Qianqian, Yu Lei. Bernoulli sampling based (epsilon, delta)-approximate aggregation in large-scale sensor networks//Proceedings of the 29th IEEE International Conference on Computer Communications (INFOCOM'10). San Diego, CA, USA, IEEE, 2010. 1181- 1189.
  • 8Wu Sai, Jiang Shouxu, Ooi Beng Chin, Tan Kian-Lee. Distributed online aggregation//Proceedings of the 35th Interna tional Conference on Very Large Data Bases (VLDB' 09). Lyon, France, VLDB Endowment, 2009. 443-454.
  • 9Hass Peter. Large-sample and deterministic confidence intervals for online aggregation//Proceedings of the 9th International Conference on Scientific and Statistical Database Management (SSDBM'97). Olympia, Washington, USA: IEEE Computer Society, 1997:51-63.
  • 10Spiegel Joshua, Polyzotis Neoklis. Tug synopses for approximate query answering. ACM Transactions on Database Systems, 2009, 34(1): 3.

同被引文献57

  • 1Big data: Science in the petabyte era. 2014. http://www.nature.com/nature/joumal/v455/n7209/edsumm/eO80904-Ol.html.
  • 2Directorate for Computer & Information Science & Engineering. 2014. http://www.nsf.gov/funding/pgmsumm.jsp?pims_id= 503324&org=IIS2014,2,18.
  • 3Ghemawat S, Gobioff H, Leung ST. The Google file system. In: Scott ML, Peterson LL, eds. Proc. of the 19th ACM Symp. on Operating Systems Principles. BoltonLanding: ACM Press, 2003.29-43. [doi: 10.1145/945445.945450].
  • 4HadoopTM distributed file system. 2014. http://hadoop.apache.org/docs/stablel/hdfs_design.html.
  • 5Dean J, Ghemawat S. Mapreduce: Simplified data processing on large clusters, Communication of the ACM, 2008,51 (I): 107-I 13. [doi: 10.1145/1327452.1327492].
  • 6Blanas S, Patel JM, Ercegovac V, Rao J, Shekita EJ, Tian YY. A comparison of join algorithms for log processing in MapReduce. In: Elmagarmid AK, Agrawal D, eds. Proc. of the ACM SIGMOD Int'l Conf. on Management of Data. Indianapolis: ACM Press, 2010.975-986. [doi: 10.1145/1807167.1807273].
  • 7Luo G. Efficient join in Hadoop. Technical Report, NC 27705, Durham: Duke University.
  • 8Hadoop MapReduce. 2014. http://hadoop.apache.org/docs/stablel/mapred_tutorial.html.
  • 9Yang H, Dasdan A, Hsiao RL, Parker DS. Map-Reduce-Merge: Simplified relational data processing on large clusters. In: Chan CY, Ooi BC, Zhou AY, eds. Proc. of the ACM SIGMOD Int'l Conf. on Management of Data. Beijing: ACM Press, 2007. 1029-1040. [doi: 10.1145/1247480.1247602].
  • 10Ranger C, Raghuraman R, Penmetsa A, Bradski G, Kozyrakis C. Evaluating Mapreduce for multi-core and multiproeessor systems. In: Proc. of the 13st Int'l Conf. on High-Performance Computer Architecture (HPCA-13 2007). Phoenix: IEEE Computer Society, 2007.13-24. [doi: 10.1109/HPCA.2007.346181].

引证文献3

二级引证文献107

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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