跳到主要导航 跳到搜索 跳到主要内容

Optimizing window aggregate functions via random sampling

  • Guangxuan Song
  • , Wenwen Qu
  • , Yilin Wang
  • , Xiaoling Wang*
  • *此作品的通讯作者
  • East China Normal University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Window functions have been a part of the SQL standard since 2003 and have been well studied during the past decade. As the demand increases in analytics tools, window functions have seen an increasing amount of potential applications. Although the current mainstream commercial databases support window functions, the existing implementation strategies are inefficient for the real-time processing of big data. Recently, some algorithms based on sampling (e.g., online aggregation) have been proposed to deal with large and complex data in relational databases, which offer us a flexible tradeoff between accuracy and efficiency. However, sampling techniques have not been considered for window functions in databases. In this paper, we first propose two algorithms to deal with window functions based on two sampling techniques, Naive Random Sampling and Incremental Random Sampling. The proposed algorithms are highly efficient and are general enough to aggregate other existing algorithms of window functions. In particular, we evaluated our algorithms in the latest version of PostgreSQL, which demonstrated superior performance over the TPC-H benchmark.

源语言英语
主期刊名Web and Big Data - 1st International Joint Conference, APWeb-WAIM 2017, Proceedings
编辑Christian S. Jensen, Xiang Lian, Lei Chen, Cyrus Shahabi, Xiaochun Yang
出版商Springer Verlag
229-244
页数16
ISBN(印刷版)9783319635637
DOI
出版状态已出版 - 2017
活动1st Asia-Pacific Web and Web-Age Information Management Joint Conference on Web and Big Data, APWeb-WAIM 2017 - Beijing, 中国
期限: 7 7月 20179 7月 2017

出版系列

姓名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
10367 LNCS
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议1st Asia-Pacific Web and Web-Age Information Management Joint Conference on Web and Big Data, APWeb-WAIM 2017
国家/地区中国
Beijing
时期7/07/179/07/17

学术指纹

探究 'Optimizing window aggregate functions via random sampling' 的科研主题。它们共同构成独一无二的学术指纹。

引用此