Querying multiple features of groups in relational databases

被引:0
|
作者
Chatziantoniou, D
Ross, KA
机构
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Some aggregate and grouping queries are conceptually simple, but difficult to express in SQL. This difficulty causes both conceptual and implementation problems for the SQL-based database system. Complicated queries and views are hard to understand and maintain. Further, the code produced is sometimes unnecessarily inefficient, as we demonstrate experimentally using a commercial database system. In this paper, we examine a class of queries involving (potentially repeated) selection, grouping and aggregation over the same groups, and propose an extension of SQL syntax that allows the succinct representation of these queries. We propose a new relational algebra operation that represents several levels of aggregation over the same groups in an operand relation. We demonstrate that the extended relational operator can be evaluated using efficient algorithms. We describe. a translation from the extended SQL language into our algebraic language. We have implemented a preprocessor that evaluates our extended language on toe of a commercial database system. We demonstrate that on a variety of examples, our implementation improves performance over standard SQL representations of the same examples by orders of magnitude.
引用
收藏
页码:295 / 306
页数:12
相关论文
共 50 条
  • [1] Cooperative querying in relational databases
    Ramos, CV
    Braga, JL
    Laender, AHF
    XVII INTERNATIONAL CONFERENCE OF THE CHILEAN COMPUTER SCIENCE SOCIETY, PROCEEDINGS, 1997, : 190 - 198
  • [2] Querying Communities in Relational Databases
    Qin, Lu
    Yu, Jeffrey Xu
    Chang, Lijun
    Tao, Yufei
    ICDE: 2009 IEEE 25TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2009, : 724 - 735
  • [3] Querying relational databases through XSLT
    Liu, JX
    Vincent, M
    DATA & KNOWLEDGE ENGINEERING, 2004, 48 (01) : 103 - 128
  • [4] SOME ISSUES OF FUZZY QUERYING IN RELATIONAL DATABASES
    Hudec, Miroslav
    Vucetic, Miljan
    KYBERNETIKA, 2015, 51 (06) : 994 - 1022
  • [5] Querying relational databases without explicit joins
    Lawrence, R
    Barker, K
    CONCEPTUAL MODELING FOR NEW INFORMATION SYSTEMS TECHNOLOGIES, 2002, 2465 : 278 - 291
  • [6] Publishing and querying the histories of archived relational databases in XML
    Wang, FS
    Zaniolo, C
    FOURTH INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS ENGINEERING, PROCEEDINGS, 2003, : 93 - 102
  • [7] Preference-driven querying of inconsistent relational databases
    Staworko, Slawomir
    Chomicki, Jan
    Marcinkowski, Jerzy
    CURRENT TRENDS IN DATABASE TECHNOLOGY - EDBT 2006, 2006, 4254 : 318 - 335
  • [8] Efficiently querying relational databases using OWL and SWRL
    O'Connor, Martin
    Shankar, Ravi
    Tu, Samson
    Nyulas, Csongor
    Das, Amar
    Musen, Mark
    WEB REASONING AND RULE SYSTEMS, PROCEEDINGS, 2007, 4524 : 361 - +
  • [9] Bipolar SQLf: A Flexible Querying Language for Relational Databases
    Tamani, Nouredine
    Lietard, Ludovic
    Rocacher, Daniel
    FLEXIBLE QUERY ANSWERING SYSTEMS, 2011, 7022 : 472 - +
  • [10] Fuzzy querying of relational databases: From theory to practice
    Smits, Grégory
    Pivert, Olivier
    Girault, Thomas
    Revue d'Intelligence Artificielle, 2015, 29 (05) : 569 - 593