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 条
  • [31] Querying Relational Databases with Speech-Recognition Driven by Contextual Knowledge
    Seipel, Dietmar
    Förster, Benjamin
    Liebl, Magnus
    Waleska, Marcel
    Abreu, Salvador
    OpenAccess Series in Informatics, 2023, 113
  • [32] VISIONARY: A viewpoint-based visual language for querying relational databases
    Benzi, F
    Maio, D
    Rizzi, S
    JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 1999, 10 (02): : 117 - 145
  • [33] An integrated framework for enhancing the semantic transformation, editing and querying of relational databases
    Vavliakis, Konstantinos N.
    Symeonidis, Andreas L.
    Karagiannis, Georgios T.
    Mitkas, Pericles A.
    EXPERT SYSTEMS WITH APPLICATIONS, 2011, 38 (04) : 3844 - 3856
  • [34] Querying multiple databases dynamically on the world wide web
    Cardiff, J
    Catarci, T
    Passeri, M
    Santucci, G
    PROCEEDINGS OF THE FIRST INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS ENGINEERING, VOL I, 2000, : 238 - 245
  • [35] RuQAR: Querying OWL 2 RL Ontologies with Rule Engines and Relational Databases
    Bak, Jaroslaw
    Blinkiewicz, Michal
    COMPUTATIONAL COLLECTIVE INTELLIGENCE, ICCCI 2017, PT I, 2017, 10448 : 93 - 102
  • [36] Building Graphical Models from Relational Databases for Context-Aware Querying
    Zheng, Jiping
    Sun, Jin
    2009 WASE INTERNATIONAL CONFERENCE ON INFORMATION ENGINEERING, ICIE 2009, VOL I, 2009, : 626 - +
  • [37] VIREX and VRXQuery: interactive approach for visual querying of relational databases to produce XML
    Anthony Lo
    Tansel Özyer
    Keivan Kianmehr
    Reda Alhajj
    Journal of Intelligent Information Systems, 2010, 35 : 21 - 49
  • [38] VIREX and VRXQuery: interactive approach for visual querying of relational databases to produce XML
    Lo, Anthony
    Ozyer, Tansel
    Kianmehr, Keivan
    Alhajj, Reda
    JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2010, 35 (01) : 21 - 49
  • [39] MODELING AND QUERYING UNCERTAIN RELATIONAL DATABASES: A SURVEY OF APPROACHES BASED ON THE POSSIBLE WORLDS SEMANTICS
    Bosc, Patrick
    Pivert, Olivier
    INTERNATIONAL JOURNAL OF UNCERTAINTY FUZZINESS AND KNOWLEDGE-BASED SYSTEMS, 2010, 18 (05) : 565 - 603
  • [40] Multiple Watermarking Relational Databases Using Image
    Sun, Jianhua
    Cao, Zaihui
    Hu, Zhongyan
    2008 INTERNATIONAL CONFERENCE ON MULTIMEDIA AND INFORMATION TECHNOLOGY, PROCEEDINGS, 2008, : 373 - 376