首页    期刊浏览 2025年12月25日 星期四
登录注册

文章基本信息

  • 标题:R-SQL: An SQL Database System with Extended Recursion
  • 本地全文:下载
  • 作者:Fernando Sáenz-Pérez ; Susana Nieva ; Jaime Sanchez-Hernandez
  • 期刊名称:Electronic Communications of the EASST
  • 电子版ISSN:1863-2122
  • 出版年度:2014
  • 卷号:64
  • 语种:English
  • 出版社:European Association of Software Science and Technology (EASST)
  • 摘要:The relational database language SQL:1999 standard supports recursion, but this approach is limited to the linear case. Moreover, mutual recursion is not supported, and negation cannot be combined with recursion. We designed the language R-SQL to overcome these limitations, improving termination properties in recursive definitions. In addition we developed a proof of concept implementation of an R-SQL system. In this paper we describe in detail an improved system enhancing performance. It can be integrated into existing RDBMS's, extending them with the aforementioned benefits of R-SQL. The system processes an R-SQL database definition obtaining its extension in tables of an RDBMS (such as PostgreSQL and DB2). It is implemented in SWI-Prolog and it produces a Python script that, upon execution, computes the result of the R-SQL relations. We provide some performance results showing the efficiency gains w.r.t. the previous version. We also include a comparative analysis including some representative relational a deductive systems.
国家哲学社会科学文献中心版权所有