Efficient Processing of Window Functions in Analytical SQL Queries

被引:22
|
作者
Leis, Viktor [1 ]
Kundhikanjana, Kan [1 ]
Kemper, Alfons [1 ]
Neumann, Thomas [1 ]
机构
[1] Tech Univ Munich, D-80290 Munich, Germany
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2015年 / 8卷 / 10期
关键词
D O I
10.14778/2794367.2794375
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Window functions, also known as analytic OLAP functions, have been part of the SQL standard for more than a decade and are now a widely-used feature. Window functions allow to elegantly express many useful query types including time series analysis, ranking, percentiles, moving averages, and cumulative sums. Formulating such queries in plain SQL-92 is usually both cumbersome and inefficient. Despite being supported by all major database systems, there have been few publications that describe how to implement an efficient relational window operator. This work aims at filling this gap by presenting an efficient and general algorithm for the window operator. Our algorithm is optimized for high-performance main-memory database systems and has excellent performance on modern multi-core CPUs. We show how to fully parallelize all phases of the operator in order to effectively scale for arbitrary input distributions.
引用
收藏
页码:1058 / 1069
页数:12
相关论文
共 50 条
  • [41] Efficient Relational Techniques for Processing Graph Queries
    Sakr, Sherif
    Al-Naymat, Ghazi
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2010, 25 (06) : 1237 - 1255
  • [42] Efficient processing of multiple structural join queries
    Subramanyam, GV
    Kumar, PS
    KEY TECHNOLOGIES FOR DATA MANAGEMENT, 2004, 3112 : 112 - 123
  • [43] Efficient Batch Processing of Proximity Queries with MapReduce
    Nam, GiWoong
    Kim, DongEun
    Lee, JongHyeok
    Youn, Hee Yong
    Kim, Ung-Mo
    ACM IMCOM 2015, Proceedings, 2015,
  • [44] Efficient processing of XPath queries using indexes
    Madria, Sanjay
    Chen, Yan
    Passi, Kalpdrum
    Bhowmick, Sourav
    INFORMATION SYSTEMS, 2007, 32 (01) : 131 - 159
  • [45] An Efficient Approach of Processing Multiple Continuous Queries
    Wen Liu
    Yan-Ming Shen
    Peng Wang
    Journal of Computer Science and Technology, 2016, 31 : 1212 - 1227
  • [46] Efficient Processing of Aggregate Reverse Rank Queries
    Dong, Yuyang
    Chen, Hanxiong
    Furuse, Kazutaka
    Kitagawa, Hiroyuki
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2017, PT I, 2017, 10438 : 159 - 166
  • [47] Efficient Processing of SPARQL Queries Over GraphFrames
    Bahrami, Ramazan Ali
    Gulati, Jayati
    Abulaish, Muhammad
    2017 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE (WI 2017), 2017, : 678 - 685
  • [48] Efficient Relational Techniques for Processing Graph Queries
    Sherif Sakr
    Ghazi Al-Naymat
    Journal of Computer Science and Technology, 2010, 25 : 1237 - 1255
  • [49] On the Efficient Processing of Multilevel Secure Continuous Queries
    Xie, Xing
    Ray, Indrakshi
    Adaikkalavan, Raman
    2013 ASE/IEEE INTERNATIONAL CONFERENCE ON SOCIAL COMPUTING (SOCIALCOM), 2013, : 417 - 422
  • [50] Efficient processing of multiple XML twig queries
    Liu, Huanzhang
    Ling, Tok Wang
    Yu, Tian
    Wu, Ji
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2006, 4080 : 1 - 11