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 条
  • [31] On efficient processing of BPMN-Q queries
    Awad, Ahmed
    Sakr, Sherif
    COMPUTERS IN INDUSTRY, 2012, 63 (09) : 867 - 881
  • [32] Efficient Processing of Skyline Queries Using MapReduce
    Park, Yoonjae
    Min, Jun-Ki
    Shim, Kyuseok
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2017, 29 (05) : 1031 - 1044
  • [33] Efficient processing of aggregation queries in sensor networks
    Dongjoon Hyun
    No Joon Park
    Jin Hyun Son
    Myoung Ho Kim
    Distributed and Parallel Databases, 2006, 20 : 171 - 197
  • [34] Efficient Processing of Location-Cloaked Queries
    Galdames, Patricio
    Cai, Ying
    2012 PROCEEDINGS IEEE INFOCOM, 2012, : 2480 - 2488
  • [35] Efficient Processing of Spatial Group Keyword Queries
    Cao, Xin
    Cong, Gao
    Guo, Tao
    Jensen, Christian S.
    Ooi, Beng Chin
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2015, 40 (02):
  • [36] Efficient Relational Techniques for Processing Graph Queries
    Sherif Sakr
    Ghazi Al-Naymat
    Journal of Computer Science & Technology, 2010, 25 (06) : 1237 - 1255
  • [37] Efficient Processing of XML Tree Pattern Queries
    Chen, Yangjun
    Che, Dunren
    JOURNAL OF ADVANCED COMPUTATIONAL INTELLIGENCE AND INTELLIGENT INFORMATICS, 2006, 10 (05) : 738 - 743
  • [38] Efficient Processing of Streams of Frequent Itemset Queries
    Rokosik, Monika
    Wojciechowski, Marek
    NEW TRENDS IN DATABASE AND INFORMATION SYSTEMS II, 2015, 312 : 15 - 26
  • [39] An Efficient Approach of Processing Multiple Continuous Queries
    Liu, Wen
    Shen, Yan-Ming
    Wang, Peng
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2016, 31 (06) : 1212 - 1227
  • [40] Efficient processing of ranked queries with sweeping selection
    Jin, W
    Ester, M
    Han, JW
    KNOWLEDGE DISCOVERY IN DATABASES: PKDD 2005, 2005, 3721 : 527 - 535