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 条
  • [21] Querying fuzzy relational databases through fuzzy domain calculus
    Galindo, J
    Medina, JM
    Aranda, MC
    INTERNATIONAL JOURNAL OF INTELLIGENT SYSTEMS, 1999, 14 (04) : 375 - 411
  • [22] Modeling and querying temporal RDF knowledge graphs with relational databases
    Ma, Ruizhe
    Han, Xiao
    Yan, Li
    Khan, Nasrullah
    Ma, Zongmin
    JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2023, 61 (02) : 569 - 609
  • [23] NaLIR: An Interactive Natural Language Interface for Querying Relational Databases
    Li, Fei
    Jagadish, H., V
    SIGMOD'14: PROCEEDINGS OF THE 2014 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2014, : 709 - 712
  • [24] Preserving and querying histories of XML-published relational databases
    Wang, FS
    Zaniolo, C
    ADVANCED CONCEPTUAL MODELING TECHNIQUES, 2003, 2784 : 26 - 38
  • [25] Storing and querying XML data using denormalized relational databases
    Andrey Balmin
    Yannis Papakonstantinou
    The VLDB Journal, 2005, 14 : 30 - 49
  • [26] A middleware approach to storing and querying XML documents in relational databases
    Sevkli, Z
    Mercan, M
    Kurt, A
    ADVANCES IN INFORMATION SYSTEMS, PROCEEDINGS, 2004, 3261 : 223 - 233
  • [27] Modeling and querying temporal RDF knowledge graphs with relational databases
    Ruizhe Ma
    Xiao Han
    Li Yan
    Nasrullah Khan
    Zongmin Ma
    Journal of Intelligent Information Systems, 2023, 61 : 569 - 609
  • [28] Implementation of fuzzy classification in relational databases using conventional SQL querying
    Veryha, Y
    INFORMATION AND SOFTWARE TECHNOLOGY, 2005, 47 (05) : 357 - 364
  • [29] Symbolic Querying of Vector Spaces: Probabilistic Databases Meets Relational Embeddings
    Friedman, Tal
    Van den Broeck, Guy
    CONFERENCE ON UNCERTAINTY IN ARTIFICIAL INTELLIGENCE (UAI 2020), 2020, 124 : 1268 - 1277
  • [30] Storing and querying XML documents using a path table in relational databases
    Shin, BJ
    Jin, M
    CONCEPTUAL MODELING FOR NOVEL APPLICATION DOMAINS, PROCEEDINGS, 2003, 2814 : 285 - 296