Space usage in functional query languages

被引:0
|
作者
Abiteboul, S
Hillebrand, G
机构
来源
DATABASE THEORY - ICDT '95 | 1995年 / 893卷
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We consider evaluation strategies for database queries expressed in three functional query languages: the complex value algebra, the simply typed lambda calculus, and method schemas. Each of these query languages derives its expressive power from a different primitive: the complex value algebra from the powerset operator, the simply typed lambda calculus from list iteration, and method schemes from recursion. We show that ''natural'' evaluation strategies for these primitives may lead to very inefficient space usage, but that with some simple optimizations many queries can be evaluated with little or no space overhead. In particular, me show: (1) In the complex value algebra, all expressions with set nesting depth at most 2 can be evaluated in PSPACE, and this set of expressions is sufficient to express all queries in the polynomial hierarchy; (2)In the simply typed lambda calculus with equality and constants, all query terms of order at most 5 (where ''query term'' is a syntactic condition on types) can be evaluated in PSPACE, and this set of terms expresses exactly the PSPACE queries; (3) There exists a set of second-order method schemes (with no simple syntactic characterization) that can be evaluated in PSPACE, and this set of schemas is sufficient to express all PSPACE queries.
引用
收藏
页码:439 / 454
页数:16
相关论文
共 50 条
  • [1] Database query languages and functional logic programming
    Jesús M. Almendros-Jiménez
    Antonio Becerra-Terón
    New Generation Computing, 2006, 24 : 129 - 184
  • [2] Database query languages and functional logic programming
    Almendros-Jiménez, JM
    Becerra-Terón, A
    NEW GENERATION COMPUTING, 2006, 24 (02) : 129 - 184
  • [3] Usage counting analysis for lazy functional languages
    Hamilton, GW
    INFORMATION AND COMPUTATION, 1998, 146 (02) : 100 - 137
  • [4] Empirical study on the usage of graph query languages in open source Java projects
    Seifer, Philipp
    Härtel, Johannes
    Leinberger, Martin
    Lämmel, Ralf
    Staab, Steffen
    SLE 2019 - Proceedings of the 12th ACM SIGPLAN International Conference on Software Language Engineering, co-located with SPLASH 2019, 2019, : 152 - 166
  • [5] On the complexity of nonrecursive XQuery and functional query languages on complex values
    Koch, Christoph
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2006, 31 (04): : 1215 - 1256
  • [6] Empirical Study on the Usage of Graph Query Languages in Open Source Java']Java Projects
    Seifer, Philipp
    Haertel, Johannes
    Leinberger, Martin
    Laemmel, Ralf
    Staab, Steffen
    PROCEEDINGS OF THE 12TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING (SLE '19), 2019, : 152 - 166
  • [7] A Study on the Usage of the Systemic Functional Linguistics in the Teaching of Foreign Languages
    Xu, Ying
    2017 4TH INTERNATIONAL CONFERENCE ON EDUCATION REFORM AND MANAGEMENT INNOVATION (ERMI 2017), 2017, 96 : 109 - 113
  • [8] COMPLETENESS OF QUERY LANGUAGES
    LIVCHAK, AB
    PROGRAMMING AND COMPUTER SOFTWARE, 1993, 19 (02) : 51 - 60
  • [9] APPLICATIVE QUERY LANGUAGES
    BREUER, PT
    UNIVERSITY COMPUTING, 1990, 12 (01): : 2 - 12
  • [10] SEMANTICS OF QUERY LANGUAGES
    LIVCHAK, AB
    NAUCHNO-TEKHNICHESKAYA INFORMATSIYA SERIYA 2-INFORMATSIONNYE PROTSESSY I SISTEMY, 1984, (02): : 30 - 31